Hi Vincent,

On Thu, 2005-09-22 at 15:19 +0200, Vincent Honnet wrote:
> Hi Dirk,
> 
> I described badly the idea, sorry. It's not a half clipping but a 
> quarter clipping: 2 orthogonal clipping planes which cut one quarter of 
> the object, and that whas not a quarter clipping but an "eighth" 
> clipping: 3 orthogonal planes which cut one eighth of the object.
> 
> If I give 2 clipping planes to the material I will get 3 quarter cut and 
> with 3 planes 7 eight cut, isn't it ?

Ah, so you want the intersection of the clipping halfspaces removed, not
their union? Sorry, OpenGL clipping doesn't work like, the polygons are
clipped against each halfspace in order, and that gives you the union.

The easiest way to get your effect is using a fragment shader that just
discards all the fragments you don't care about.

Hope it helps

        Dirk




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to