Re: [osg-users] I have a question about the units of fog visility.

2020-09-04 Thread OpenSceneGraph Users
On Fri, 4 Sep 2020 at 14:05, OpenSceneGraph Users < osg-users@lists.openscenegraph.org> wrote: > I'm actually curious about the distance unit of Density used in OSG. > Whether the unit of distance is meters or feet depending on values between > 0.0 and 1.0..? > The OSG doesn't have a unit of dens

Re: [osg-users] I have a question about the units of fog visility.

2020-09-04 Thread OpenSceneGraph Users
Hi, I'm actually curious about the distance unit of Density used in OSG. Whether the unit of distance is meters or feet depending on values between 0.0 and 1.0..? 2020년 9월 4일 금요일 오후 4시 42분 44초 UTC+9에 OpenSceneGraph Users님이 작성: > Hi, it mimics the fog model described in: > > https://www.khronos.o

Re: [osg-users] I have a question about the units of fog visility.

2020-09-04 Thread OpenSceneGraph Users
osg::Fog is a wrapper for glFog: https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glFog.xml The units are eye coordinates after the modelview matrix has been applied, so will depend upon your scene graph and view matrices have been combined. If you scene is in meters and your camer

Re: [osg-users] I have a question about the units of fog visility.

2020-09-04 Thread OpenSceneGraph Users
Hi, it mimics the fog model described in: https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glFog.xml -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensceneg

[osg-users] I have a question about the units of fog visility.

2020-09-04 Thread OpenSceneGraph Users
I have a simple question. What is the fog visibility unit? Is it a meter? Is it feet? -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubs