Results 1 to 2 of 2

Thread: How to rotate,scale,translate a model without having it get clipped?

  1. #1
    Member Newbie
    Join Date
    Jul 2002
    Location
    NY, US
    Posts
    36

    How to rotate,scale,translate a model without having it get clipped?

    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..

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: How to rotate,scale,translate a model without having it get clipped?

    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..

Similar Threads

  1. Replies: 6
    Last Post: 02-01-2011, 11:09 AM
  2. IDL GLSL/Cuda/OpenCL Image Scale/Rotate/Translate?
    By imported_thneed in forum OpenGL: GLSL
    Replies: 3
    Last Post: 01-28-2011, 01:14 AM
  3. Translate, Rotate, Scale vs baking my own matrix
    By Adrian P. in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-04-2007, 09:46 AM
  4. translate; scale; translate;
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-25-2004, 03:28 AM
  5. Represent Rotate and Translate by one Translate
    By Luin in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 07-02-2000, 01:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean