See my previous post. When you use a geometry shader to create new vertices, 
and the object is textured, then the geometry shader must generate tex coords 
for each vertex. 

Paul Martz
Skew Matrix Software
Http://www.skew-matrix.com


On May 5, 2011, at 7:23, "Nan WANG" <[email protected]> wrote:

> the problem i am thinking is that:
> 
> when we create an object like osg::box..then osg::ShapeDrawable* 
> unitCubeDrawable
> 
> then the box contain a right UV coordinate.
> 
> the objects which are realtime generated do not have BOX UV....so if i apply 
> a texture to objs,,,,there should be a problem...
> 
> Right?
> 
> 
> ... 
> 
> Thank you!
> 
> Cheers,
> Nan
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=39030#39030
> 
> 
> 
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to