I’ve taken an obj export from revit and attempted to run oconv to create an octree to render a scene. I do not get any warning messages in the terminal but the resulting octree does not open in accelerad for viewing.
The following code is used to convert the obj file to rad
Your environment is somehow causing the output to be in a 16-bit/character format rather than pure binary. Here is the output of the first few bytes using “hexdump -c”:
0000000 <FF> <FE> # \0 ? \0 R \0 A \0 D \0 I \0 A \0
0000010 N \0 C \0 E \0 \r \0 \n \0 o \0 c \0 o \0
0000020 n \0 v \0 \0 - \0 f \0 \0 J \0 u \0
0000030 n \0 2 \0 1 \0 _ \0 1 \0 2 \0 0 \0 0 \0
0000040 _ \0 s \0 s \0 . \0 s \0 k \0 y \0 \0
0000050 2 \0 2 \0 2 \0 0 \0 5 \0 0 \0 _ \0 R \0
0000060 2 \0 2 \0 _ \0 8 \0 6 \0 _ \0 C \0 O \0
Unfortunately, Radiance materials have very different definitions than other graphics packages, so the .mtl file you have will not serve as part of the Radiance scene description. You will have to replace the materials with your own definitions, or ones gleaned from other Radiance data sets.
No, the problem is caused by using the PowerShell with default output configured, as explained in the other post I referenced in my reply. You need to change the PowerShell’s settings or use some other command-line interface.