That what I thought, but this results in an exception as well. I also tried to save the geometry in a file using the "writtoobj(..)" memberfuntion, but this had them result. I'm a bit stuck.
Ákos Balázs wrote: > Hi Sebastian, > > OSGSurface is indeed derived from OSGGeometry, so the normal accessor > functions should be > used for getting the tessellated geometry. I don't know why exactly > the crash happens, but you don't have to downcast your OSGSurfacePtr > to OSGGeometryPtr, the getPositions() etc. functions should work on > an OSGSurface. > > HTH, > Akos > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
