POV-Ray : Newsgroups : povray.binaries.images : Le Forgeron: experiments Server Time
6 Oct 2024 13:15:17 EDT (-0400)
  Le Forgeron: experiments (Message 42 to 51 of 71)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Le Forgeron
Subject: Re: Le Forgeron: experiments
Date: 3 Apr 2016 16:41:17
Message: <57017fed@news.povray.org>
Le 03/04/2016 21:40, LanuHum a écrit :
> "LanuHum" <Lan### [at] yandexru> wrote:
>> The hgpovray connection with the Blender continues.

> 
> Le Forgeron example:
> camera
> { stereo distance (26)
> parallaxe atan2(13,300)
> location -300*z
> right image_width/image_height*x
> direction z
> up y
> angle 15
> }
> 
> My exporter:
> camera {
>     stereo distance (???) //It is calculated the exporter or is declared by the
> user?

It's the distance between the eyes.
It's about 13 cm usually, for adult human at least.
I do not know if you have a scale setting for your scene. (something like: 1 pov unit
= x.xxx meter )

>     parallaxe atan2(???,???) //It is calculated the exporter or is declared by
> the user?

If you have a "focus" point, it might help.
Focus point is on the line from 'location', along 'direction'.

Here attached is an illustration of distance and parallaxe.

Value of parallaxe is in radian.

It's the angle away from the direction vector for each pseudo-center for the image of
each eye.


Post a reply to this message


Attachments:
Download 'stereo.png' (59 KB)

Preview of image 'stereo.png'
stereo.png


 

From: clipka
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 06:30:34
Message: <5702424a$1@news.povray.org>
Am 03.04.2016 um 22:41 schrieb Le_Forgeron:
>>     stereo distance (???) //It is calculated the exporter or is declared by the
>> user?
> 
> It's the distance between the eyes.
> It's about 13 cm usually, for adult human at least.

@LanuHum: Don't listen to him -- the French are known to be freaks.
Normal people have about half that inter-pupillary distance ;)


Post a reply to this message

From: Le Forgeron
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 07:41:05
Message: <570252d1$1@news.povray.org>
Le 04/04/2016 12:30, clipka a écrit :
> Am 03.04.2016 um 22:41 schrieb Le_Forgeron:
>>>     stereo distance (???) //It is calculated the exporter or is declared by the
>>> user?
>>
>> It's the distance between the eyes.
>> It's about 13 cm usually, for adult human at least.
> 
> @LanuHum: Don't listen to him -- the French are known to be freaks.
> Normal people have about half that inter-pupillary distance ;)
> 
You are probably correct... I do not know where I picked that 13 cm.


Post a reply to this message

From: Stephen
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 07:56:29
Message: <5702566d$1@news.povray.org>
On 4/4/2016 12:41 PM, Le_Forgeron wrote:
> Le 04/04/2016 12:30, clipka a écrit :
>> Am 03.04.2016 um 22:41 schrieb Le_Forgeron:
>>>>      stereo distance (???) //It is calculated the exporter or is declared by the
>>>> user?
>>>
>>> It's the distance between the eyes.
>>> It's about 13 cm usually, for adult human at least.
>>
>> @LanuHum: Don't listen to him -- the French are known to be freaks.
>> Normal people have about half that inter-pupillary distance ;)
>>
> You are probably correct... I do not know where I picked that 13 cm.
>

It is the metric system. It can be confusing. ;-)

-- 

Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 08:05:35
Message: <5702588f$1@news.povray.org>
On 4-4-2016 13:56, Stephen wrote:
> On 4/4/2016 12:41 PM, Le_Forgeron wrote:
>> Le 04/04/2016 12:30, clipka a écrit :
>>> Am 03.04.2016 um 22:41 schrieb Le_Forgeron:
>>>>>      stereo distance (???) //It is calculated the exporter or is
>>>>> declared by the
>>>>> user?
>>>>
>>>> It's the distance between the eyes.
>>>> It's about 13 cm usually, for adult human at least.
>>>
>>> @LanuHum: Don't listen to him -- the French are known to be freaks.
>>> Normal people have about half that inter-pupillary distance ;)
>>>
>> You are probably correct... I do not know where I picked that 13 cm.
>>
>
> It is the metric system. It can be confusing. ;-)
>

