Jump to content
Site Stability Read more... ×
  • Advertisement
Sign in to follow this  

Real-time SIRDS model viewer explanation + source code

This topic is 2868 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.


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.


Kind regards,

Share this post

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!