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:
Cinema 4D Version: 9.6
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
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?
On 08/11/2006 at 08:57, xxxxxxxx wrote:
I have put together a skeletal code from my tool plugin. Where can I send the file? PM me if necessary.