Hi Guillaume,

On 9/5/06, Poirier, Guillaume <[EMAIL PROTECTED]> wrote:
Does this atlas builder packs only rectangular textures with some sort of binary
space partitionning algorithm ? Can it handle non-rectangular elements like
triangle strips ?

I am confused, texture atlas is purely for textures, and textures are are always rectangle in shape.

Triangle strip are are totally orthogonal element to OpenGL and the OSG, and have nothing todo with texture atlas building, other that texcoords on geometry has to be updated to handle the new position of the image without the wider texture atlas.  The updating of tex coords is handled, but again this has nothing to do with tri strips or other primitives, its purely a Vec2Array matrix operation on the texcoords.

Robert,
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to