Jiba wrote:
> You can read or write the coord syst matrix using the matrix attribute.
> However, you should do it carefully...
It would be good if there were an API something like
obj.set_orientation(xaxis, yaxis, zaxis)
which aligns and scales the object so that its local axes
transform ont
> Pablo, you can either set the matrix attribute (if you have the right matrix
> values), or perform first a look_at (e.g. on the X axis), and then perform a
> rotation in order to set the Y and Z axis as needed, e.g. if you want Z to
> point to idealZ, perform a rotation around the cross produ
On Fri, 29 Feb 2008 22:08:32 -0500
"David Bliss" <[EMAIL PROTECTED]> wrote:
> I wound up replacing the matrix. I don't have the code for it handy, but I
> know I somehow set the matrix with some work.
You can read or write the coord syst matrix using the matrix attribute.
However, you should do
It is as you say, Greg. To be more explicit, I'll tell you the exact problem.
I need to draw a triangle given by three vertices (which I do using soya.Face),
and then put a label on top of the face. I can orient the label so that the
normal vector to the label is the same as the normal vector
I wound up replacing the matrix. I don't have the code for it handy, but I
know I somehow set the matrix with some work.
On Fri, Feb 29, 2008 at 5:53 PM, Greg Ewing <[EMAIL PROTECTED]>
wrote:
> Souvarine wrote:
> > You
> > can do that by first using the set_identity method that reset your
> > coo
Souvarine wrote:
> You
> can do that by first using the set_identity method that reset your
> coordsyst position and rotation and after that rotate or turn methods.
I think he already has a rotation matrix obtained from somewhere
else, not a set of angles.
I had the same problem when I was tryi
What you're trying to do just can't work. The look_at method don't just
modify the Z axis of the coordsyst but the whole coordsyst orientation.
So does the look_at_x method. I don't know how you want to set your
solid orientation but calling a look_at method after an other look_at
method is not
Hello, everybody. I'm a new soya user, and I was surprised because it
was so easy to develop a simple 3D app. I had a kind of respect for the
field, but the soya tutorials made the learning curve almost flat. Up to
this moment, whenever I had a problem, I found that the authors had
already th