Important alert: (current site time 7/16/2013 3:22:25 AM EDT)
 

winzip icon

RayTrace 1.1.14

Email
Submitted on: 12/16/2000 1:07:09 PM
By: Filip 
Level: Advanced
User Rating: By 29 Users
Compatibility: VB 5.0, VB 6.0
Views: 20524
 
     This is the 3th submit of my great ray tracing code. Now it features: * Scanline culling (more speed) * Reflective objects * Diffuse lighting * Specular lighting * Ambient lighting * Sphere objects * Cylinder objects * Disk objects * plane objects Please vote for this great code!

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

12/16/2000 1:22:45 PMJB

Very cool!
(If this comment was disrespectful, please report it.)

 
12/16/2000 1:25:04 PMJohannes.B

Please continue with these... and i want more values to change! =)
(If this comment was disrespectful, please report it.)

 
12/16/2000 1:47:51 PMoet@crosswinds.net

Good code! Keep up the good work. =)
(If this comment was disrespectful, please report it.)

 
12/16/2000 2:56:55 PMMark Withers

Bit still on the slow side, but like the last one this code doesn't crash my computer for some reason. So i've got to give you 5*'s i'm afraid. (ACE!)
(If this comment was disrespectful, please report it.)

 
12/16/2000 5:36:27 PMSimon Price

Very cool! Everyone is trying to do real time, we need more quality renderers like this. Unfortunately I can't understand all that maths still. Can you do a ray-triangle intersection? Like, then you could load a file full or polygons and render it. That would be even cooler! 5/5 again:)
(If this comment was disrespectful, please report it.)

 
12/16/2000 9:41:01 PMNathan Chere

Any plans on making a full rendering program instead of just an engine set-up? If you want help with what you're doing Now3D is an awesome raytracer made in 3D, maybe the author of that would be willing to help you out. Now3D can create full-on realistic stuff.
(If this comment was disrespectful, please report it.)

 
12/18/2000 6:46:10 AMVegard

Really nice, keep up the good work.. hard to understand the code dogh
(If this comment was disrespectful, please report it.)

 
1/9/2001 5:22:07 PMNiall Mooney

Brilliant, 5 votes!
(If this comment was disrespectful, please report it.)

 
1/15/2001 4:09:21 PMPsyVision

Ace Work, Maybe Textures Next :) 800 Globes.
(If this comment was disrespectful, please report it.)

 
1/21/2002 7:19:14 AMMad

gr8 stuff!

but hey, just with 3 cilcks i speedes up your code about 20%

replace in the whole projekt ' single'
with ' double' and ' integer' with ' long'. then, you only have to chage the parameter of the unload-event back to integer.

double and longs are faster!

Mad
(If this comment was disrespectful, please report it.)

 
3/19/2004 11:55:38 AMRoy v.d. Maas

Why not make it Tray Race?
(If this comment was disrespectful, please report it.)

 
5/1/2007 4:18:42 AMHamed Sheidaian

Dear Filip

How can I add reflection and refraction to this code ?

Best Regards
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.