Advertisement

Motion Blöör

Started by August 06, 2002 01:39 PM
3 comments, last by Crispy 22 years, 6 months ago
Hi, I searched the Net in and out for a good motion blur example (pure WinAPI), but couldn''t find one. So I did a little thinking and implemented it myself. Well, sort of... Here''s how I did it (is it the correct way?): every frame I simply draw the blurred object some n frames back, each frame with a higher alpha value, resulting in something horribly slow on my machine. Is this normal? I know my gpu is antiquated (Riva TNT 2), but from the looks of it I''d say it only draws some < 10 fps (1152x864). Thanks, Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
pure WinAPI on an OpenGL forum...?
Yes that''s how it''s done. Of course it''s slow, you have to render everything multiple times. OpenGL has an accumulation buffer for it, don''t know how well it''s supported though.

------------
Where''d the engine go? Where''d it go? Aaaaaah!!
MSN: nmaster42@hotmail.com, AIM: LockePick42, ICQ: 74128155
_______________________________________Pixelante Game Studios - Fowl Language
Advertisement
i have seen a cool motion blur effect in MotoGP (a new game). I wonder how they did it.



www.web-discovery.net

IIRC, www.gametutorials.com has a pure WIN32API tutorial on motion blurring. I remember seeing one around the sites I visit though. I wish I could remember for sure.

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
quote:
Original post by LockePick
pure WinAPI on an OpenGL forum...?



I meant without the use of MFC.

quote:
Original post by Jedi of Myth
www.gametutorials.com has a pure WIN32API tutorial on motion blurring.



Thanks - checked it out. It''s done pretty much the same way I did it.

Thanks guys, anyhows!
Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared

This topic is closed to new replies.

Advertisement