View Single Post
# 1 17-04-2006 , 12:58 PM
MattTheMan's Avatar
Registered User
Join Date: Apr 2005
Location: Fairfield, CT
Posts: 2,436

Source Code for Ice Ray v0.0.1

Well, people, I decided that I'll go ahead and release my source code for my raytracer, IceRay. This is mostly for any programmers here to comment and criticize it.

Well, nothing too interesting now, but today the featurelist will grow.

Right now the featurelist includes:
Diffuse Shading
Reflection
Point Lights
Area Lights
Soft Shadows
Supersampling

Just a note- if anyone wants to look and comment on my code w/e or just to use it in their own program, thats fine too. like I said, plz take the time to review my code if you can.

You can use this code for whatever you might want to do. Oh, except to sell it. Thats about it. But please, if you can c++ program, can you take a sec to look over it, tell me what I am doing right and what I am doing wrog?

Here's an image produced by it.
user added image

In the .zip file is a .exe (which is my raytracer), and some files called QuickCg. This is the codebase I use for putting colors on the screen.

Also, to use this, you need the Bloodshed Dev C++ compiler https://www.bloodshed.net/devcpp.html, which is free, and also you need the sdl library - www.libsdl.org.

Also, you need the SDL.dll file (which you can get from the libsdl website, which you need to put into your c:\windows\system32 files).

If you have a question or comment, you can either PM me or leave my a message at this thread. Also, you can request my Email, but, most likely, I wont give it to you :p

Attached Files
File Type: zip iceray v0.0.1.zip (56.5 KB, 441 views)

Live the life you love, love the life you live

Last edited by MattTheMan; 17-04-2006 at 08:31 PM.