Hi,
I'm trying to learn Radiance and got stuck with the following error
using oconv on a mesh which I created using obj2mesh.
oconv: fatal - (test.rtm): undefined modifier "obj2mesh"
Any ideas as to what I'm doing wrong (below)?
Thanks,
Bob
···
------------------------------------------------------------------------------------
I'm running the 3.5 Linux binaries distribution.
Here's what I typed in:
$ obj2mesh test.obj > test.rtm
Mesh statistics:
0 materials
1 patches (0.00 MBytes)
8 vertices (0.0% w/ normals, 0.0% w/ uv)
12 triangles (100.0% local, 0.0% joiner)
1 leaves in octree (0.0% empty, 12.00 avg. set size)
$ oconv test.rtm > test.oct
oconv: fatal - (test.rtm): undefined modifier "obj2mesh"
$ cat test.rtm
#?RADIANCE
obj2mesh test.obj
FORMAT=Radiance_tmesh
[.....]
bob coyne wrote:
Hi,
I'm trying to learn Radiance and got stuck with the following error
using oconv on a mesh which I created using obj2mesh.
oconv: fatal - (test.rtm): undefined modifier "obj2mesh"
[...]
$ oconv test.rtm > test.oct
oconv: fatal - (test.rtm): undefined modifier "obj2mesh"
You did study the obj2mesh man page, right?
Obj2mesh reads a Wavefront .OBJ file from input.obj (or the
standard input) and compiles it into a RADIANCE triangle mesh,
which is sent to output.rtm (or standard output). [...] This
mesh may be included in a RADIANCE scene description via the
mesh primitive, thus:
mod mesh id
1+ output.rtm [xform args]
0
0
A compiled mesh file is not a normal Radiance scene file,
so you can't feed it directly into oconv. Use a mesh
primitive as explained in the man page and make sure
that it points to the right file. Then let oconv process
the file containing the mesh primitive.
-schorsch
···
--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/
Georg Mischler wrote:
bob coyne wrote:
> Hi,
>
> I'm trying to learn Radiance and got stuck with the following error
> using oconv on a mesh which I created using obj2mesh.
>
> oconv: fatal - (test.rtm): undefined modifier "obj2mesh"
>
> [...]
>
> $ oconv test.rtm > test.oct
> oconv: fatal - (test.rtm): undefined modifier "obj2mesh"
You did study the obj2mesh man page, right?
Not carefully enough apparently. It said the mesh "*may*
be included in a Radiance scene description...", so I
assumed that was just an optional way to reference it.
I didn't realize it was required. I should have tried it though.
Thanks for the help.
- Bob