Thanx Steven,
So is this _generally_ OK or is this an exception to
Kim's "law"?
(1) In your case you modify an object -
kinematicstate.transform - (or its parameters posx, posy...) that is not
even the object plugged into the port but one further down the hierarchy,
which works [thats how i naivly did it in the past]
no this is exactly the point: you cannot
plug an object ("x3dobject") into a scop.
you have to connect specific parameter(s),
groups of parameters, or the geometry/primitive to the port.
Other parameters or properties on the same object
should be left alone. Only those connected can be modified.
This case is not exception:
With the .transform, you can read the transform
into your scop, which contains the
combination of translation, scaling and rotation. You can modify those
individually on the transform, and then output the
modified transform back to the object. You're only touching
the very thing which is connected to the scop.
I guess its a bit hard to grasp, but you're not modifying the individual
parameters directly, but the total transform.
Ah, OK...that wasnt really clear to me.
So when I output to SRT, I
should better put posx, posy, posz, rotx, roty, rotz, sclx, scly, sclz in
seperate ports?
the .transform allows you to access all of those,
since they're all contained within it.
one port is more convenient than 9, I would expect
it to be faster too.
Or can I change everything related to the object (thats connected to the
port) as long as it is animatable?
no, only the very item/parameter/property connected
to the port, not anything else on the same object.
if there's other parameters you want to
change, you have to add them as additional ports to the
scop.
it would help if the documentation came with some
detailed examples on scops.
(2) Kim says "No changes to anything that isn?t plugged into a port
is the rule"
(3) In the original post I tried to modify a parameter of an
object which is plugged into the port, which didnt work
get my
confusion?
well I sure do get confused
with scops :-)
I guess with what Kim said, one is on the safe side, right?...have
a nice weekend
Stephen Blair schrieb:
Hi Philipp
You can connect to the KinematicState and then modify
KinematicState.Transform.
kim aldis schrieb:
In fact, changing the value even using the OM is bad. No
changes to anything that isn?t plugged into a port is the rule. Since
the mute parameter isn?t animatable you can?t plug it into a port.
--
LIGA_01 COMPUTERFILM GmbH
Philipp Oeser
MUNICH
Landwehrstrasse 60-62
80336 Munich, Germany
fon: +49 - (0)89 - 51 555 8-88
fax: +49 - (0)89 - 51 555 8-77
www.liga01.com
Diese Nachricht enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Nachricht irrtümlich erhalten haben, informieren Sie bitte den Absender und löschen diese Nachricht. Das unerlaubte Kopieren und die unbefugte Weiterleitung dieser Nachricht sind nicht gestattet.
This message may contain confidential and/or privileged information. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete this message. Any unauthorised copying, disclosure or distribution of this message is strictly forbidden.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the
following text in body: unsubscribe xsi
--
LIGA_01 COMPUTERFILM GmbH
Philipp Oeser
MUNICH
Landwehrstrasse 60-62
80336 Munich, Germany
fon: +49 - (0)89 - 51 555 8-88
fax: +49 - (0)89 - 51 555 8-77
www.liga01.com
Diese Nachricht enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Nachricht irrtümlich erhalten haben, informieren Sie bitte den Absender und löschen diese Nachricht. Das unerlaubte Kopieren und die unbefugte Weiterleitung dieser Nachricht sind nicht gestattet.
This message may contain confidential and/or privileged information. If you are not the intended recipient or if you have received this message in error, please notify the sender and delete this message. Any unauthorised copying, disclosure or distribution of this message is strictly forbidden.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi