[osg-users] Caustics for UnderWater Effect
umituzun84 at gmail.com
Fri Sep 5 02:12:03 PDT 2008
Thanks for reply. I am looking for osgTexture3D for create caustics on
terrain surface with alpha value between 0.0-0.5 When I texture I want to
see terrain surface with caustics but I can only see textures with different
state like transparance and opaque version in sliding. What can I do? I mean
I want to see like multitexture viewing form surface which is combination of
terrain and textures.
And another simple question which makes me feel shame while asking :( When I
texture the created 3D model how can I specify TexCoord? Because when I
texture the model without specification of TexCoord the result like
Thanks so much.
2008/9/4 Robert Osfield <robert.osfield at gmail.com>
> Hi Umit,
> I'd use a Texture3D to animate through the images (see osgtexture3D
> for an example), or if you don't need blending ImageSequence would
> work on a Texture2D (see osgimagesequence for an example).
> Texture2DArray is also possible, but it's only supported on latest
> On Thu, Sep 4, 2008 at 2:50 PM, Ümit Uzun <umituzun84 at gmail.com> wrote:
> > Hi All,
> > I have 30 textures for caustics. I want to make a underwater effect so
> > to alpha blend texture to terrain surface which was created with
> > VirtualPlanetBuilder.
> > My question is, how should I animate these textures on the terrain?
> > Should I read all texture images to the Texture2DArray and then change
> > texture images by the time with using NodeCallback?
> > Is there any sample like that or which osg example would help me much?
> > Best Regards.
> > Umit UZUN
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users