Hi Simon,
Simon Haegler wrote:
> welcome back, dirk
>
>>> (1) is there a built-in method to compute _oriented_ bounding boxes?
>> Not at this point, no. I haven't looked for it, but I assume there's code
>> out
>> there that will do it.
>
> fortunately (for me, not for opensg) i found a way to avoid having to compute
> OBBs (for now) :)
Too bad, I would have liked to see them added. ;)
>>> (2) what is the difference between NodePtr and CNodePtr?
>> Please ignore CNodePtr, just use NodePtrs. CNodePtr is a wrapper class that
>> doesn't really have any function any more.
>
> ok, but what would then be the correct way to register an enter function?
>
> Action::ResultE MyClass::execLoD(CNodePtr& node, Action* action)
> {
> ...
> }
>
> ...
> renderAction->registerEnterFunction(Geometry::getClassType(),
> osgTypedMethodFunctor2ObjPtrCPtrRef<RenderAction::ResultE,
> MyClass, CNodePtr, Action*>(this, &MyClass::execLoD));
> ...
Ok, for that you need them. But you can treat them just like NodePtrs, they're
really nothing different.
> ps: whats the latest estimate for the 1.8 release date?
See separate mail.
Dirk
-------------------------------------------------------------------------
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