Open lhurt51 opened 7 years ago
Do you have any more information: operating system, strace/debugging output maybe? I just checked on my laptop running Linux and can't seem to replicate what you're seeing.
I am using a Mac 2017 on OS Sierra using the Linux terminal. It just segfaults before putting anything into the BMP so the BMP is not updated with the spaceship.
Do you have output that looks like this before the segfault: ... Face flags: 407 Polygon point a: 646 Polygon point b: 647 Polygon point c: 648 Face flags: 407 ChunkID: 4130 ChunkLenght: 400 ChunkID: 4150 ChunkLenght: 7d6 Polygons: 500
After this is should start the ray-tracing process. If you don't see the above, could it be that your copy of the 3d spaceship object got corrupted somehow?
Whenever I run the executable with the scene.txt file and the spaceship.3ds file, I get caught in a segmentation fault after the final iteration in the program.