Results 1 to 2 of 2

Thread: polygon render side problem

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2006
    Posts
    1

    polygon render side problem

    Hi all ! iam new to this forum . i like opengl very much . iam trying to make a simple game. iam loading car from a .obj (alias wave fron file) . iam able to render it fine but when i render it , all the specular highlights are on in side faces of the car.changing the direction of the face using glFrontFace is of no use. shall i calculate the normals in reverse direction ? .please help iam stuck at this ...
    -indra

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: polygon render side problem

    Sounds like a good idea, try and see if it works.

    As a quick test you could just flip the normals (negate all three values).

Similar Threads

  1. Easiest way to render only one side of a cub map for debugging purposes
    By RealtimeSlave in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 02-02-2014, 05:29 AM
  2. Right side and Left side Lighting not happening
    By iris_raj in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-11-2003, 06:39 PM
  3. Different color on each side of a polygon
    By billy in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 01-07-2002, 04:31 AM
  4. how to see both side of a polygon?
    By sheesh in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 04-16-2001, 06:04 AM
  5. wire appears to move from side to side on object
    By JoeFinn in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-18-2001, 09:18 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