Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,789 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
particles dithering #10919
11/14/02 22:55
11/14/02 22:55
Joined: Sep 2000
Posts: 300
Ohio, USA
V
vrkaya Offline OP
Senior Member
vrkaya  Offline OP
Senior Member
V

Joined: Sep 2000
Posts: 300
Ohio, USA
I have some particles that are filling a room with smoke & fire. Since the framerate would become unacceptable, I'm using fog to make the bulk of the level appear to be smoke-filled.

I want the particles to only appear as the player gets within a certain range of them. Since particles are not affected by fog, I am doing this to simulate that they are being affected. I've setup some distances where the particles will start to appear and a range of distance where they will slowly fade in to view.

I calculate what I call an "alpha_factor" variable based on the distance of the camera from the particles. Then I use this as a global value that affects the opacity of the particles. So if the as the particles are created, the alpha_factor is added into any lines that adjust the particle's alpha. This affects the particles in a general manner, but allows them to adjust their own alphas as they live. So if "alpha_factor" calculated to .20, this would make the entire particle effects 20% of their normal opacity. Surprisingly, this part is working very well.

The problem is that when the entire particle effect (we're probably talking 1000 individual particles here) is set to a low alpha value, and is only faintly visible, there is what looks to be alot of dithering present.

The dithering doesn't look too bad if I have the resolution set to a high value, but I need to keep this set to something around 800x600 because of framerate issues. What makes the dithering look so bad is that I can see many tiny black pixels. At the lower resolutions, this stands out.

Is there any way to remove this dithering?

I'm using 32 bit mode and the particle bitmaps are 24 bit images, so I can't figure it out.

Thanks,
Ron

Re: particles dithering #10920
11/16/02 08:22
11/16/02 08:22
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline
Senior Expert
ello  Offline
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
maybe ist 16 bit depth (you need the professional edition for 32 bits) try it in window mode.

i´ve got the same dithering and in window mode it does not appear.

ps: set the bit depth to 32 in your level.wdl


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1