Log in

No account? Create an account
How easy is it to write a basic ray-tracer? - Adventures in Engineering
The wanderings of a modern ronin.

Ben Cantrick
  Date: 2007-02-20 19:45
  Subject:   How easy is it to write a basic ray-tracer?
  Mood:superflu SUCKS
  Music:Madonna - Ray Of Light
  Tags:  computer graphics, ray tracing, reddit


So easy that this guy did it in a weekend! In C!

Yeah, I've been there. When I took my graduate level computer graphics class in college, we wrote a single-reflection raytracer for use under XWindows. Good times...
Post A Comment | 4 Comments | | Link

  User: dpcfmander
  Date: 2007-02-21 06:37 (UTC)
  Subject:   (no subject)
Ooooo... pretty abstract graphics! Too bad my flat rectangles and ovals will never do that.
Reply | Thread | Link

Trevor Stone: Trevor glowing grad macky auditorium
  User: flwyd
  Date: 2007-02-21 20:29 (UTC)
  Subject:   (no subject)
Keyword:Trevor glowing grad macky auditorium
The first few homework assignments in my graphics class were to build an ASCII raster device and do basic polygons using that before we got into drawing stuff in X. I kept up development of my ASCII raster device and with a little extra work late in the night/morning after I graduated, I made the ray tracing homework render some spheres as ASCII art.
Reply | Thread | Link

Ben Cantrick
  User: mackys
  Date: 2007-02-22 01:15 (UTC)
  Subject:   (no subject)
Woo, fancy! Nice thing about a ray-tracer, different output formats are so easy...
Reply | Parent | Thread | Link

Alex Belits: mona
  User: abelits
  Date: 2007-02-22 09:49 (UTC)
  Subject:   (no subject)
On the other hand, writing a 2ch-style SJIS output (with lines and textures converted to symbols) should be a challenge...
Reply | Parent | Thread | Link

May 2015