Free-directional/Raytraced Tunnels

Started by
-1 comments, last by noob 23 years, 7 months ago
Hi, I''ve been playing with real-time raytraced tunnels lately, and I have managed to scrape together some working code. The only problem I have is one of speed. At the moment I''m using a 16x16 grid and interpolating u,v coords to reduce the amount of raytracing- and a fixed point inner loop. The code goes along the lines of casting rays (origin+t*dist) with the view point inside of an infinitely long cyliner (r^2=x^2+y^2)... Anyone have any hints/tips about how I can squeeze as much juice as possible out of this baby!? Hope this isn''t too unreadable noob

This topic is closed to new replies.

Advertisement