Jump to content


[Software] LDD2PovRay

pov-ray povray ldd_model glossy glossiness

  • Please log in to reply
733 replies to this topic

#76 bbqqq

bbqqq

    Posts: 690
    Joined: 01-November 10
    Member: 14020

Posted 10 July 2012 - 01:05 PM

37 min, 1024x768, AA, 2 lights, normal radiosity, phenom 9600. :classic:
Decals from photo and by paint.
Posted Image

view 23 min, same setting.
Posted Image Posted Image Posted Image

Edited by bbqqq, 12 July 2012 - 07:27 PM.

Four interactive Lego 360° panorama VR Virtual Tours hosted on pan0.net :
pbat island MOC / Bob De Quatre SoNE , My new brick designs

Posted Image  Posted Image  Posted Image  Posted Image  Posted Image

YouTube Lego Pinball  YouTube Lego Bowling  My Flickr


#77 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 10 July 2012 - 03:56 PM

View Postbbqqq, on 10 July 2012 - 01:05 PM, said:

37 min, 1024x768, AA, 2 lights, normal radiosity, phenom 9600. :classic:

Image
lego b-wing by nachapon 10-7-2012 by Nachapon S., on Flickr


23 min, same setting.
Image
lego b-wing bv by nachapon 10-7-2012 by Nachapon S., on Flickr

Wow, looks really good and in a reasonable time.  :classic:

Did you used 2 of those 3 built-in lights or completely different light setup? Will you share it with us?

May I put the first one into LDD2POVRay gallery? Do you have also PNG version?

#78 bbqqq

bbqqq

    Posts: 690
    Joined: 01-November 10
    Member: 14020

Posted 10 July 2012 - 04:32 PM

View Posthrontos, on 10 July 2012 - 03:56 PM, said:

Wow, looks really good and in a reasonable time.  :classic:

Did you used 2 of those 3 built-in lights or completely different light setup? Will you share it with us?

May I put the first one into LDD2POVRay gallery? Do you have also PNG version?

Thanks, I'm glad you like it.  :classic:
Please feel free to use it, without your LDD2POVRay and EB's digi.. forum I can't create them. :thumbup:

I used left light 70% and top 40%.

Edited by bbqqq, 13 July 2012 - 12:17 AM.

Four interactive Lego 360° panorama VR Virtual Tours hosted on pan0.net :
pbat island MOC / Bob De Quatre SoNE , My new brick designs

Posted Image  Posted Image  Posted Image  Posted Image  Posted Image

YouTube Lego Pinball  YouTube Lego Bowling  My Flickr


#79 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 10 July 2012 - 05:06 PM

View Postbbqqq, on 10 July 2012 - 04:32 PM, said:

Thanks, I'm glad you like it.  :classic:
Please feel free to use it, without your LDD2POVRay I can't create them. :thumbup:

I used left light 70% and top 40%.

Great, thanks. Is it possible to share the PNG version (without orange spot) on your Flickr account at least for a while?

I presume the top light was shadowless, since it does not seem to cast any shadow.

Edited by hrontos, 10 July 2012 - 05:07 PM.


#80 Superkalle

Superkalle

    Posts: 5509
    Joined: 21-December 08
    Member: 4755
    Country: Sweden

Posted 10 July 2012 - 05:12 PM

I'd like to ask some feedback about colors. As Hrontos mentioned, I was involved in trying to create a good color palette. I made endless renditions to compare with official TLG product photos. In this work, I was lucky to find some un-photoshoped product photos floating around the internet, and the goal was that LDD2PovRay should generate as realistic colors as possible right out of the box. Even so, I know some of the colors could be improved. Blue for example I struggled with a lot, and also Light Bluish Grey and Dark Bluish Gray. So if you have some ideas for better RGB-values, please share them :classic:

Also, I'd like to take the opportunity to clearify some things about the Call-back virtual filesystem. Some of you may be wondering - why is it needed? Why not let PovRay read the geometrise directly? Well, it was decided quite early to run this project completely by the book, since LDD2PovRay would use the LDD geometries and it would violate the EULA to use them without permission. So I was asked to mediate some contacts with TLG which I gladly did. TLG said that as a first step, the geometries need to be fully protected. And the call-back system does just that - it allows only PovRay to access the geometries.
Eurobricks Digital Design Forum - for all your LDD and Ldraw cravings

