LDraw.org Discussion Forums
New Parts for LGEO Library - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: Rendering Techniques (https://forums.ldraw.org/forum-20.html)
+--- Thread: New Parts for LGEO Library (/thread-16260.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


Re: New Parts for LGEO Library - Damien Roux - 2015-09-18

L3P has more or less being replaced by ldview.

Therefore the .lst files are no longer used (by most of the userd), that's why I don't provide them in my package. It has been kind of replaced by the lg_colors.inc and LGEO.xml files.

Currently, the complete LGEO library can be found in the Ldraw AIOI. My parts are not yet part of this AIOI, so you need to install them manually or wait for them to be integrated to the AIOI.


Re: New Parts for LGEO Library - Michael Horvath - 2015-09-18

I don't think LDView can generate a POV file from the command line however.


Re: New Parts for LGEO Library - Michael Horvath - 2015-09-20

In your patterned part INC files you are using colors like this (lg_3069bp68.inc):

Code:
material {LDXColor0 transform {L3LgeoToLDraw inverse} }

Whereas Lutz Uhlmann does it like this (lg_0251c01.inc):

Code:
material { texture { lg_red  normal { bumps 0.1 scale 2 } } }

Your way is inconsistent with older parts, and also makes your parts incompatible with L3P.exe. I think something should be changed.


Re: New Parts for LGEO Library - Michael Horvath - 2015-09-20

I created my own lg_colors.lst and lg_elements.lst, but there's no point releasing them because of the color problem below.


Re: New Parts for LGEO Library - Michael Horvath - 2015-09-20

I have the lg_tech_knob problem too. It's probably my fault, but how do I resolve it? I cannot find a lg_tech_knob file in any of the LGEO libraries.


Re: New Parts for LGEO Library - Damien Roux - 2015-09-20

lg_tech_knob, as all the other studs are defined in the lg_defs.inc file.


Re: New Parts for LGEO Library - Damien Roux - 2015-09-20

All the LGEO parts have been updated to use LDXcolorX color definitions.
I'm consitent with that.

I guess you LGEO library is not up to date.

I would suggest to restart from scratch and download the ldraw AIOI where you will find the last version of the LGEO library, then you should be able too add my parts without any problem.

I can render using L3P so you should have a problem in you settings somewhere.
Aslo, all the LDXcolorsX definitons are defined in the lg_colors.inc file, make sure you have that one.


Maybe Willy can also tell us if L3P is still supported by ldraw AIOI.


Re: New Parts for LGEO Library - Michael Horvath - 2015-09-20

As I said, Lutz Uhlmann's lg_0251c01.inc does colors like this:

Code:
material { texture { lg_red  normal { bumps 0.1 scale 2 } } }

As does lg_4592c01.inc.

And what do you mean "I can render using L3P"? L3P is not a renderer.

[edit]

I am now looking at Owen's parts. In lg_14769p01.inc and lg_3003pe1.inc he does this:

Code:
texture { lg_black }

So he is not using LDView color definitions either.


Re: New Parts for LGEO Library - Damien Roux - 2015-09-20

I meant: I can render a file generated by L3P with no problem.


I've looked into it a bit deeper, and my bad, I was sure LDXcolorX was the standard:

In fact, I can render either a L3P file or a ldview file, because I've made a file lg_colors_slope.inc that says as an example:
#declare LDXColor0 = material { texture { lg_black } }
#declare LDXColor0_slope = material { texture { lg_black normal { bumps 1 scale 25*0.02 } } }

I've made that file to be able to change the default slope grainy surface roughness of ldview.


With Ldview you get the LDXcolorX definition directely in the pov file.
With L3P you get L3colorX definition in the pov file.

If I replace all the LDXcolorX statements in all my pattern files, I will loose the ability to easily change slope surface roughness.
I don't want to do that.



2 solutions I guess:

L3P is officially discontinued and I will not change anything, but you can download my lg_color_slope.inc file which should solve your problem.

L3P is officially supported an I need to find a better solution or to create some kind of compatibility file.



Edit: Anyway, thanks for pointing this out. I'm quite prudent in releasing this personnal library. I want to make sure everything is OK before releasing it for the ldraw AIOI. That's also why I've said in the first post of this thread that the colors defintion should be ldview ones.



Edit2: have you solved your lg_tech_knob problem?


Re: New Parts for LGEO Library - Willy Tschager - 2015-09-20

L3P is not mentioned anywere, but will be silently installed by the AIOI 2015-01 'cos needed by
LPub3D. LDView does not support command line and Trevor wants some POVRay - a view I do not share, since LPub 4.x has happily lived with LDView and LDGlite as sole renderer for years, but it is his prog and not mine.

If you're going for L3P support it is your choice not my requirement.

w.