Results 1 to 3 of 3

Thread: Mesh animation: update normals each frame?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    118

    Mesh animation: update normals each frame?

    Im importing some animations from 3DSMAX and noticed some wierd things:

    I exported a mesh from 3DSMAX to my viewer. I rotated it 360 (glRotatef) and there was no problem. Then I tried exporting a rotating mesh (the animation was done in 3DSMAX) and noticed the back of the model was dark.

    Do you know why? Should I calculate all normals each frame (or use a table for each frame)?

    C ya!

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    10

    Re: Mesh animation: update normals each frame?

    I don't know the answer of your question, but I've been looking for a code to load 3ds animation. Maybe you want to share yours with me?

  3. #3
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: Mesh animation: update normals each frame?

    If your mesh is deforming then calculate the new normals. Otherwise there shouldn't be a problem.

Similar Threads

  1. glTexImage3D update with frame buffers
    By jacktca in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 04-12-2012, 04:02 PM
  2. Drawing update (not every frame) ??
    By thebuffalo in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 12-28-2008, 04:23 AM
  3. Replies: 2
    Last Post: 11-04-2006, 02:24 AM
  4. Bezier Mesh ... No Normals :o(
    By Andrew Jameson in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 06-26-2003, 07:58 AM
  5. how to update the normals
    By aming in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 01-30-2001, 03:35 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