[Coco] Raytracing on the CoCo

Walter Zambotti zambotti at iinet.net.au
Thu May 16 00:08:32 EDT 2019


I've been playing with Joel Yliluoma' raytrace C++ for DOS and have
converted it to the CoCo.

 

It is designed to output to a 16 color palette with dithering!  Ok so might
look good on the CoCo!!!

 

On my i7-3740 2.7Ghz it produces a 320x192 frame every 2.8 seconds.  No GPU
acceleration. With acceleration 18+ frames per second.

 

On OVCC running at 184.16mhz it takes 9.3 seconds to draw one pixel.

 

Times that by 320x192 pixels and that blows out to 6.67 days to draw one
frame.

 

On a 1.8mhz CoCo that would be 675 days.

 

The code is over 500 C lines long and actually compiles on the CoCo.

 

Walter

 

 



More information about the Coco mailing list