#81 bbqqq

bbqqq

    Posts: 690
    Joined: 01-November 10
    Member: 14020

Posted 10 July 2012 - 05:36 PM

View Posthrontos, on 10 July 2012 - 05:06 PM, said:

Great, thanks. Is it possible to share the PNG version (without orange spot) on your Flickr account at least for a while?

I presume the top light was shadowless, since it does not seem to cast any shadow.

The PNG version (without orange spot) uploaded.

I'm not sure about shadow setting, will check it later.

May I aks you or someone who may know, is there a way to do different settings of draft renderings of a model without to parsing(load includes, assign bricks?) every time?
Parsing always take long time.

Edited by bbqqq, 10 July 2012 - 05:47 PM.

Four interactive Lego 360° panorama VR Virtual Tours hosted on pan0.net :
pbat island MOC / Bob De Quatre SoNE , My new brick designs

Posted Image  Posted Image  Posted Image  Posted Image  Posted Image

YouTube Lego Pinball  YouTube Lego Bowling  My Flickr


#82 Seluryar

Seluryar

    Posts: 166
    Joined: 23-May 10
    Member: 10876
    Country: United States

Posted 10 July 2012 - 06:03 PM

bbqqq, Do you use 'All bevels" or just "visible bevels"?





Here are 2 of my latest renders

Posted Image
and
Posted Image
Click for larger sized images

Edited by Seluryar, 10 July 2012 - 06:05 PM.

With Lego, All things are possible
Posted Image  |  Posted Image  |  Posted Image  |  Posted Image

#83 bbqqq

bbqqq

    Posts: 690
    Joined: 01-November 10
    Member: 14020

Posted 10 July 2012 - 06:11 PM

I used the default "visible bevels". Next time I will try "All bevels", hi-res and without AA.
Four interactive Lego 360° panorama VR Virtual Tours hosted on pan0.net :
pbat island MOC / Bob De Quatre SoNE , My new brick designs

Posted Image  Posted Image  Posted Image  Posted Image  Posted Image

YouTube Lego Pinball  YouTube Lego Bowling  My Flickr


#84 C3POwen

C3POwen

    Posts: 405
    Joined: 01-November 10
    Member: 14029
    Country: United Kingdom

Posted 10 July 2012 - 06:50 PM

View PostSuperkalle, on 10 July 2012 - 05:12 PM, said:

I'd like to ask some feedback about colors. As Hrontos mentioned, I was involved in trying to create a good color palette. I made endless renditions to compare with official TLG product photos. In this work, I was lucky to find some un-photoshoped product photos floating around the internet, and the goal was that LDD2PovRay should generate as realistic colors as possible right out of the box. Even so, I know some of the colors could be improved. Blue for example I struggled with a lot, and also Light Bluish Grey and Dark Bluish Gray. So if you have some ideas for better RGB-values, please share them :classic:
I know that in the colours that I've been using for my own LDraw to POV-Ray renderings, I've taken cues from a number of places:

- Peeron
- Isodomos
- Lugnet (the transparent neon colours here are pretty good)

