Results 1 to 3 of 3

Thread: problem ??

  1. #1
    Member Newbie
    Join Date
    Dec 2005
    Posts
    35

    problem ??

    hi, I've draw some cube and you can see the problem. Why are there those small points??
    what can be the cause? thanks
    Mickey

  2. #2
    Senior Member OpenGL Pro k_szczech's Avatar
    Join Date
    Feb 2006
    Location
    Poland
    Posts
    1,107

    Re: problem ??

    Two reasons actually:
    1. Dots on the edge of cube and background
    You just see the left face of the cube at sharp angle - so you get aliasing.
    2. On the lower part of edge you have two cubes one next to each other.
    In theory, the bright face should not be visible, because you 'perfectly' placed the cubes. In real world you will run into floating point precision artifacts.

    Solution for #1 - use antialiasing
    Solution for #2 - antialiasing will not solve this problem - you must remove that part of left, bright face that should not be visible (has contact with the cube on the left)

  3. #3
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: problem ??

    missing polygon culling ?

Similar Threads

  1. Replies: 1
    Last Post: 09-23-2016, 02:24 PM
  2. Shading problem? (pyglet-problem?, my problem?)
    By H2OBrain in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-03-2009, 08:31 AM
  3. Replies: 4
    Last Post: 09-27-2004, 06:27 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