So this also means that the smoothing visitor doesn't handle holes and such eges properly? I seem to recall I had some of the same problems earlier when the edges between a set of triangles got too large.
Werner. _______________________________________________ Werner Lindgård, Programmerer Telephone +47 67 81 70 00 Direct line +47 67 81 70 68 [EMAIL PROTECTED] ViaNova Systems AS Leif Tronstads Plass 4, P.O.Box 434 N-1302 Sandvika, Norway ________________________________________________ http://www.vianova.no http://www.novapoint.com ________________________________________________ "Robert Osfield" <[EMAIL PROTECTED] mail.com> To Sent by: "osg users" osg-users-bounces <[email protected]> @openscenegraph.n cc et Subject Re: [osg-users] SmoothingVisitor 26.06.2007 14:23 question. Please respond to osg users <[EMAIL PROTECTED] enegraph.net> Hi Werner, I'm afraid osgUtil::SmoothingVisitor is a black box, there isn't anything you do to tweak the way it works. You could possible try to tweak the source code to SmoothingVisitor yourself, or just go and write your own normal computation algorithm. Robert. On 6/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Hello there. > > We are currently running some tests visualizing some terrain (TIN) data in > OSG (v.1.0). > In our TIN model, we have certain areas that are "cut out" from the surface > itself. Using the SmoothingVisitor in OSG to calculate the normals doesn't > seem to handle this very well. (see attached image). > > It seems like the visitor has problems finding the normals at the edges > where the "cut out form" has removed parts of the TIN. > Is this a know feature of the SmoothingVisitor, and does it mean that we > will have to calculate the normals and handle the special cases ourselves? > Or does anyone have any usefull tips on how to make the visitor behave > properly? > > Regards, Werner Lindgård. > > > (See attached file: Tin_SmoothingVisitor.jpg) > > _______________________________________________ > Werner Lindgård, Programmerer > Telephone +47 67 81 70 00 > Direct line +47 67 81 70 68 > [EMAIL PROTECTED] > > ViaNova Systems AS > Leif Tronstads Plass 4, P.O.Box 434 > N-1302 Sandvika, Norway > ________________________________________________ > > http://www.vianova.no > http://www.novapoint.com > > ________________________________________________ > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
