Advertisement

My first engine

Started by June 21, 2002 07:53 PM
12 comments, last by Jedi of Myth 22 years, 7 months ago
Big seams in skybox, and couldn''t see much difference between modes, but not bad for a first engine

Performance:
Normal:200fps
Motion blur:170fps
Radialblur/RB&MB:25fps

Machine:
Piii 933
512Mb mem
GF3Ti200 (latest drivers)
Pretty cool! For your regular motion blurring, what are you doing? Are you copying the backbuffer''s previous contents to a temporary buffer, then clearing the backbuffer and drawing the contents of the old backbuffer back over the scene somewhat blended?

Moe''s site
Advertisement
neither file will download
quote:
Original post by Moe
Pretty cool! For your regular motion blurring, what are you doing? Are you copying the backbuffer''s previous contents to a temporary buffer, then clearing the backbuffer and drawing the contents of the old backbuffer back over the scene somewhat blended?

Moe''s site


Yeah, Moe, that is pretty much what I am doing. I essentially render the particle stream twice for MB. The first time in a viewport of 512,512 and once at the regular screensize. The first render is of the particle system and whatever is saved in the MB texture (explained below.) The render is saved to an empty texture in memory and then the first scene is cleared to make way for the render of the real scene. I then set up an orthographic view and display the texture set at a transparency of .9 (or less if you want the blur to fade faster.) The texture of the particle system is used for the creation of the MB texture for the next frame during the next run through of the display loop. When the MB texture for the next frame is created, the image of the particle system from the previous frames will fade incrementally as .9 transparency is reapplied. This creates the nice trailing effect. I hope this you understand this explanation, I''m at work and can''t afford too much time for a well drawn out explanation.

Riptorn, I took down the demos because I tweaked the demo a little bit. Some people complained about the program crashing and problems with the multitexturing. I *think* I fixed the problem and added the option to enable or disable multitexturing. I''ll put up the new demo this weekend when I can afford some time.

I asked one of the Black Robes why the Deceiver wasn''t going to stay to defend the dam, and he tersely replied: "He goes to warn the Emperor; moving through odd angles, faster than any man, and if unobserved, much faster than that."

Elemental Engine: ryan_lurvey.tripod.com/engine.html
I asked one of the Black Robes why the Deceiver wasn't going to stay to defend the dam, and he tersely replied: "He goes to warn the Emperor; moving through odd angles, faster than any man, and if unobserved, much faster than that."Elemental Engine: ryan_lurvey.tripod.com/engine.html

This topic is closed to new replies.

Advertisement