2 registered members (Akow, tomaslolo),
1,536
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Transparent
#28405
06/03/04 02:52
06/03/04 02:52
|
Joined: Mar 2004
Posts: 1,201 Switzerland, Baselland
Bird
OP
Senior Developer
|
OP
Senior Developer
Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
|
Hi mich hat es schon lange genervt dass man, wenn das model transparent ist, die faces die eigentlich verdeckt wären trotzdem noch sieht. etwa so (die Stiefel): Kann man das irgendwie ändern?
- A6pro 6.40.5
|
|
|
Re: Transparent
[Re: Bird]
#28408
06/10/04 02:29
06/10/04 02:29
|
Joined: May 2003
Posts: 609 Rattenfängerstadt
Rigoletto
Developer
|
Developer
Joined: May 2003
Posts: 609
Rattenfängerstadt
|
Hallo,
durchsichtiges verdeckt nichts, auch keine Stiefel.
Physikalisch ist das so richtig, auch wenn es nicht immer toll aussieht.
Aber manchmal ist der Effekt auch erwünscht, z. B. bei einer gläsernen Teekanne. Da sieht man den Henkel auch auf der abgewandten Seite.
Eine Lösung die mir jetzt einfällt, die Stiefel seperat durchsichtiger machen.
Last edited by Rigoletto; 06/10/04 02:31.
|
|
|
Re: Transparent
[Re: HeelX]
#28412
06/25/04 03:55
06/25/04 03:55
|
Joined: Mar 2004
Posts: 1,201 Switzerland, Baselland
Bird
OP
Senior Developer
|
OP
Senior Developer
Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
|
Mich hat es einfach genervt dass manchmal einfach so ein blödes Dreieck weniger transparent ist als die anderen Teile des models
- A6pro 6.40.5
|
|
|
Re: Transparent
[Re: Bird]
#28413
06/25/04 19:04
06/25/04 19:04
|
Joined: Nov 2003
Posts: 677 There
Julius
Developer
|
Developer
Joined: Nov 2003
Posts: 677
There
|
I don't understand German, but Google translated for me.
Couldn't the problem be fixed with a trick using the stencil buffer? Starcraft: Ghost has transparent models where you can't see their own parts through them (like with the warlock and his boots), but I don't know how they did it.
Quote:
In this sample, a stencil buffer is used to create the effect of a reflection coming off the water. The geometry of the water is rendered into the stencil buffer. Then the stencil buffer is used as a mask to render the scene again, this time with the geometry translated and rendered upside down, to appear as if it were reflected in the mirror.
This example is from the DirectX8.0 SDK. Could something similar be done (with a bit of C++ or Delphi, of course) to render the model as a transparent mask? If so, someone might be willing to write a DLL for you (not me, I know hardly anything about higher languages).
Hope this helps,
Julian
Edit: I might be able to find the source code from the example, if it helps. If you have the SDK, it is the sample titled, "Stencil Mirror" under DirectX 8 SDK -> Direct3D Samples -> Stencil Buffer. Hope this helps.
Last edited by Julian; 06/25/04 19:09.
flabadabadab.
|
|
|
|