View previous topic :: View next topic |
Author |
Message |
Triplle DeleD PRO user
Joined: 05 Jul 2008 Posts: 95 Location: Netherlands
|
Posted: Thu Oct 02, 2008 7:55 pm Post subject: Alpha Bended Picture |
|
|
I've got a question.
I've made an alpha bended picture but when i place it on 2 flat poly's rotated in 90 degrees Z angle i get this:
how can i get it fixed ? |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Thu Oct 02, 2008 8:47 pm Post subject: |
|
|
Technically: Alpha-blended images have to be depth-sorted manually, because you can't use the z-buffer for them (because then the parts that are behind any other part simply wouldn't be drawn at all).
This means that every polygon is either completely in front, or completely behind any other polygon. So if you stick one polygon straight in the middle of another one, you are going to get problems like the ones in your screenshot.
To solve your problem, split the polygon in half, resulting in 4 polygons that meet in the center. This is best practice in modeling anyway (don't simply push polygons through one another, create edges) , and will solve the visual inconsistencies.
Hope that helps. This is a bit of generic modeling knowledge, if you want to learn more about it, google has a lot of information, like the OpenGL documentation on the topic. |
|
Back to top |
|
|
Triplle DeleD PRO user
Joined: 05 Jul 2008 Posts: 95 Location: Netherlands
|
Posted: Fri Oct 03, 2008 7:51 pm Post subject: |
|
|
thankyou very much,
this helps alot and i will never forget it again
my work gets better every scene just coze u guys help really good...
greets triplle |
|
Back to top |
|
|
|