Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/01/2011 at 11:28, xxxxxxxx wrote:
User Information: Cinema 4D Version: r12 Platform: Language(s) : C++ ;
--------- Hi there,
i am having a strange problem within BAseDraw.
Matrix m = op->GetMg(); bd->SetPen(GetViewColor(VIEWCOLOR_ACTIVEPOINT)); bd->SetMatrix_Matrix(op, bh->GetMg()); bd->DrawSphere(m.off,Vector(m_far),Vector(2.0,0.0,0.0),NULL);
and while it was working in r11 (without the SetMatrix_Matrix o.c.)
it doesnt work anymore in r12. the Sphere is somehow positioned like the position was multiplied by some value bigger that 10.
any ideas? i hope someone has one
thanks and cheers, ello
edit: lol.. fixed. using Vector(0) with DrawSphere and it works
On 07/01/2011 at 12:12, xxxxxxxx wrote:
you already set the drawing matrix with SetMatrix_Matrix, so DrawSphere expects a local coordinate. Just for completeness.
On 07/01/2011 at 13:22, xxxxxxxx wrote:
thank you for that information cheers