Ridley5 opened this issue on Jul 26, 2010 · 1724 posts
bagginsbill posted Mon, 02 August 2010 at 4:38 PM
I'm not getting email about posts, so I'm a little behind.
ADP - Is the output of LuxPoserGeom supposed to work in Lux or no? I have one spotlight and the poser box and I'm getting errors. I don't understand the Lux format yet, so I'm probably making some gross mistake. The contents look sensible but I don't understand how to use it.
I'm guessing I have to have a wrapper with a camera in it or something that includes the resulting test.lxs. Sorry if I'm being dense, but I haven't been able to study things - too busy with my job. But I'm very interested to make a simple box and one light work, so I can mess with materials and not worry about geometry, while I wait for work stuff to compile and so on.
I'm getting this from Lux:
[2010-08-02 17:33:25 Error: 24] Scene description must be inside world block; 'AttributeBegin' not allowed. Ignoring.
[2010-08-02 17:33:25 Error: 24] Scene description must be inside world block; 'LightSource' not allowed. Ignoring.
[2010-08-02 17:33:25 Severe error: 47] Parsing error in file 'test.lxs' at line 7: syntax error
The test.lxs I have begins like this (then follows a lot of numbers).
start poser scene
AttributeBegin
LightSource "spot"
color L [1.000 1.000 1.000 ]
float gain [1000.000]
point from [-0.96851054 1.36041787 -0.05046293 ]
point to [0.00000000 0.00000000 0.00000000 ]
float coneangle [70.000]
float conedeltaangle [70.000]
AttributeEnd
AttributeBegin
NamedMaterial "default"
Transform [2.62100000 0.00000000 0.00000000 0.00000000 0.00000000 2.62100000 0.00000000 0.00000000 0.00000000 0.00000000 2.62100000 0.00000000 0.00000000 0.00000000 0.00000000 2.62100000 ]
Shape "mesh"
"integer triindices" [
0 1 2
Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)