LDraw.org Discussion Forums

Full Version: POV Ray Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is be my first step to know basic about rendering. So please, be polite to Me.
If I remove this then everything is generated fine
Code:
rotate <20.000000, 0, 0>
rotate <0, -45.000000, 0>
rotate <0, 0, 0.000000>
So how fix this file. Any idea ??
The rotates should be inside the object.

Code:
//// ModelObject 3741c01.dat
object { _3741c01_dot_dat material { L3Color15 }
    rotate <20.000000, 0, 0>
    rotate <0, -45.000000, 0>
    rotate <0, 0, 0.000000>
}

instead of this
Code:
//// ModelObject 3741c01.dat
object { _3741c01_dot_dat material { L3Color15 } }
    rotate <20.000000, 0, 0>
    rotate <0, -45.000000, 0>
    rotate <0, 0, 0.000000>
This is work. Thanks.
I will be consider why LIC generate this in this way.

And i have another problem:
Parameters
c:/ldraw/l3p.exe "c:/ldraw/PARTS/33078.dat" -c16 -sw0.5
"d:/workspace/eclipse/lic/src/dist/cache/30210 - Frodo with cooking corner.lic/POVs/33078_16.pov"
-bu -b1.0,1.0,1.0 -cg20,-45,0 -q3 -o

Result
[attachment=1513]
What is wrong in this !?
That's because l3p simply doesn't accept the 2 color codes 16 or 24 from LDConfig.ldr.
For that reason, my LDConfig.ldr is patched, and the 2 lines commented-out.
However, this of course has the effect that other tools which take the look of color 16 or 24 from
LDConfig.ldr have to fallback to their built-in default for those 2 colors.
I think at some day maybe l3p could be fixed to accept these 2 colors.
I read cheerfully LDConfig.ldr one again. THere are marked a LDraw Internal Common. So I take special care, to handle this situation.