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.

Dark GDK / Plain/Plane Particle Transparency/Clipping Issues

Author
Message
Tibbs
20
Years of Service
User Offline
Joined: 8th Jun 2004
Location: Kalamazoo, MI
Posted: 3rd Jun 2006 06:11
All right 'yall: here's a tricky problem.

We are trying to code some simple smoke trails, but our smoke image is not working. It is clipping the other particles, and even obscuring our cannon models. We have tried png's and even some with black backgrounds for ease of alphamapping, but to no avail.



Please help!

Pyrokinesis.gotdns.com
Math89
20
Years of Service
User Offline
Joined: 23rd Jan 2004
Location: UK
Posted: 3rd Jun 2006 12:41
There is a 'disable object zwrite' in dark basic, I think there is the same thing in DGsdk.
Denaje
19
Years of Service
User Offline
Joined: 5th Feb 2005
Location:
Posted: 6th Jun 2006 00:35
I had the exact same problem, but using this command, it now works great.

The command is dbDisableObjectZWrite(int id)

The documentation is wrong.
Zeal
22
Years of Service
User Offline
Joined: 10th Oct 2002
Location: Colorado Springs, CO
Posted: 6th Jun 2006 12:28
Doesnt disable object z write make the particles draw ontop of everything tho?

All you need is zeal
Kaiyodo
19
Years of Service
User Offline
Joined: 24th Aug 2005
Location: UK
Posted: 6th Jun 2006 15:47
Disabling z read would make the particles draw on top of everything (assuming you rendered them last). Z write will just make them 'invisible' in the zbuffer.

Login to post a reply

Server time is: 2024-11-19 06:49:17
Your offset time is: 2024-11-19 06:49:17