Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

fisheye-foto on a hemisphere

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

stephan
Posts: 121
Joined: 08 Jun 2012, 09:06
Location: Hamburg
Contact:

fisheye-foto on a hemisphere

Post by stephan » 08 Jan 2014, 15:41

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
hemisphere.jpg
leftside the sphere, rightside the original square-fisheye

joschy
Posts: 142
Joined: 19 Jan 2012, 07:39
Location: Düsseldorf, Germany
Contact:

Re: fisheye-foto on a hemisphere

Post by joschy » 13 Jan 2014, 14:04

3DJo - [Ventuz] freelancer and trainer

stephan
Posts: 121
Joined: 08 Jun 2012, 09:06
Location: Hamburg
Contact:

Re: fisheye-foto on a hemisphere

Post by stephan » 15 Jan 2014, 09:51

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

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: fisheye-foto on a hemisphere

Post by Karol » 15 Jan 2014, 10:33

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

stephan
Posts: 121
Joined: 08 Jun 2012, 09:06
Location: Hamburg
Contact:

Re: fisheye-foto on a hemisphere

Post by stephan » 15 Jan 2014, 11:55

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

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: fisheye-foto on a hemisphere

Post by Karol » 15 Jan 2014, 13:15

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

stephan
Posts: 121
Joined: 08 Jun 2012, 09:06
Location: Hamburg
Contact:

Re: fisheye-foto on a hemisphere

Post by stephan » 15 Jan 2014, 13:32

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

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: fisheye-foto on a hemisphere

Post by Karol » 15 Jan 2014, 13:53

Could you post a simple demo scene (Archive VZA) so we could take a look inside your scene?

stephan
Posts: 121
Joined: 08 Jun 2012, 09:06
Location: Hamburg
Contact:

Re: fisheye-foto on a hemisphere

Post by stephan » 16 Jan 2014, 09:31

little demo shows my problem.

greets from stephan
Attachments
mapping_problem.vza
(1.04 MiB) Downloaded 289 times

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: fisheye-foto on a hemisphere

Post by Karol » 16 Jan 2014, 11:02

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

Post Reply