General questions about Indigo, the scene format, rendering etc...
-
u3dreal
- Posts: 346
- Joined: Sun Jul 02, 2006 10:36 am
Post
by u3dreal » Wed Sep 13, 2006 1:54 am
lens-sensor distance....
Hmm i remeber there was a thread about this ...in the old forum..
I'm cleaning up my exporter an i want to fix focal length ...
Anyone has an idea where to find it ??
cheers
u3dreal

-
rgigante
- Posts: 326
- Joined: Wed Jun 28, 2006 6:46 am
- Location: Italy
Post
by rgigante » Wed Sep 13, 2006 2:39 am
Hi u3dreal...
imho should be SensorWidth/LensSensorDist = tan(ApertureAngle/2)
where ApertureAngle stands for HorizontalApertureAngle
Hope it helps.
PS...in your exporter normals are computed per vertex on embedded meshes? Thx, Riccardo.
-
ryjo
- Posts: 68
- Joined: Tue Jul 04, 2006 6:16 am
- Location: Pluton
Post
by ryjo » Wed Sep 13, 2006 2:44 am
Hi,
For a thin lens you can apply the
thin lens formula:
1/s + 1/d = 1/f
where
s = focus distance
d = sensor lens dist
f = focal length
solving for d:
d = f * s /(f + s) ,
which is approx
d = f
if s >> f.
hth,
ryjo
Last edited by
ryjo on Wed Sep 13, 2006 6:39 am, edited 1 time in total.
-
u3dreal
- Posts: 346
- Joined: Sun Jul 02, 2006 10:36 am
Post
by u3dreal » Wed Sep 13, 2006 3:05 am
Thanks guys.... hope that helps..
cheers
u3dreal

Who is online
Users browsing this forum: DotBot [Bot] and 2 guests