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
__
er
Sent: Monday, April 13, 2009 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 s
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 funct
users-boun...@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
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
t
>
> -Original Message-
> From: osg-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
-
From: osg-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!!java
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_ptr m_ofgFogLinear = new osg::Fog();
Hi Brett,
On Mon, Aug 18, 2008 at 10:05 PM, brettwiesner <[EMAIL PROTECTED]> wrote:
> I just had a couple of questions about the desired usage of the fog state
> attribute.
>
> 1) What does it mean to have different fog states on different branches of
> the scene graph? Would this have any effect?
Hi,
I just had a couple of questions about the desired usage of the fog
state attribute.
1) What does it mean to have different fog states on different branches
of the scene graph? Would this have any effect?
2) Is the desired usage to set the fog attribute on the root node?
Thanks,
Bret
Hello Eric,
Computers drive me crazy! good will be the retirment, I will breed rabits.
I don't have any input into your specific problem, but I just wanted to
let you know you made my day with that line! My co-workers liked it too. :-)
J-S
--
> Now, I think it is normal to obtain undefined result if I
> enable fog without set the other attributes...
If you enable fog, behavior is defined. In OpenGL, the defaults are:
FOG_MODE is EXP
FOG_DENSITY is 1.0
FOG_COLOR is 0,0,0,0
FOG_COORDINATE_SOURCE is FRAGMENT_DEPTH
I don't believe
On Thu, Jul 10, 2008 at 12:29 PM, Eric ZAREMBA
<[EMAIL PROTECTED]> wrote:
> Now, I think it is normal to obtain undefined result if I enable fog without
> set the other attributes... But I still ask me why it worked until yesterday,
> since I introduced precipitation two weeks ago!
I can't answe
origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Robert Osfield
Envoyé : jeudi 10 juillet 2008 13:00
À : OpenSceneGraph Users
Objet : Re: [osg-users] Fog problem
Hi Eric,
What happens when you run:
osgprecipitation lz.osg
Robert.
On Thu, Jul 10, 2008 at 11:22 A
Hi Eric,
What happens when you run:
osgprecipitation lz.osg
Robert.
On Thu, Jul 10, 2008 at 11:22 AM, Eric ZAREMBA
<[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
>
>
> Since yesterday, I have a problem with fog.
>
> When I turn it one, my scene becomes black, even if I deactivate the
> lighting.
>
>
Hi Peter,
As the osg fog is a wrapper for the (fixed functionality) OpenGL fog,
you can use the OpenGL docs for this. There you will see that the start
and end values only make sense for the linear mode, not for exp or exp2.
However, density does make sense for exp and exp2.
Regards, good lu
hi users,
i have tried to create a simple example using fog. As I understand it the
start and end values define where the fog starts and ends relative to the
camera?
but
not matter what values I use it doesn't effect my rendering. I seem to
always get the same fog rendering.
can someone exp
17 matches
Mail list logo