PDA

View Full Version : How to rotate,scale,translate a model without having it get clipped?



delic
10-25-2002, 10:26 AM
I have rendered a quad model but I want to add functionality so that a user can rotate,scale, and translate the model. (or projection matrix) Whenever I do it the model gets clipped, i think by the perspective volume. Do i have to keep updating the perspective volume??

Im sure someone has done this, can you give me some pointers, hints,etc..

Any help appreciated..

nexusone
10-25-2002, 10:36 AM
You could make a limit on the amount of scale/rotate/translations the user can make, to keep it in the view area.

Or make the perspective valume bigger.


Originally posted by delic:
I have rendered a quad model but I want to add functionality so that a user can rotate,scale, and translate the model. (or projection matrix) Whenever I do it the model gets clipped, i think by the perspective volume. Do i have to keep updating the perspective volume??

Im sure someone has done this, can you give me some pointers, hints,etc..

Any help appreciated..