Motion blur?

I’m using Xith3d to render a physical simulation and was wondering if it is possible with Xith or even with the openGL underpinnings to do motion blur with my objects?

I haven’t seen it mentioned in the forums before.

Thanks.

do u mean ‘motion blur’ or ‘fading trails’ (just to be clear).

I’m not totally sure, but I want the blur to be proportional with velocity of the object, so I’m guessing that’s motion blur rather than just trails right?

Thanks.

I heard that maybe true motion blur is quite hard to do, so if you’re implying that maybe this fading trails is a good alternative than I’m interested, any tips on how to do this in Xith or OpenGL would be greatly appreciated.

Thanks.

well trails is a simple one- the thing to find out mind it how to turn off the clearing of the view when render() is called.

next is a simple hack: but a transparent plain infrount of the camera. the more transparent the more trails u get. the transparent plain will be clearing the screen.

magic :slight_smile: the other way is to use an accumilation buffer- but this can be slow one some computer. what this duss is calls a draw a given number of times. it nicer if u have the 3d card. because it clears the buffers very nicely indeed.

hope that helps

If you are evaluating fading trails, a good production example that I have seen is GTA3 (where they partially use it to disguise low-poly models). Not always the cleanest of effects however.

Although, I imagine that true motion blur would be very computationally expensive (as well as being hard to do).

Will.

You can find Motion Blur example that uses Accumulation Buffer at http://www.sulaco.co.za/opengl.htm (this is OpenGL example).

Yuri