Archived

This topic is now archived and is closed to further replies.

I need a faster way to do additive blending !

This topic is 6165 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
Yeah man, you could just use BSP like quake does, and forget about all else... I use a combo of portals between bsp-encoded sectors so I can iterate whole objects, or whole rooms in 3d , or whole areas of space if not a room. Iteration rocks !!

Share this post


Link to post
Share on other sites
If your asm code is *well commented*, you can sent it to me and I will look at it over the weekend. (email in my profile)

*travois*

Share this post


Link to post
Share on other sites
* Utilize somekind of RLE blitting scheme (encoding all the completley transparent pixels for example and/or encode the ''runs'' as usual to reduce memory and cache usage)
* Since your obviously aiming for the x86 platform you could probably use MMX to speed things up, if you aren''t already.

Oh and keeping both the surface you are blitting from and the surface your blitting to in system memory usually speeds things up quite a bit. The same old "never read from video memory unless needed" applies here.


"This album was written, recorded and edited at Gröndal, Stockholm in the year of 2000. At this point in time money still ruled the world. Capitalistic thoughts were wide spread. From the sky filled with the fumes of a billionarie''s cigar to the deepest abyss drenched in nuclear waste. A rich kid was a happy kid, oh..dirty, filthy times. Let this be a reminder."
- Fireside, taken from back of the Elite album

Share this post


Link to post
Share on other sites