Re: [osg-users] FOG: applying both kinds at the same time. How?

2009-04-17 Thread Allen Saucier
Thx everyone! I've got my stuff working now and I'm glad that I can only have 1 type of fog active. It makes my job easier. Allen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10356#10356

Re: [osg-users] FOG: applying both kinds at the same time. How?

2009-04-13 Thread Allen Saucier
Thxs guys! I never knew that the Linear Exponential fog were mutually exclusive. [Idea] But that explains why when I attempt to have both types of fog w/in the same state only the last fog type enabled is used. I was thinking about applying the fog types to 2 different matrices and putting

Re: [osg-users] FOG: applying both kinds at the same time. How?

2009-04-13 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Allen Saucier Sent: Monday, April 13, 2009 9:17 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] FOG: applying both kinds at the same time. How? Thxs guys! I never knew that the Linear

Re: [osg-users] FOG: applying both kinds at the same time. How?

2009-04-13 Thread Allen Saucier
Write my own shader??? ha, ha,ha, ha ... that's a good one. What's a shader? [Embarassed] really, I've NO idea how to write one so the canned versions, I'll make do with. Thx... Tueller, Shayne R Civ... wrote: Glad to help. The OpenGL drivers underneath OSG support different fog

Re: [osg-users] FOG: applying both kinds at the same time. How?

2009-04-13 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
2:03 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] FOG: applying both kinds at the same time. How? Write my own shader??? ha, ha,ha, ha ... that's a good one. What's a shader? [Embarassed] really, I've NO idea how to write one so the canned versions, I'll make do with. Thx

[osg-users] FOG: applying both kinds at the same time. How?

2009-04-10 Thread Allen Saucier
Hi, everyone!!javascript:emoticon(':)') I'm new to OSG and I am struggling with applying both linear and exponential types of fog. Would someone mind showing me what I'm doing wrong? Thx for the help! I really appreciate it. // Fog: Linear osg::ref_ptrosg::Fog m_ofgFogLinear = new

Re: [osg-users] FOG: applying both kinds at the same time. How?

2009-04-10 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Allen Saucier Sent: Friday, April 10, 2009 10:27 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] FOG: applying both kinds at the same time. How? Hi, everyone!!javascript:emoticon