Re: Java3D: Transform3D.rotX() causing blackness!
From: Rick (aso3rick_at_hotmail.com)
Date: 10/14/03
- Next message: Roedy Green: "Re: java.lang.Error: Could not determine current working"
- Previous message: Russell Potter: "ClassDefNotFound"
- In reply to: Hoagie: "Java3D: Transform3D.rotX() causing blackness!"
- Next in thread: Hoagie: "Re: Java3D: Transform3D.rotX() causing blackness!"
- Reply: Hoagie: "Re: Java3D: Transform3D.rotX() causing blackness!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Oct 2003 11:50:46 +0200
Never did OpenGL in Java mut maybe these are some tips. You're object
probably still is somewhere but outside you're view.
First of all, are you sure the origin(center) of you're object is in the
middle of it? If not, when it rotaties it can rotate outside you're view.
Check it with just a small rotation (1 degree or something).
Another possible cause : I guess rotX is based on GLrotate. If you call that
function everything rotates so you have to reset after you've drawn the
object. Just rotate back or use some commands to call and push you're
viewpoint.
Just some guesses, using this stuff in C / Delphi looks quit different
because that ain't object orientated.
Greetings,
Rick
- Next message: Roedy Green: "Re: java.lang.Error: Could not determine current working"
- Previous message: Russell Potter: "ClassDefNotFound"
- In reply to: Hoagie: "Java3D: Transform3D.rotX() causing blackness!"
- Next in thread: Hoagie: "Re: Java3D: Transform3D.rotX() causing blackness!"
- Reply: Hoagie: "Re: Java3D: Transform3D.rotX() causing blackness!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|