Results 1 to 2 of 2

Thread: 3D object filling

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    1

    3D object filling

    I have drawn a 3D object(cube) using GL_QUADS.I want to fill the object's interior space so that after clipping it remains solid
    (all the surfaces are filled....i.e.no hole).how can I do it?

  2. #2
    Newbie Frequent Contributor
    Join Date
    Mar 2016
    Posts
    896

    Re: 3D object filling

    Sounds a bit like homework assignment to learn about the stencil buffer...

    See http://www.opengl.org/resources/code...es/node10.html for a technique.

Similar Threads

  1. hole filling
    By ale211734 in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 02-25-2015, 09:09 AM
  2. Texture not filling on complete Object in Android
    By infoshore in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 08-15-2013, 11:02 AM
  3. Filling a trapezoid with a texture
    By dalew in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 05-03-2011, 05:55 AM
  4. filling polygons
    By lakgani in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-25-2008, 01:39 AM
  5. Filling circle
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-21-2003, 04:08 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