On Thursday, 7 July 2022 at 08:02:25 UTC+1 [email protected] wrote:
> Hmm... why does setting wind in an osgParticle::PrecipitationEffect effect
> like snow or rain only apply once? Is there any other way to keep it
> applied continuously?
>
What do you mean only applied once? It should work on all frame once set.
> Also... the effects don't seem to be drawn around me.
>
No way to know whether it's an issue with your expectations or what you are
doing, or a possible issue with the effect.
What does
osgprecipitation lz.osgt
Look like for you? Could post a screenshot of your own application.
>
> In my opinion, the EYE-POINT where the effects are drawn is not the center
> of my camera right now.
>
The eye point is where the camera is located.
> So I looked at the code...
> It looks like you are setting it with the set/getViewMatrixAsLookAt( eye,
> center, up) functions... is that correct?
>
> Also.. can you explain what the eye, center, up variables are?
>
The convention used is identical to gluLookAt, have a look online for
documentation - there's 30 years of it out there.
Cheers,
Robert.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/osg-users/cd09f343-c80b-4076-9daa-f6320a88b1c5n%40googlegroups.com.