Hi Morten,
Thank you very much!
After I printed out all the points, I found out that
no objects were translated. The addTriangleCallback()
only applies to the object's local coordinate system.
I am new to Inventor and working on Ghost (PHANToM)
and Inventor. The coordinate systems just confused me.
Thanks again for your time.
Alex
--- Morten Eriksen <mortene@xxxxxx> wrote:
> Alex Kuang <alex_sfu@xxxxxxxxx> writes:
>
> > For the case showed below, only the cone is
> translated in the
> > Inventor Xt rendering window, but the triangle
> meshes that generated
> > by addTriangleCallback() shows that both the
> sphere and cone are
> > translated.
>
> Are you sure the case is that they are both
> translated, and rather not
> that they are both _not_ being translated?
>
> The latter case would for instance happen if you
> from the callback
> picked up their local/object coordinate system
> coordinates, instead of
> getting world coordinates.
>
> Morten
> --
> <URL:http://www.coin3d.org>
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
|