• Advertisement
Sign in to follow this  

Real-time SIRDS model viewer explanation + source code

This topic is 2266 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

Hi everyone,

A couple of years ago, I did a project on viewing 3d models as SIRDS in real-time.
So, in case someone would like to know more on how SIRDS works,
or would want to play with the many tweakable settings in the demo,
or would simply want to view/use the C++ code, check out my article.

www.decarpentier.nl/sirds

It uses DirectX to continuously render any .X model from any angle as either a depth image or a SIRDS image.

To create the SIRDS images from the Z-buffer images each frame, it first loads the rendertarget into main memory,
then transforms the image into a SIRDS using a repeated, but constantly shifted, block of randomly colored pixels,
and lastly, it uploads it to video memory again, and is rendered as a quad.

Enjoy.

Kind regards,
Giliam

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement