plane as clipping plane

Started by Dinin, January 15, 2014, 03:02:52 PM

Previous topic - Next topic

Dinin

Hi !

I need a plane that is transparent (for user) but still hides objects/parts of objects. Like a plane that acts like a clipping plane. Is there any way i can do something like that ?

Thanks
Dinin

EgonOlsen

Can you illustrate that by some drawing or something? I have an idea, but i think that it doesn't fit the problem...

Dinin

I have a animation where a zombie is comming out of ground. So only the part above ground should be visible. The problem is that i have no groundplane in opengl, only a transparent background.

[attachment deleted by admin]

Dinin

I just found the solution.
If i set a transparent texture and do not call setTransparency of plane it does exactly what i want  :).

Greetings
Dinin