We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › translate()  follows camera
Page Index Toggle Pages: 1
translate()  follows camera (Read 303 times)
translate()  follows camera
Aug 4th, 2008, 8:16pm
 
  Hello everyone! I can't find any hint howto use  moving of object like in 3DSMAX, Blender or any 3D RTS game.
In my case it is P3D with begincamera(): camera rotates, changes position or target - and after that, when picking the object, I need it to be translated  following mouse and not like translate X axis = mouseX, Y axis = mouseY..., because camera flies.
  Please, tell me where should I look for.
Re:  translate()  follows camera
Reply #1 - Aug 5th, 2008, 1:20am
 
  I think I've found it!
http://mkv25.net/applets/cameraVector3DPlane/
  Sorry.
Page Index Toggle Pages: 1