Hi Jonathan,
Look there...
http://www.j3d.org/tutorials/raw_j3d/chapter5/
http://www.j3d.org/tutorials/raw_j3d/
Rgds, ....|:0).
Jonathan Albert C Vallar schrieb:
> Thanks for your help!
>
> Can I ask if there is a possibility that I can get the parent of the viewplatform
>and modify the rotation component of the set transform3d.I want to simulate a set of
>buttons that
> show a rotation along the x and y axes by modifying the transformgroup above the
>viewplatform.
>
> My code is:
>
> m2=new Matrix3d();
> tempviewplat=active_site.getViewPlatform();
> tempTG=(TransformGroup)tempviewplat.getParent();
> tempTG.getTransform(tempT3D);
> tempT3D.getRotationScale(m1);
> m2.rotX(rot_degree);
> m1.mul(m2);
> tempT3D.setRotationScale(m1);
> tempTG.setTransform(tempT3D);
>
> Upon running and pressing the button,i get a:
> RestrictedAccessException:Cannot get the parent of a live or a compiled node.
>
> Thanks!
>
> [EMAIL PROTECTED] wrote:
>
> >Hi Jonathan,
> >
> >Sugestion: Look at the "Pure Java" discussion list.
> >http://forum.java.sun.com/list/16788242?d=591
> >
> >Other sites and Tutorials about java:
> >http://java.sun.com/docs/books/tutorial/java/TOC.html#nutsandbolts
> >http://java.sun.com/docs/books/jls/first_edition/html/index.html
> >http://java.sun.com/docs/books/tutorial/java/index.html
> >http://www.acm.org/crossroads/doc/indices/objective-viewpoint.html
> >
> >Good luck. Rgds, .....|:0).
> >
> >Jonathan Albert C Vallar schrieb:
> >
> >> Sorry!Maybe this is too elementary but I still would like to post this question:
> >>
> >> Are the points specified by the Martix objects the starting point for the
>vector?Where do tey point to?
> >>
> >> Thanks for entertaining my question!
> >>
> >> Jonathan
> >>
> >> __________________________________
> >> www.edsamail.com
> >>
> >> ===========================================================================
> >> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> >> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> >> [EMAIL PROTECTED] and include in the body of the message "help".
> >
> >===========================================================================
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> >of the message "signoff JAVA3D-INTEREST". For general help, send email to
> >[EMAIL PROTECTED] and include in the body of the message "help".
> >
> >
>
> __________________________________
> www.edsamail.com
>
> __________________________________
> www.edsamail.com
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".