We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello! I did for the school a project in processing so that I can view the 3D different figures.I used the keyboard for scaling (zoom in/zoom out) and the mouse to rotate and translate. I succeeded to make all of things,but after I gave a zoom in or zoom out to figure,I can not to translate or rotate this figure until I refresh it. I have an impression that the process of scale is in a contradiction with the process of translate and rotate. Why? How can I make these processes immediately,without refresh?!
Answers
Could you rephrase the question? Its a little confusing what you are asking. From what it sounds like, you want to move around and zoom in/put of a 3D object. Let us know if this is the case.
Translate, rotate, scale ia cummulative so you need to isolate individual TRS-draw-object occurrences with pushMatrix/popMatrix statements like this
Yay! A month-old topic! 8-|