GetActiveBaseDraw
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/11/2006 at 06:00, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
Howdy,I am using "GetActiveBasedraw" and the according bd->GetMg().off for a backface culling test (own function).
Now when there is an orthogonal projection, like top, bottom etc., the .off vector is always 0,0,0. How do I get a usable eye position vector from these?
Shall I simply use the unit matrix and add MAXREAL to the y-Component (but that would probably only work for the top, bottom and side views, not for military etc..) or what is the usual procedure to overcome this problem?
Thanks
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/11/2006 at 08:57, xxxxxxxx wrote:
Katachi,
I have put together a skeletal code from my tool plugin. Where can I send the file? PM me if necessary.
Thanks,