Page 1 of 2
					
				fisheye-foto on a hemisphere
				Posted: 08 Jan 2014, 15:41
				by stephan
				hi ventuzians,
since several days i try to map a fisheye-foto on a hemisphere, see picture below.
Surely it's not a ventuz-specific theme.
Hemisphere is in motion, so the mapping should stay fixed on the sphere.
What mapping in texture-node?
Any ideas? Google was not helpful  
 
I only expect a little hint, not a complete solution.
Thanks a lot for your answers 
 
Stephan
			
				
			
 
			-  leftside the sphere, rightside the original square-fisheye
 		
		
		
		
		
			  
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 13 Jan 2014, 14:04
				by joschy
				
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 15 Jan 2014, 09:51
				by stephan
				Thanks Joschy,
unfortunately no solution shown in this clip for my problem.
The job is to import these already existing rectangular square fisheye pictures (unchanged) in ventuz and then mapping upon the hemisphere.
Any ideas from other ventuz users?
many greet,
stephan
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 15 Jan 2014, 10:33
				by Karol
				Hi Stephan!
I think you would need to model a hemisphere with the appropriate UV-coordinates. Ventuz does not provide such a geometry primitive so you have to do it on your own.
This hemisphere needs UVs in the range [0;1] to map the whole texture!
 Cheers
Karol
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 15 Jan 2014, 11:55
				by stephan
				Hi Karol,
thanks for answering.
I created this hemisphere in 3dsmax and import it in ventuz, this works fine (see pictures).
The following mapping in ventuz is my problem because the texture is not fixed when moving the hemisphere.
stephan
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 15 Jan 2014, 13:15
				by Karol
				Ah ok!
You mean when you rotate the hemisphere the texture does not rotate with the object?
This behaviour is affected by the parameters of the Mapping 2D node. But with default setting this should work correctly.
Karol
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 15 Jan 2014, 13:32
				by stephan
				Exactly Karol,
but I tried all possible mapping constellations with no success, so I quit my attempts and asked the forum.
Thanks for your efforts!
stephan
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 15 Jan 2014, 13:53
				by Karol
				Could you post a simple demo scene (Archive VZA) so we could take a look inside your scene?
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 16 Jan 2014, 09:31
				by stephan
				little demo shows my problem.
greets from stephan
			 
			
					
				Re: fisheye-foto on a hemisphere
				Posted: 16 Jan 2014, 11:02
				by Karol
				Hi Stephan,
your hemisphere does not have the correct UV coordinates!
First of all the pole of your hemisphere must have the UV coordinate [0.5;0.5].
And the UVs on the 'equator' must be such that none of the black fisheye-image region is mapped to the model.
I don't know if the 3D content creation tools can calculate such UVs. Probably you need special software.
Btw. a very interesting web-page for such stuff: 
http://paulbourke.net/dome/
A different approach would be to program a special shader but that's not that easy neither.
Karol