Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
plane as clipping plane
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: plane as clipping plane (Read 2357 times)
Dinin
byte
Posts: 28
plane as clipping plane
«
on:
January 15, 2014, 03:02:52 pm »
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
«
Last Edit: January 15, 2014, 03:04:29 pm by Dinin
»
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: plane as clipping plane
«
Reply #1 on:
January 15, 2014, 08:43:07 pm »
Can you illustrate that by some drawing or something? I have an idea, but i think that it doesn't fit the problem...
Logged
Dinin
byte
Posts: 28
Re: plane as clipping plane
«
Reply #2 on:
January 16, 2014, 10:53:43 am »
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]
Logged
Dinin
byte
Posts: 28
Re: plane as clipping plane
«
Reply #3 on:
January 16, 2014, 03:53:59 pm »
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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
plane as clipping plane