[making a facepalm]
Yes, especially when you know that that distance is exactly 1 palm. :-)

-- 
Thomas


Post a reply to this message

From: Stephen
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 08:26:55
Message: <57025d8f$1@news.povray.org>
On 4/4/2016 1:05 PM, Thomas de Groot wrote:
>>
>> It is the metric system. It can be confusing. ;-)
>>
>
> [making a facepalm]
> Yes, especially when you know that that distance is exactly 1 palm. :-)

It may seem counter-intuitive but because the imperial system is not 
regular. More thought was needed and results were passed through a 
mental double check. Today youngsters can't count.

-- 

Regards
     Stephen


Post a reply to this message

From: LanuHum
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 12:55:01
Message: <web.57029b4e1d798e7f7a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

>
> It's the distance between the eyes.
> It's about 13 cm usually, for adult human at least.
> I do not know if you have a scale setting for your scene. (something like: 1 pov
unit = x.xxx meter )
>
> >     parallaxe atan2(???,???) //It is calculated the exporter or is declared by
> > the user?
>
> If you have a "focus" point, it might help.
> Focus point is on the line from 'location', along 'direction'.
>
> Here attached is an illustration of distance and parallaxe.
>
> Value of parallaxe is in radian.
>
> It's the angle away from the direction vector for each pseudo-center for the image
of each eye.

I understood that manual input is necessary.
omni_directional_stereo and fisheye_stereographic these parameters require???
Thanks.


Post a reply to this message

From: LanuHum
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 12:55:01
Message: <web.57029b871d798e7f7a3e03fe0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> @LanuHum: Don't listen to him -- the French are known to be freaks.
> Normal people have about half that inter-pupillary distance ;)

Thank you!


Post a reply to this message

From: Le Forgeron
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 13:43:10
Message: <5702a7ae$1@news.povray.org>
Le 04/04/2016 18:50, LanuHum a écrit :
> Le_Forgeron <jgr### [at] freefr> wrote:
> 
>>
>> It's the distance between the eyes.
>> It's about 13 cm usually, for adult human at least.
>> I do not know if you have a scale setting for your scene. (something like: 1 pov
unit = x.xxx meter )
>>
>>>     parallaxe atan2(???,???) //It is calculated the exporter or is declared by
>>> the user?
>>
>> If you have a "focus" point, it might help.
>> Focus point is on the line from 'location', along 'direction'.
>>
>> Here attached is an illustration of distance and parallaxe.
>>
>> Value of parallaxe is in radian.
>>
>> It's the angle away from the direction vector for each pseudo-center for the image
of each eye.
> 
> I understood that manual input is necessary.
> omni_directional_stereo and fisheye_stereographic these parameters require???
> Thanks.


omni_directional_stereo needs only "distance" (same meaning as for "camera stereo").

fisheye_stereographic is single point of view (blame the historical naming): no stereo
vision there.
(and no "distance" and no "parallaxe"). It's a fisheye, with a specific curve for
mapping.


Post a reply to this message

From: LanuHum
Subject: Re: Le Forgeron: experiments
Date: 4 Apr 2016 15:20:01
Message: <web.5702bd781d798e7f7a3e03fe0@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:
>
> If you have a "focus" point, it might help.

In Blender the camera has only the focal length parameter.
Not up, not right, not look_at
Transformations of the camera are defined by object.matrix_world.
Transformations of the all scene objects are defined by object.matrix_world.
Povray camera angle should be calculated on a formula.
There are additional parameters: to see from distance and to distance.
Therefore, the camera of the Blender can look through a wall.
But, for Povray it isn't applicable.


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.