Results 1 to 1 of 1

Thread: Cutaway shader with solid fill using stencil buffer

  1. #1
    Newbie Newbie
    Join Date
    Feb 2015
    Posts
    1

    Cutaway shader with solid fill using stencil buffer

    Trying to achieve this look 1windmill.jpg using a cutaway shader with stencil buffer to fill in the clipped parts. The solid ground testClip4.jpg i use looks like this testClip5.jpg after clipping, notice the backfaces are also clipped. i don't know how to apply the stencil solution discussed here https://www.opengl.org/discussion_bo...65#post1194165. Can anyone explain me how to do it in this case?
    Attached Images Attached Images

Similar Threads

  1. Capping Solid-Stencil Buffer-coplanar faces+artifa
    By AllForum in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-28-2011, 01:58 AM
  2. Stencil buffer -> Fragment shader
    By thomas3711 in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 12-03-2009, 06:24 PM
  3. How to "fill" a solid?
    By varieux in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 09-25-2009, 05:08 AM
  4. Plot 3D : both solid fill and wireframe triangles
    By VoodooChild in forum OpenGL: Basic Coding
    Replies: 15
    Last Post: 10-30-2006, 11:33 PM
  5. texturing a stencil buffered cutaway cap
    By th0r1000 in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 02-27-2006, 10:18 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