First time here? Check out the Help page!
1 | initial version |
Are you sure that you aren't getting an oconv error ? You can troubleshoot your code by redirecting the stdout of oconv to a file. Then try and run rpict from command line using the same file that you wrote to in your C# code to see if your octree did get created without errors.
I have gotten the "fatal: truncated octree" error in the past due to incorrectly arranging materials in my files.
See below:
The file
#x.rad ..correct file..
!gensky 12 31 10
void plastic white
0
0
5 0.7 0.7 0.7 0 0
!genblinds white blinds 1 2 4 4 20 | xform -rz 90 -rx -90
works fine...
While the file below won't work
#x.rad
!gensky 12 31 10
!genblinds white blinds 1 2 4 4 20 | xform -rz 90 -rx -90
void plastic white
0
0
5 0.7 0.7 0.7 0 0