Results 1 to 2 of 2

Thread: Wierd artifacts on smoothed models

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    Hengelo
    Posts
    1

    Wierd artifacts on smoothed models

    For some time now I'm trying to get a pretty good looking piece of source as a start for my new game's GL engine.

    After some changes I'm suddenly having trouble with smoothed surfaces; as if the normals are in error.

    This is what it looks like now, this should have been a nice sword:



    It is as if the normals are wrong, but after some testing it must have something to do with the lighting. (because with lighting off all is ok)

    The black parts change while the model rotates, they change as if they are black in only a few fixed angles from the cam.

    I've only used a normal position light.

    If anyone can help me; I'd be verry pleased, It's been bugging me for about 4 days now and I can't seem to get it fixed...

    Thanks


    PS: It's not the model; even when I use the default GLUT or GLU models, I'm having the same trouble.

    [This message has been edited by Clairvoyant (edited 08-25-2002).]

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: Wierd artifacts on smoothed models

    It is as if the normals are wrong, but after some testing it must have something to do with the lighting. (because with lighting off all is ok)
    Well.. normals really only affect the display of your model when lighting is enabled. So just because it looks ok with lighting off doesn't mean your normals aren't messed up.

    Another things to check might be that you enabled depth testing and clear the depth buffer when you clear the screen.
    Deiussum
    Software Engineer and OpenGL enthusiast

Similar Threads

  1. TBN Matrix for smoothed vertices
    By RealtimeSlave in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 04-01-2013, 07:19 AM
  2. Replies: 1
    Last Post: 05-12-2011, 05:44 PM
  3. Storing normals for a non-smoothed sphere
    By exoide in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-08-2010, 09:00 AM
  4. tangent space with smoothed normals
    By JanHH in forum OpenGL: Advanced Coding
    Replies: 8
    Last Post: 06-14-2005, 10:03 AM
  5. Wierd artifacts with penumbra maps
    By jonasmr in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 03-04-2004, 11:23 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