DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Site Discussions > Articles Discussion
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-04-2003, 07:09 PM   #1
DmEditor
DevMaster Editor
 
Join Date: Jan 2005
Posts: 54
Default

The Basics of Raytracing
Author: Tom Hammersley
Description: The author runs through the basics of raytracing, the alogrithm, and some implementation techniques.
DmEditor is offline   Reply With Quote
Old 11-26-2003, 03:43 AM   #2
Mihail121
Senior Member
 
Mihail121's Avatar
 
Join Date: Jan 2003
Posts: 868
Post

OH YEAH!!!!

That article sure ROXXX!!! I succeeded to make a basic raytracer last night with simple one colored spheres. It's not big deal really but i'm sure glad i started that. Once again - great tutorial.

P.S.

Hey, don't forget to write some more articles on that subject!
Mihail121 is offline   Reply With Quote
Old 02-26-2007, 01:27 PM   #3
Loy
New Member
 
Join Date: Feb 2007
Location: The Netherlands
Posts: 1
Cool Re: The Basics of Raytracing

Nice article, but i've discovered that a formula is not correct.
The simplification of the abc-formule leaves a out, which cannot be be correct, because the root of a is not equal to a .

The abc-formula is in its simplest form in the upper image
Loy is offline   Reply With Quote
Old 02-26-2007, 01:32 PM   #4
Reedbeta
DevMaster Staff
 
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,707
Default Re: The Basics of Raytracing

Loy, the simplification works if you assume the ray direction is normalized; then a = 1. This is a standard optimization trick for ray-sphere intersection.
___________________________________________
Currently working at Sucker Punch
reedbeta.com - OpenGL demos and other projects
Luabridge - a lightweight, dependency-free C++/Lua binding library.
CD Lite - an unobtrusive, minimal CD player application for Windows.
Reedbeta is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 08:12 AM.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.