LDraw.org Discussion Forums
Generating miliona of Lego images - 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: Generating miliona of Lego images (/thread-26910.html)



Generating miliona of Lego images - Jerzy Orłowski - 2022-12-17

I need to generate milions of Lego visualizations.
I know more or less how to generate ldraw files programmatically.

How can I programmatically generate visualizations?

I would like to be able to:
- Change camera position
- change textures
- change lighting
-change background
 - add some noise objects

Any idea?


RE: Generating miliona of Lego images - Willy Tschager - 2022-12-18

http://www.holly-wood.it/ldview-en.html

w.


RE: Generating miliona of Lego images - Jerzy Orłowski - 2022-12-20

(2022-12-18, 8:10)Willy Tschager Wrote: http://www.holly-wood.it/ldview-en.html

w.

Thanks a lot!


RE: Generating miliona of Lego images - Jerzy Orłowski - 2022-12-20

(2022-12-18, 8:10)Willy Tschager Wrote: http://www.holly-wood.it/ldview-en.html

w.

LDView is takind the snapshots 

However, it seems to ignore -DefaultLatLong and -DefaultMatrix command line options.
I am using Linux Version 4.4.1 Do Yoiu know how to make it work?


RE: Generating miliona of Lego images - Orion Pobursky - 2022-12-20

(2022-12-20, 16:33)Jerzy Orłowski Wrote: LDView is takind the snapshots 

However, it seems to ignore -DefaultLatLong and -DefaultMatrix command line options.
I am using Linux Version 4.4.1 Do Yoiu know how to make it work?

Here's some more guidance on those 2 commands:
https://trevorsandy.github.io/lpub3d/assets/docs/ldview/Help.html#DefaultMatrix

Note that -DefaultLatLong overrides -DefaultMatrix on the command line.

Also, since these are string values you might try putting them in quotes.


RE: Generating miliona of Lego images - Travis Cobbs - 2022-12-21

(2022-12-20, 17:45)Orion Pobursky Wrote: Here's some more guidance on those 2 commands:
https://trevorsandy.github.io/lpub3d/assets/docs/ldview/Help.html#DefaultMatrix

Note that -DefaultLatLong overrides -DefaultMatrix on the command line.

Also, since these are string values you might try putting them in quotes.

There is a locale-related bug in the Qt version of LDView, where it interprets the comma in -DefaultLatLong as a decimal separator. We think we found a workaround until a new release can fix it for real.