A lot of the colours on these sites are missing, and they don't always use the same names, so it can be tricky to check that you're looking at the colour you want (see Lugnet's metallic iridescent and dull colours as an example).

#85 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 10 July 2012 - 07:43 PM

View Postbbqqq, on 10 July 2012 - 05:36 PM, said:

The PNG version (without orange spot) uploaded.

I'm not sure about shadow setting, will check it later.

May I aks you or someone who may know, is there a way to do different settings of draft renderings of a model without to parsing(load includes, assign bricks?) every time?
Parsing always take long time.

Thank you for the uploading. Is Flickr making JPG automatically? Because picture is still presented as JPG. I resized it down to 800x600 to reduce the moire caused by JPG.

View Postbbqqq, on 10 July 2012 - 05:36 PM, said:

May I aks you or someone who may know, is there a way to do different settings of draft renderings of a model without to parsing(load includes, assign bricks?) every time?
Parsing always take long time.

POV-Ray does not allow to modify scene without reparsing it completely. This means, you cannot move a light or camera without compiling also rest of the scene.

"Only visible bevels" is the slowliest for parsing. Usually technic bricks contain much more bevels than studded bricks so with studded it does not make big difference during rendering, but parsing is faster with "all bevels". Fastest is to parse with Level of detail set to "basic LDD geometry". It corresponds to #declare ldd_level_of_detail = 0;. For the final render it can be changed to #declare ldd_level_of_detail = 2; or #declare ldd_level_of_detail = 3;.

Generally, geometry includes are big so LDD2POVRay does not cache them during reading, because it may require a lot of memory. But I will check how POV-Ray accesses these files and try to cache at least those with POV-Ray scripts. Hopefully it will help to speed-up parsing.

#86 Lego Otaku

Lego Otaku

    Posts: 1084
    Joined: 16-September 10
    Member: 13293

Posted 10 July 2012 - 08:21 PM

View Posthrontos, on 10 July 2012 - 09:45 AM, said:

Looks pretty good and would say in a reasonable time for such larger model.

I'd like to point out the rendering time can vary depending on the computer.   Computers with more CPU or cores will do better.  With dual XEON CPUs (both 6 cores + 6 hyperthread cores) I have up to 24 processes available.  A run of the mill Walmart computer may take as much as half a day to do the same render.

Quote

I wonder how these SW models would look like when rendered without base plane, with transparent background and then placed on some background image with stars, space or Milky Way. I did not tried such photoshopping yet, since my artistic talent is very limited.  :classic:

I'm itching to try that.  10179 Millennium Falcon maybe?

EDIT: loaded http://www.eurobrick...ndpost&p=797007, removed parts, fixed the top a bit to be lower, removed the boat mast on the rear (can't be bent anyway and converter doesn't handle flexible data), and now working on 4000x3000 render, no AA.  I also found a galaxy background to use if nothing goes wrong.

Edited by Lego Otaku, 10 July 2012 - 08:46 PM.


#87 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 10 July 2012 - 08:34 PM

View PostLego Otaku, on 10 July 2012 - 08:21 PM, said:

I'd like to point out the rendering time can vary depending on the computer.   Computers with more CPU or cores will do better.  With dual XEON CPUs (both 6 cores + 6 hyperthread cores) I have up to 24 processes available.  A run of the mill Walmart computer may take as much as half a day to do the same render.

I'm itching to try that.  10179 Millennium Falcon maybe?

Yes, of course, that's why we support mainly POV-Ray 3.7 - the older versions does not support parallel processing, so it was more complicated. With 24 parallel threads rendering a model you have really a mighty machine.

I am rendering the 10179 right now, but you will have it faster, since I have only 4 parallel threads.

Impressive on this model is the number of bevels 553 623 and number of objects the scene consist of - 796 874. Together consuming 2956 MB of memory.

If you really want to heat-up a bit your CPU, try some of the alienwar9's models.  :classic:

#88 Smartiac

Smartiac

    Posts: 14
    Joined: 27-March 08
    Member: 2946

Posted 10 July 2012 - 10:57 PM

So I've got everything up and running and I gotta say, it's awesome, thanks.  I'm wondering about something though, why do some of the colours of slopes look so odd?  The dark bluish grey will look different from one piece to the next.

#89 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 10 July 2012 - 11:07 PM

View PostSmartiac, on 10 July 2012 - 10:57 PM, said:

So I've got everything up and running and I gotta say, it's awesome, thanks.  I'm wondering about something though, why do some of the colours of slopes look so odd?  The dark bluish grey will look different from one piece to the next.

I am glad you like it.  :classic:

Do you have some example of that mentioned odd colours of slopes? Could you please, post some test image? Materials and colors of the materials are not defined on per brick basis so two bricks with the same colour and material should look the same.

#90 Lego Otaku

Lego Otaku

    Posts: 1084
    Joined: 16-September 10
    Member: 13293

Posted 10 July 2012 - 11:48 PM

View Posthrontos, on 10 July 2012 - 08:34 PM, said:

Yes, of course, that's why we support mainly POV-Ray 3.7 - the older versions does not support parallel processing, so it was more complicated. With 24 parallel threads rendering a model you have really a mighty machine.

I am rendering the 10179 right now, but you will have it faster, since I have only 4 parallel threads.

Hee hee done in a couple hours, initial image at 4000x3000 with no AA, all bevel (not just visible), and no background.

Quote

Impressive on this model is the number of bevels 553 623 and number of objects the scene consist of - 796 874. Together consuming 2956 MB of memory.

If you really want to heat-up a bit your CPU, try some of the alienwar9's models.  :classic:

I'll have to look at them.  One of my moc with about 1,000 pieces took almost 8 hours to do on my main.  transparency can reduce even the best machine to a crawl and one of my moc had a lot.


Anyway here's MF with galaxy in the background: 1420x1140 image  Looks kind of close to end of Ep5 when Lando and Chewie left to look for Jabba so they could rescue Hans.

Edited by Lego Otaku, 10 July 2012 - 11:51 PM.


#91 bbqqq

bbqqq

    Posts: 690
    Joined: 01-November 10
    Member: 14020

Posted 11 July 2012 - 12:33 AM

View Posthrontos, on 10 July 2012 - 07:43 PM, said:

Thank you for the uploading. Is Flickr making JPG automatically? Because picture is still presented as JPG. I resized it down to 800x600 to reduce the moire caused by JPG.

I didn't noticed that, but the 1024x768 shoud be in "all size" in Flickr.
Please try to download PNG from my brickshelf gallery or page 6
Posted Image

Edited by bbqqq, 11 July 2012 - 12:50 AM.

Four interactive Lego 360° panorama VR Virtual Tours hosted on pan0.net :
pbat island MOC / Bob De Quatre SoNE , My new brick designs

Posted Image  Posted Image  Posted Image  Posted Image  Posted Image

YouTube Lego Pinball  YouTube Lego Bowling  My Flickr


#92 Seluryar

Seluryar

    Posts: 166
    Joined: 23-May 10
    Member: 10876
    Country: United States

Posted 11 July 2012 - 01:44 AM

Is it me or does this converter put in random spaces between parts that make each render look hand-built?

example below:
Posted Image
With Lego, All things are possible
Posted Image  |  Posted Image  |  Posted Image  |  Posted Image

#93 copperwonder

copperwonder

    Posts: 18
    Joined: 10-March 09
    Member: 5520

Posted 11 July 2012 - 05:44 AM

Having Trouble with render after I click run I get the following error... (I seem to be close to resolution per others with similar issues)
Here is my message:


Preset INI file is 'C:\Users\Wonder\Documents\POV-Ray\v3.7\ini\quickres.ini', section is '[512x384, No AA]'.
Preset source file is 'C:\Users\Wonder\Desktop\5ShopALL.pov'.
Rendering with 4 threads.
Parser Options
  Input file: C:\Users\Wonder\Desktop\5ShopALL.pov
  Remove bounds........On
  Split unions.........Off
  Library paths:
    \\.\LDDIncludes
    C:\Users\Wonder\Documents\POV-Ray\v3.7\include
    C:\Windows\Fonts
  Clock value:    0.000  (Animation off)
Image Output Options
  Image resolution.....512 by 384 (rows 1 to 384, columns 1 to 512).
  Output file..........C:\Users\Wonder\Desktop\5ShopALL.png, 24 bpp PNG
  Dithering............Off
  Graphic display......On  (gamma: sRGB)
  Mosaic preview.......Off
  Continued trace......Off
Information Output Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On
Possible Parse Error: Cannot find file 'ldd_colors_declarations.bin', even after trying to append file type
extension.
-
"\\.\LDDIncludes\ldd_default_colors.inc" line 20: Parse Error: Cannot open include file
ldd_colors_declarations.bin.

Render failed
-
CPU time used: kernel 0.03 seconds, user 0.00 seconds, total 0.03 seconds.
Elapsed time 0.41 seconds.
----------------------------------------------------------------------------

LDD to POV Converter is running in background. I've tried moving the POV file to the desktop etc but nothing. The error seems simple but can't figure it out. BTW this is an awesome looking tool!
Thanks for your help.

#94 bbqqq

bbqqq

    Posts: 690
    Joined: 01-November 10
    Member: 14020

Posted 11 July 2012 - 07:09 AM

View PostSeluryar, on 11 July 2012 - 01:44 AM, said:

Is it me or does this converter put in random spaces between parts that make each render look hand-built?

Because you checked "Use part position variances"?

Edited by bbqqq, 11 July 2012 - 07:10 AM.

Four interactive Lego 360° panorama VR Virtual Tours hosted on pan0.net :
pbat island MOC / Bob De Quatre SoNE , My new brick designs

Posted Image  Posted Image  Posted Image  Posted Image  Posted Image

YouTube Lego Pinball  YouTube Lego Bowling  My Flickr


#95 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 11 July 2012 - 07:44 AM

View PostLego Otaku, on 10 July 2012 - 11:48 PM, said:

Hee hee done in a couple hours, initial image at 4000x3000 with no AA, all bevel (not just visible), and no background.



I'll have to look at them.  One of my moc with about 1,000 pieces took almost 8 hours to do on my main.  transparency can reduce even the best machine to a crawl and one of my moc had a lot.


Anyway here's MF with galaxy in the background: 1420x1140 image  Looks kind of close to end of Ep5 when Lando and Chewie left to look for Jabba so they could rescue Hans.

That was really fast, no chance to be that fast with only 4 cores. So I will have to wait a "bit" more for mine.

#96 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 11 July 2012 - 09:56 AM

View Postcopperwonder, on 11 July 2012 - 05:44 AM, said:

Having Trouble with render after I click run I get the following error... (I seem to be close to resolution per others with similar issues)

LDD to POV Converter is running in background. I've tried moving the POV file to the desktop etc but nothing. The error seems simple but can't figure it out. BTW this is an awesome looking tool!
Thanks for your help.

Which version of POV-Ray 3.7 are you exactly using (RC3, RC5, RC6, 32bit, 64bit)? And which OS are you using? Note: 32bit version of LDD2POVRay does not work with 64bit version of POV-Ray.

#97 copperwonder

copperwonder

    Posts: 18
    Joined: 10-March 09
    Member: 5520

Posted 11 July 2012 - 10:27 AM

View Posthrontos, on 11 July 2012 - 09:56 AM, said:

Which version of POV-Ray 3.7 are you exactly using (RC3, RC5, RC6, 32bit, 64bit)? And which OS are you using? Note: 32bit version of LDD2POVRay does not work with 64bit version of POV-Ray.
THAT'S IT! I was using the 32 Bit version of LDD to POV with the 64 Bit Version of POV-Ray!
I uninstalled the 32 bit LDD to POV ray and selected the 64 BIT from your website. I restarted, tried again and it works! It is beautiful. Wow, I am so impressed. Great Job! and thank you!
(add to Troubleshooting)

#98 kamos

kamos

    Posts: 31
    Joined: 18-August 11
    Member: 19856
    Country: Slovakia

Posted 11 July 2012 - 04:24 PM

After 14 and half hours of rendering on 1920x1080 0.3AA (Intel I5 760), the result is awesome. But I have a question:
"Titanium metallic" color on my render seems to be somehow..."oiled" (the rainbow spectrum happening if is water combined with oil) instead of solid gloss color.
Posted Image
Is this supposed to happen?

#99 hrontos

hrontos

    Posts: 707
    Joined: 05-August 11
    Member: 19500
    Country: Slovakia

Posted 11 July 2012 - 05:34 PM

View Postkamos, on 11 July 2012 - 04:24 PM, said:

After 14 and half hours of rendering on 1920x1080 0.3AA (Intel I5 760), the result is awesome. But I have a question:
"Titanium metallic" color on my render seems to be somehow..."oiled" (the rainbow spectrum happening if is water combined with oil) instead of solid gloss color.
Is this supposed to happen?

Unfortunatelly the metallic, pearl and translucent materials are quite difficult to define. Mainly because their final appearance strongly depeneds on the lighting. So the current definitions of those materials are not very good, only some of them produce good results and sometimes only when not looking too closely. :-)

As Superkalle mentioned, if anybody has some proposals or better custom materials or color definitions, please, share them with us. More people can make more tests so we can have better materials sooner.

Thank you.

#100 Calabar

Calabar

    Posts: 2181
    Joined: 11-April 10
    Member: 10232
    Country: Italy

Posted 13 July 2012 - 08:17 AM

Discussion about bbqqq rendering and relative contest moved in a separate topic.
"Official LEGO Sets made in LDD" topic: Read guidelines before posting!





Also tagged with one or more of these keywords: pov-ray, povray, ldd_model, glossy, glossiness

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users