Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 19:19 < spm_Draget> Java3D: If I use a MouseRotate behavior in my viewingplatform transformgroup, I can use my mouse to nativagte. I have that working. But when rotating to the
- side and up, the camera gets tilted (so to say rotated along the viewing-vector). Can I prevent this somehow?
- 19:19 -!- gngrwzrd [~gngrwzrd@c-98-234-85-17.hsd1.ca.comcast.net] has quit [Quit: gngrwzrd]
- 19:21 -!- gngrwzrd [~gngrwzrd@c-98-234-85-17.hsd1.ca.comcast.net] has joined ##java
- 19:23 < Planck_> spm_Draget: You can lock the up-vector, if that's what you want
- 19:23 -!- ktx2 [~ktx@unaffiliated/ktx] has joined ##java
- 19:23 < Planck_> E.g. instead of having a general orientation quaternion or matrix, just use two Euler angles
- 19:24 < spm_Draget> Planck_: Any hint on how to do that? (sounds like what I want)
- 19:26 -!- RenatoSilva [~Renato@187.13.179.141] has quit [Read error: Connection reset by peer]
- 19:27 -!- RenatoSilva [~Renato@187.13.165.106] has joined ##java
- 19:28 -!- teralaser [~teralaser@unaffiliated/teralaser] has quit [Quit: Sleep! The only thing you don't want but do need.]
- 19:28 < Planck_> I don't recall the Java3D specifics, but you basically adjust two azimuth & elevation Euler angles, and use those to set the transformation for the view platform
- instead of a matrix or quaternion
- 19:28 -!- homie [~user@xdsl-78-35-140-89.netcologne.de] has joined ##java
- 19:29 < cbeust> Planck_: you just single handedly elevated the intellectual level of this channel to levels yet unseen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement