- Compile the cpp files in the
src
folder to an executable (the CMake config will work, but use whatever you want). If you don't want to use CMake just callclang++ -D_CRT_SECURE_NO_WARNINGS src/*.cpp -o dist/cloud_tracer.exe
- Create an
output
folder inside of thedist
folder (Sorry somehow I could not get the .gitkeep to work) - Copy any
.xyz
file into thedist
folder - Create / Adapt a scene file (like
scene1.txt
) - Execute the executable from the
dist
folder passing the name of the scene file as command line arg (likecloud_tracer scene1.txt
) - Open the blender file
viewer.blend
and go to thescripting
tab - Execute the
ReloadOutput
script in blender
- does the output look reasonable?
- what is the exact xyz file interpretation?
- where is "up" / right handed or left handed?
- Sample3DTexture crashes for some Seeds or SamplesPerPixel (Probably fixed now?)