Hi, I have a scene with an osg::Box, and I'd like to obtain a "raster" representation of my scene like this:
Code: ---------- ----****-- ----****-- ----****-- ---------- I was thinking using LineSegments to find out the intersections with the geometry object of the scene. And the result will probably be: Code: ---------- ----****-- ----*--*-- ----****-- ---------- My problem is how I could fill the cells that are inside of the box? I am new in OSG, and I am not sure I am using the correct approach, and I could'nt find anything about "Vector to Raster" in osg. Thanks a lot for help. Regards, Géraud Code: ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17541#17541 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

