Hi,

I'm writing an app that essentially needs to 'cut' some geometry and its 
textures from a scene, to create a new model. Currently I'm using a 
PolytopeIntersector to find the faces I'm interested in.

The next step is that I need to clip those faces to the boundaries of the 
Polytope I used to find the intersection. I also need to add some vertices to 
some of the faces to slightly change the shape.

I've been looking at some libraries for geometry operations.  I want to 
preserve the texture mapping if I divide the faces up, and I haven't found a 
library that I can use to divide the faces and preserve the texture mapping 
(creating new texture coordinates for the new verts).

What I'm wondering is if there is something in OSG already I should be looking 
at as an example of this type of problem, or if anyone has any hints as to the 
best way to approach this. I sometimes find myself going down a path to solve a 
problem the hard way in OSG, then later I find out there's some existing 
feature I should have used to make life easier.

Any tips are very much appreciated!

Thanks,

Kevin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=34975#34975





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to