LDraw.org Discussion Forums
POV Ray Problem - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw File Processing and Conversion (https://forums.ldraw.org/forum-22.html)
+--- Thread: POV Ray Problem (/thread-15755.html)



POV Ray Problem - Jarema - 2015-03-03

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 ??


Re: POV Ray Problem - Stephen - 2015-03-03

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>



L3P Problem - Jarema - 2015-03-03

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 !?


Re: L3P Problem - Steffen - 2015-03-03

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.


Re: L3P Problem - Jarema - 2015-03-04

I read cheerfully LDConfig.ldr one again. THere are marked a LDraw Internal Common. So I take special care, to handle this situation.