Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / tree magik problem, leaves are blocky in DBpro

Author
Message
Rico109
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: none-of-your-beeswax!!!!! (lol)
Posted: 1st Jan 2009 18:48
when I load my Tree Magik trees into DBpro, the leaves are blocky, how do you make the leaves' background blend with the surroundings?

I don't want the leaves' background in my game!!!!! It looks wierd!

Plz help!!!!!
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 1st Jan 2009 18:53
You mean make them transparent?

"Give a man a fish, and he'll eat for a day. Give a man a fishing rod, and he'll break it up into firewood...or swap it for a fish."
-Frankie Boyle, on Mock the Week
Rico109
15
Years of Service
User Offline
Joined: 2nd Dec 2008
Location: none-of-your-beeswax!!!!! (lol)
Posted: 1st Jan 2009 18:55
yeah, but not the actual leaves, just the background...
Reactor
15
Years of Service
User Offline
Joined: 6th Apr 2009
Location:
Posted: 10th Apr 2009 17:59
After you load your object you need to set the transparency for the object...

Try this ....


The seond parameter is the transparency mode number, they are defnied as :

0 - draw first no alpha
1 - draw first with alpha masking
2 and 3 - draw second which overlaps solid geometry
4 - draw second alpha test (only render beyond 0x000000CF alpha values)
5 - water line object (seperates depth sort automatically)
6 - combination of 3 and 4 (second phase render with alpha blend AND alpha test, used for fading LOD leaves)

You can play with the mode but I suggest mode 4 or 6 to prevent "background bleeding" around the leaves.

Hope this helps

Login to post a reply

Server time is: 2024-11-25 09:47:47
Your offset time is: 2024-11-25 09:47:47