Hi Carsten, thank you very much for your help. I got the other thing (reading the mesh data) working right now thank you for that also!
Cheers, Georg. -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] im Auftrag von Carsten Neumann Gesendet: Di 29.01.2008 15:30 An: [email protected] Betreff: Re: [Opensg-users] Extract vertex and index information for atriangle mesh Hello Georg, Wünsch wrote: > Hi Carsten, > > I am trying to create collision meshes from vrml data loaded into the opensg > scene. I think currently there is no Line data at all, but on one hand I > cannot make sure and on the other hand I am planning to even use lines for > highlighting and/or outlining objects in the 3d views. ok, that means you probably have to handle lines/points in some way. You probably have seen the PrimitiveIterator that will allow you to iterate over the primitives in a geometry. > BTW are there highlighting or outlining functions other than used in the > simplescenemanager, that seems to use the AABB for highlighting? If not, I > guess I will have to implement some, do you think the best way is to create a > child class of simplescenemanager and overload some of its functions, for > example the updatehighlighted() and some other functions? You can use the the volume draw functions from OpenSG/Source/System/NodeCores/Drawables/Geometry/OSGVolumeDraw.h for highlighting. Deriving from the SSM is possible or if that does not give you the flexibility you need, you could just copy and rename it as it does not have any special role in the system. Hope it helps, Carsten ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
<<winmail.dat>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
