ray4
ray4 copied to clipboard
Ray4 is a 4D raytracer original developed for my 1991 master's thesis in computer science
Here's a simple slicer that converts to a PPM image stream. I tested briefly piping to `ffplay -` from the ffmpeg project. Note that it ignores aspect ratio. ```c #include...
ray4 parser always says unexpected 0xfe, which comes from ReadChar returning -2 (the code for nothing in the un-read buffer). Commit ed1f0fb6bf540987b9074e508f46701405ceb00b did something bogus it seems, it needs to...
As a CMake neophyte I'm not sure this is the best solution but it works for me: ```diff diff --git a/ray4/CMakeLists.txt b/ray4/CMakeLists.txt index 79cf8c9..a05d896 100644 --- a/ray4/CMakeLists.txt +++ b/ray4/CMakeLists.txt @@...
What's the output? Possibly a special 3D image file, plus a viewer that shows you a specific slice. Or generate movies. For the first iteration, do something crude and simple.