Dirk Reiners wrote: > Hi Patrick, > > Patrick Hartling wrote: >> Eric, >> >> I believe that you have hit the nail on the head. My misuse of >> OSG::MatrixFrustum() caused me some headaches a couple of weeks ago, but I >> thought I had it fixed. After doing more careful tracing through the code >> path for OSG::RenderTraversalAction(Base), I think that my use of >> OSG::MatrixCameraDecorator (and consequently OSG::MatrixFrustum()) appears >> to be biting me. I may have to go back to the design drawing board to get >> this sorted out. Thanks for the tip. > > Hm, that doesn't sounds good. The only reason why i could see that being a > problem is FrustumVolume::setPlanes(Matrix&) is broken, everything else > should > be fine. with whatever matrix you put into that. That part is the only one I > got > from somewhere else, and there might be some assumptions in there that I > wasn't > aware of. I didn't think there were, but if you want to take a look and think > about it that might be helpful. > > Sorry > > Dirk
I don't think that anything in OpenSG is broken. Allen and I tracked the
problem down to two issues:
1. In some cases, bad data was being given to OSG::MatrixFrustum().
2. Since I am working on what amounts to a 3D scene editor, the
post projection matrix on all my OSG::MatrixCameraDecorator
instances has to be updated every time the near value on the
decoratee camera changes.
Things are working now, at long last. :)
-Patrick
--
Patrick L. Hartling
Senior Software Engineer, Priority 5
http://www.priority5.com/
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
