Building a Ray-Tracing 3D Renderer

Sign in to queue

The Discussion

  • User profile image
    Giles Papworth

    Nice effort! Well i mean great. I had always wanted to produce something like this but i am still grasping the initial understanding of c++ let alone raytracing.

    Keep the efforst going i would love to see how far you get with this Wink

  • User profile image
    machineman9

    That is looking good, what will you be using it in, in the future?

  • User profile image
    arun.philip

    Raytracing is something I'd very briefly visited in the past, back when I was in C++ on DOS.

    Your article has once again sparked my interest in it - so off to fool around with your code samples!

  • User profile image
    Paul

    Nice one. Seems "not that hard", though, even if I wouldn't have known where to start anything like that.

  • User profile image
    Joe_Suchy

    Very cool!!  It is excellent to see someone still writing cool and efficient code in C/C++!

  • User profile image
    Matthew

    Hi, Can you publish some sort of app or publish the code please, it looks great! I cant wait to mess around

  • User profile image
    Vishal

    Cool Project. Thanks a ton for sharing. I can't wait to see your code. Would like to see more articles from you in future.

  • User profile image
    Colin

    That's amazing! With a supercomputer, would this be able to render in realtime? Is this the future of computer graphics?

  • User profile image
    Daniel

    Wow!

    Just shows what can be accomplished will a little coffee... (I'm assuming you used the power of coffee to keep you coding).

    Dan

  • User profile image
    Krister

    This is SO cool! Thanks for the nice crash-course in raytracing!

  • User profile image
    Gohan

    Nice program!!!! I downloaded the source code and started to play with it and it's great. I am trying to understand the source code but it is very difficult cuz there are not much comments. Do you have a version of this program with detail comments!? If you do it would be great to have!!!

  • User profile image
    Willy C

    Very nice. Although I'm nowhere near that level, I like the idea. Also, if you felt like it, instead of making it just a screenshot, make it the renderer for your entire game... it would be very interesting to say the least. Only 480k pixels to go in a 600x400 game, but whats the fun in that Big Smile I must say the image is spectacular for a bmp, which i am assuming they are. Just curious as to the resolution of the images. Anywho very nice.

  • User profile image
    Nathan

    I was astounded at this article.  I am a heavy C++ programmer with strong roots into things like pov-ray and ArtOfIllusion.  This just blew my mind away.

    A great article, 5/5

    I especially like the, "Looking up at the underside of a high-in-the-sky sphere."

  • User profile image
    Clint

    the download link is on the top of the page

  • User profile image
    movingstorm

    Is the version in the pics different than the one you can download?? I ran the code to see what it can do but get is a window that pops up with nothing but #'s and &'s accrost it.

  • User profile image
    Jared

    Compiles and runs just fine on MacOS X 10.4.11 (PowerPC). Very cool stuff.

  • User profile image
    Kahlan

    I think this is an awesome idea. Kind of reminds me of icon forge though. Very cool

  • User profile image
    Anonymous

    If you are using this with Visual C++ 2008 express, I would suggest downloading the most recent version of the source code (see download link above) and letting the program "update" the source code (which is from VS 2005).  

    To update, unzip the source files, then open pixelmachine_20070220/VisualStudio2005 and select the "pixelmachine" file that is a VC++ Project.  Express should then launch a conversion wizard.

    PS Fun Project!!

  • User profile image
    Clint

    @David, I suggest trying some off the shelf 3D rendering software.  There are some open source free things that may be able to do what you're asking.

  • User profile image
    David

    I am do not write code, and I am looking for an off the shelf software that I can learn and apply towards creating "the shape of shadows."  My goal is to see what shadows are cast onto an array of solar cells from nearby structures ,such as office buildings, homes, etc.  I do not need anything more than just the area and dimensions of black shadows.  I will provide the 3D volumes of the nearby structures by exporting CAD models.  Any suggestions?

  • User profile image
    Tobias

    http://www.superjer.com/pixelmachine/img023.jpg

    Do you know the seed that you used for that? I really like that location.

  • User profile image
    Adamanteus

    What you've done - excellent program, but no bibliography at end — not easy to understand the concepts of it.

  • User profile image
    Eru

    Wow.. cool journey Smiley

    It sure looks fun

  • User profile image
    ge-force

    Cool! WOuld this be possible in c#?

  • User profile image
    Clint

Add Your 2 Cents