Results 1 to 2 of 2

Thread: vertex visibility

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2009
    Posts
    12

    vertex visibility

    How Can I check whether a vertex on a mesh that I'v load is visible or not?so that I would like to set the vertices that are visible to have a value 0.5 and those that are not visible to 1.0

    Are there functions to do that?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Oct 2004
    Posts
    4,651

    Re: vertex visibility

    Quote Originally Posted by ken84shin
    How Can I check whether a vertex ... is visible or not?s
    Use an occlusion query.

    Basically render the potential occluders, then ask the GPU whether it can see one or more POINTS (or other primitives). It'll tell you how many fragments it can actually see per query.

Similar Threads

  1. vertex visibility test
    By jinho89 in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 02-24-2004, 02:26 PM
  2. vertex visibility test
    By jinho89 in forum OpenGL: General
    Replies: 3
    Last Post: 02-24-2004, 01:52 PM
  3. Vertex visibility
    By mirage93i in forum OpenGL: Advanced Coding
    Replies: 9
    Last Post: 01-21-2004, 02:43 AM
  4. Checking for visibility of a vertex
    By djavan in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-24-2003, 07:07 PM
  5. Fog (visibility)
    By Anthony moss in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 01-11-2002, 02:37 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