Results 1 to 2 of 2

Thread: Modeling Question

  1. #1
    Junior Member Newbie
    Join Date
    May 2002

    Modeling Question


    I want to model many cars for my game and I guess it is a good idea to store the colors in the materials instead of the texture and use an intensity texture which can be applied to all cars of the same type.

    Let's sat I want to make red, blue and green version s of a car, I will change the material of each car after loading. Since their texture is just intensity they should look correct.

    Is this a good idea ? How would you do that ?



  2. #2
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Bay Area, CA, USA

    Re: Modeling Question

    Yes, this is a reasonable idea, however some components like headlights may not produce the desired effect because they will be colored too, it really depends on the look you go for and how your vehicles are modeled.

    To do as you suggest you would use a texture the colored cars with a glTexEnv of GL_MODULATE and it'll just work for you.

Similar Threads

  1. Cloud Modeling question
    By seainblue in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 09-18-2003, 06:31 AM
  2. Modeling Sky and Sun
    By shafa_hn in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 08-28-2002, 04:39 PM
  3. modeling
    By newbieGL in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 08-28-2002, 08:46 AM
  4. Modeling a Car?
    By DJKAOS in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-23-2001, 07:57 PM
  5. Modeling
    By Talon in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 10-03-2000, 06:39 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