[osg-users] Bump mapping question
judie.m.stanley at gmail.com
Wed Jul 2 11:44:31 PDT 2008
in the link: http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01058.html#_details
"Note that both diffuse and normal map textures must have
corresponding UV maps defined in Geometry objects"
Is there a way to generate the UV map programmatically? Can I just use
the osg equivalent to OpenGL's GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T?
On Jul 2, 11:26 am, Judie <judie.m.stan... at gmail.com> wrote:
> fyi... I found this link:http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDo...
> and I am downloading NVidia's plugins for photoshop now hoping that
> will be what I need.
> On Jul 2, 10:37 am, Judie <judie.m.stan... at gmail.com> wrote:> Hi,
> > I am trying to add bump mapping and I am wondering what the bump map
> > format should be (i.e. bmp with 8 bits). Are there any examples? I am
> > using osgFX::BumpMapping. I want to know what the format for the map
> > in this call should be:
> > bump->setOverrideNormalMapTexture( bumpTex );
> > Thanks,
> > Judie
> > _______________________________________________
> > osg-users mailing list
> > osg-us... at lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...
> osg-users mailing list
> osg-us... at lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph...
More information about the osg-users