> 1) seems cleaner to me. 2) will get you into issues with n-sided polygons and > general clipping, which can get tricky. > > I think it's a little more complicated than your description, though, as you > need to exclude points that are outside the object. And putting together the > faces from those vertices might not be trivial, either. You could use > aconvex > hull lib for that. > > Alternatively you can probably generate this using a Computational Geometry > lib > like CGAL. ;)
i see. thanks for the cgal hint. i should have thought of it, as my project already includes cgal (besides opensg and boost) :) i think, i'll try the CGAL::Nef_polyhedron_3 for this task. cheers, simon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
