Results 1 to 5 of 5

Thread: Clipping question

  1. #1

    Clipping question

    If an object is clipped, is it not processed for rendering? Thus if i make a virtual world and there are objects behind me that i can't see. Are they not rendered? By render i mean processed or does opengl know to eliminate the geometry?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2000
    Posts
    569

    Re: Clipping question

    You are right about the clipping definition. If something is clipped, it is not rendered.

    Opengl Clips the vertices that are outside the view frustrum. But any other vertices will not. So you'll have to make your own clipping algoritms for the vertices that are inside the view frustum.

    there are different methods: Bsp(binary space partition trees), octrees and a bunch of others wich are all well documented on the web.


    [This message has been edited by Gorg (edited 03-27-2000).]

  3. #3
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    154

    Re: Clipping question

    You still might want to cull objects wich you know aren't within the viewfrustum.

    Cheers

  4. #4
    Member Newbie
    Join Date
    Mar 2000
    Location
    UK
    Posts
    36

    Re: Clipping question

    Geometry calculations will be performed for all polygons in the scene (at each vertex), wether the polygon is clipped or not.

    OpenGL has to perform these geometry calculations, before it knows wether to try rendering the polygon to screen or not.

  5. #5
    Senior Member Frequent Contributor
    Join Date
    Feb 2000
    Posts
    569

    Re: Clipping question

    oh Sorry!!! You are right. Big Mistake! That makes me look good !

    (I promise I will never answer to a thread after 3 am!!!) Sorry about misleading everyone!!!

    [This message has been edited by Gorg (edited 03-28-2000).]

Similar Threads

  1. Just a Curious Question about Clipping Planes?
    By DWilson in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-28-2007, 05:18 PM
  2. Question about clipping
    By urquidio in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-27-2007, 08:50 AM
  3. General Fog & Clipping Question
    By darkrappey in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-20-2006, 09:17 PM
  4. Z buffer clipping question
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-02-2002, 09:16 PM
  5. Clipping Simple Question
    By jeppa in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-02-2002, 07:57 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