From: Braden M. <br...@en...> - 2006-11-16 04:41:46
|
On Thu, 2006-11-16 at 16:46 +1300, Philip Lamb wrote: > Hi all, > > I am loading a vrml file with OpenVRML (using sdl-viewer) that loads > OK in 0.15.10, but on 0.16.1 bails out with this error: > > openvrml/basetypes.cpp:2619: failed assertion `axis == axis.normalize()' > > Is there any way to force openvrml to ignore these kinds of > assertions??? It's a standard C assert; and the way to avoid these is to define NDEBUG (i.e., add "-DNDEBUG" to CPPFLAGS when configuring). But please send me the problem file. It's a bug that this assertion is failing. > It would also be good to have a means (at runtime) to suppress the > warning: > warning: axis component of a rotation must be a normalized vector > > since loading any VRML exported from Maya or 3DS Max generates > zillions of these. Such files are not conforming. I am unlikely to add a mechanism to OpenVRML to suppress them. However, openvrml::browser uses a user-suppled std::ostream for its console output. You could supply an ostream that filters these out. -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |