Results 1 to 2 of 2

Thread: Model Size

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2002

    Model Size

    Does anyone know how to change the size and position of the model using nehe's tutorial for loading milkshape models? I know you can just change the camera position but that won't work because I want to use the model in my game as a character and it has to be a certain size and the position will change because it moves. If anyone knows an easy way to do this I would appreciate it a lot, or if not if there is any other way to load a model and change the position and size. Thanks for the help.
    Life's a bitch... you know the rest

  2. #2
    Senior Member Regular Contributor
    Join Date
    Jan 2002

    Re: Model Size

    Well, I dont see any simple and direct way to do this since the vertices and all data in a model are not variable in the sense that once the model is done, you can't simply take the model and make it bigger without the loss of detail... You could use milkshape to make all of the changes and what not...

    You could simply use glScale or multiply every vertex by a size factor which is basically what glScale does... You will have bigger polygons and your model will look less detailed...

    glScale( x, y, z );

Similar Threads

  1. Mapping from rednerbuffer size to texture size for glow effect
    By 2Wheels in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-11-2013, 04:16 PM
  2. OpenCL Ndrange Global Size/Local Size
    By BiS in forum OpenCL
    Replies: 4
    Last Post: 01-04-2013, 07:52 AM
  3. Size of the model: render time and light intensity
    By Pouya in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-02-2012, 09:15 AM
  4. Replies: 10
    Last Post: 01-04-2007, 12:02 AM
  5. Replies: 1
    Last Post: 06-02-2006, 11:52 AM

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