Hi Toni,

On Thu, 8 Feb 2007, Antonio Bleile wrote:

> I'm playing around with the nurbs in OpenSG.... I copied from the 
> testSurfaceRender.cpp example. I create some Nurbs surfaces from a CAD 
> model and save the whole scene into a osb. When I try to open the 
> resulting osb in VRED (latest dailybuild) I don't see any geometry. But 
> when I select all surface nodes I see the correct bounding boxes! It's 
> as if the surfaces were transparent/not rendered. This must be a newbie 
> bug.... Any suggestions?

Generally the .osb support is somewhat flaky, we played around with the 
dirtyMask with Andreas and Dirk but I don't think we came to a final 
conclusion regarding .osb yet. :-)

> When I call "surface->forceTessellate()"
>
> I get messages like this:
>
> LOG:  4294967295x4294967295:4
> LOG:  Surface::tessellate: inconsistent attributes
>
> That might be the problem, but what does it mean???


it means that the program finds 4 controlpoints but it expects a lot more 
which is nonsense, it's probably an underflow as this is stored as UInt32. 
Most probably your knotvectors are too short, clamped knotvectors are 
expected just like in OpenGL or OpenInventor. If you exported your model 
from Maya, that has a wellknown "feature" of supplying two start/end 
knotpoints less than anything else, at least versions from a few years ago 
did so. :-)

Sorry it's EG deadline so I don't have more time to explain but feel free 
to ask me tomorrow or send me your models/testapp and I can take a look 
but not today.

HTH,
        Akos


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to