Page 1 of 1
[Resolved] Invalid boolean value
Posted: Wed Feb 07, 2007 3:26 am
by boweeb007
I'm getting this error when I try to use an .obj mesh:
Invalid boolean value
I can't seem to narrow down what's causing it. I've tried several different obj files, with the same result, and I've reviewed a lot of posts on test 3. Also, the scene works with the obj commented out.
(I'm using .7t3 with the updated indigo.exe for .obj.)
Posted: Wed Feb 07, 2007 10:16 am
by fused
look for wrong spelling in >true< or >false<
Posted: Wed Feb 07, 2007 1:08 pm
by IanC
Try looking for the normal_smoothing tag, it might be there your boolean is spelt wrong.
Posted: Thu Feb 08, 2007 1:33 am
by boweeb007
Here's the code. I can't find anything misspelled, but I could be wrong. If you want I can post the rest but considering it works with this block commented out, that may not be necessary. (I also tried using a 3ds file but I got the same error.)
Code: Select all
<!--Neptune-->
<mesh>
<name>neptune</name>
<normal_smoothing>yes</normal_smoothing>
<scale>1</scale>
<external>
<path>neptune.obj</path>
</external>
</mesh>
<model>
<pos>0 0 0</pos>
<scale>0.01</scale>
<rotation>
<matrix>
1 0 0 0 1 0 0 0 1
</matrix>
</rotation>
<mesh_name>neptune</mesh_name>
</model>
Posted: Thu Feb 08, 2007 1:55 am
by fused
sorry for laughing at you but this is really funny
what you should write:
Code: Select all
<normal_smoothing>true</normal_smoothing>
true is a boolean value. false too
Posted: Thu Feb 08, 2007 2:11 am
by boweeb007
That's alright - laughter is entirely appropriate!
I guess the stress is getting to me... I can't believe I missed that.
Thanks