Jump to content


[Software] LDD2PovRay talk

LDD2PovRay LDD render software rendering minifig LDD to POV-Ray

  • Please log in to reply
655 replies to this topic

#1 Superkalle

Superkalle

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

Posted 05 July 2012 - 11:29 PM

Martin Hronský today released LDD2PovRay; a tool that for the first time allows LDD users to create photo-realistic renderings directly from a LDD model.

The list of features is pretty impressive. Here's a quote from the homepage, http://ldd2povray.lddtools.com/

Quote

  • enables photo-realistic rendering of any LDD model using POV-Ray™ for Windows
  • supports geometries of all LDD bricks - new bricks are supported automatically
  • several key POV-Ray™ parameters such as scene setup, lights, focal blur and radiosity can be set directly from LDD to POV-Ray GUI
  • choice four different levels of the details
  • option to apply bevels and LEGO® logo on studs for increased photorealism
  • option to use edge outlining for creating building instruction style images
  • slight random brick color variances to simulate differences in brick colors of bricks produced in different batches
  • slight random brick position variances to similate building imperfections of a real model
  • randomized rotation of  relevant bricks (e.g. 1x1 round plate) to simulate variation in rotation as it would appear building real models
  • optimized and fine-tuned color palette for very realistic output
  • highly customizable: brick surfaces, color palettes, materials, lights, color variance, brick position variance and more

And here are some test renderings (click on image for high res version):
Posted Image

Posted Image
Eurobricks Digital Design Forum - for all your LDD and Ldraw cravings

#2 CallMePie

CallMePie

  • Magic 8 Ball


    Posts: 11597
    Joined: 27-August 09
    Member: 7199
    Country: Florida, USA

Posted 05 July 2012 - 11:38 PM

First download. Excited to see how this works, those renders look amazing.  :sweet:

Posted Image

I'm amazed.  :cry_happy:

Edited by CallMePie, 06 July 2012 - 12:03 AM.

Posted ImagePosted ImagePosted Image
Atramor Gibbin, Level 31 Regulator in Sandy's Heroica RPG
CallMePie, Imperial Snowtrooper in the Shadows of Nar Eurbrikka

#3 bbqqq

bbqqq

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

Posted 06 July 2012 - 01:46 AM

Thanks, this is what we are looking for! *oh2*
My 10226_sopwith_camel is the first pic in the Gallery. :sweet:
So from now on, should we have option to use POV pic for LXF post if all parts are converted correctly?

Posted Image


This ship took 5 hours to render at 3200x2400 noAA, 2048x1745 on Flickr. (CPU AMD Phenom 9600)
Posted Image
Lego pirate find 11 spots game by nachapon _ by Nachapon S., on Flickr
Posted Image
Lego Counter-Strike de_dust by [url=http://www.flickr.com/people/nachapon/]Nachapon S., on Flickr

Edited by bbqqq, 13 August 2012 - 06:52 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 Pinball  YouTube Bowling  My Flickr

#4 Lego Otaku

Lego Otaku

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

Posted 06 July 2012 - 03:19 AM

Very nice!!  i tried export from LDD to LDraw but elements that were stored at odd angle and few barely legal connections were messed up.  Will give this one a try to see if it works better than exporting to LDraw or not.

EDIT: doesn't like my project :/ I'm getting error message in POVRay: Parse Error: Cannot open include file ldd_defaultcolors.inc

I am using 64 bits LDD2POV converter and 64 bits POVRay and both running on Windows  7 64 bits

Maybe a path was set wrong somewhere?

Edited by Lego Otaku, 06 July 2012 - 03:58 AM.


#5 hrontos

hrontos

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

Posted 06 July 2012 - 06:05 AM

View PostLego Otaku, on 06 July 2012 - 03:19 AM, said:

Parse Error: Cannot open include file ldd_defaultcolors.inc

This error means that you forgot to modify POV-Ray's library path. You should modify your POVRAY.ini and add following line:

Library_Path=\\.\LDDIncludes

Easiest way to open POVRAY.ini is to use Tools menu directly in POV-Ray.

#6 Masta' Blasta'

Masta' Blasta'

    Posts: 256
    Joined: 03-September 11
    Member: 20204

Posted 06 July 2012 - 07:41 AM

Wow! This is simply brilliant! A definite download as soon I can get back onto my PC.

Warning: Fluent in Randomness


#7 Superkalle

Superkalle

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

Posted 06 July 2012 - 08:59 AM

View Postbbqqq, on 06 July 2012 - 01:46 AM, said:

Thanks, this is what we are looking for! *oh2*
My 10226_sopwith_camel is the first pic in the Gallery. :sweet:
So from now on, should we have option to use POV pic for LXF post if all parts are converted correctly?
Good question.

One reasons to only allow "boring" LDD screenshots would be concistency - all screenshots look the same. Also, LDD2PovRay does not support flex elements at the moment.

But let me talk to Calabar and see what he thinks.  :classic:
Eurobricks Digital Design Forum - for all your LDD and Ldraw cravings

#8 Palathadric

Palathadric

  • Makes other members' internet speeds seem ridiculously fast


    Posts: 5133
    Joined: 30-July 11
    Member: 19379
    Country: Great Unknown

Posted 06 July 2012 - 09:27 AM

Wow! These renders really are quite excellent. Almost as good as the LGEO parts. It kind of defeats the purpose of using LDraw as opposed to LDD. :sceptic: Although I still prefer working with SR 3D Builder than LDD and I think there are more parts available in LDraw than in LDD...correct me if I'm wrong. I haven't used LDD in a while.
They that love God will never meet for the last time.
This life isn't the end. We will meet again.
Posted Image     Posted Image     Posted Image
Brickshelf Account
See my work in the Official Lego sets made in LDraw topic

#9 Calabar

Calabar

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

Posted 06 July 2012 - 10:22 AM

Great news, I added this new utility to the section index.

About the next feature to implement, I voted "flexible parts" because it is something that LDD supports and this software should support too in order to convert LDD models without loss of informations.
My second choice is "custom decorations", because that will allow to overcome one of the greatest LDD limitations.

Unfortunately this software is for windows users only (and LDD users are not only widows users) and requires NET framework.
"Official LEGO Sets made in LDD" topic: Read guidelines before posting!

#10 Superkalle

Superkalle

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

Posted 06 July 2012 - 12:23 PM

View PostPalathadric, on 06 July 2012 - 09:27 AM, said:

Wow! These renders really are quite excellent. Almost as good as the LGEO parts. It kind of defeats the purpose of using LDraw as opposed to LDD. :sceptic: Although I still prefer working with SR 3D Builder than LDD and I think there are more parts available in LDraw than in LDD...correct me if I'm wrong. I haven't used LDD in a while.
Generally there are more parts in Ldraw, specially older ones. On the other hand LDD tends to have more of the absolute latest ones.

I guess it also depends on what parts you use. If you look at the most common parts used in sets, lets say for the past 10 years, I'd say the two platforms are pretty much even and very complete.

Anyway, some rough estimate part counts (excluding decorations):
LDD: approx 2500
Ldraw: approx 3500

PS: Ldraw has more decorations if that is important (and the ability to add custom decorations).
Eurobricks Digital Design Forum - for all your LDD and Ldraw cravings

#11 kamos

kamos

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

Posted 06 July 2012 - 01:15 PM

Could someone help me please?
I installed LDD2PovRay and PovRay and after set the "Output path for includes " in LDD2PovRay it shows me "Unable to add mounting point. Incorrect parameter.". I tried run it as administrator and it shows me the same error. After converting model, it create all the files needed for it but PovRay can't find them. Even I add Library_Path="(path to the files)" into PowRay.ini and nothing.
I'm using Win 7 64bit. What am I doing wrong?

#12 hrontos

hrontos

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

Posted 06 July 2012 - 01:24 PM

View Postkamos, on 06 July 2012 - 01:15 PM, said:

Could someone help me please?
I installed LDD2PovRay and PovRay and after set the "Output path for includes " in LDD2PovRay it shows me "Unable to add mounting point. Incorrect parameter.". I tried run it as administrator and it shows me the same error. After converting model, it create all the files needed for it but PovRay can't find them. Even I add Library_Path="(path to the files)" into PowRay.ini and nothing.
I'm using Win 7 64bit. What am I doing wrong?
Library path has to be \\.\LDDIncludes and not the real physical path.
Problem with the mounting point means that LDD2POVRay is not able to create virtual drive. Did you restarted the machine after the installation? Did you have any other problems during the installation?

#13 kamos

kamos

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

Posted 06 July 2012 - 02:49 PM

View Posthrontos, on 06 July 2012 - 01:24 PM, said:

Library path has to be \\.\LDDIncludes and not the real physical path.
Problem with the mounting point means that LDD2POVRay is not able to create virtual drive. Did you restarted the machine after the installation? Did you have any other problems during the installation?

Yes. After prompt for driver (that I allowed), installation froze and seconds later showed me error "...timeout. Please restart computer and try it again...". After closing installation and trying restart PC, it just froze > hard restart. After boot up, installation was successful but didn't asked for driver.

#14 Lyichir

Lyichir

    Posts: 1281
    Joined: 17-December 10
    Member: 14738
    Country: USA

Posted 06 July 2012 - 04:02 PM

View Postbbqqq, on 06 July 2012 - 01:46 AM, said:

Thanks, this is what we are looking for! *oh2*
My 10226_sopwith_camel is the first pic in the Gallery. :sweet:
So from now on, should we have option to use POV pic for LXF post if all parts are converted correctly?

{snip}
10226_sopwith_camel by Nachapon by Nachapon S., on Flickr

Not really on topic, but I love how you made the "bullseye" patterns on the wings. I had scoffed when other AFOLs lamented the fact that 10226 used stickers instead of brick built patterns, since I couldn't figure how brick-built patterns like that would be feasible. But now I'm not so sure.

On-topic, this looks like it will be a valuable tool for the LDD builder, and I may use this if I create an LDD model intended to be presented to the general public, like for a Cuusoo proposal.

#15 Lego Otaku

Lego Otaku

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

Posted 06 July 2012 - 05:57 PM

View Posthrontos, on 06 July 2012 - 06:05 AM, said:

This error means that you forgot to modify POV-Ray's library path. You should modify your POVRAY.ini and add following line:

Library_Path=\\.\LDDIncludes

Easiest way to open POVRAY.ini is to use Tools menu directly in POV-Ray.

It's there.  maybe I messed up the output path in LDD to Pov? What should the default output path look like?

#16 vynsane

vynsane

    Posts: 471
    Joined: 21-May 10
    Member: 10811

Posted 06 July 2012 - 06:43 PM

Wow, they really do look spectacular! Too bad there isn't a Mac equivalent.  :sceptic:

EDIT: This plus my burning desire to play StarCraft again leads me to the conclusion that I should set up a new WindowsXP virtual machine. I'll post back on my experience working with these tools in such a fashion.

Edited by vynsane, 06 July 2012 - 07:06 PM.

ALL HAIL THE BLACTRON EMPIRE!

Flickr Photostream | Dropbox - LDD files and instruction archive

The SVG Decals Library - Discuss on EB | Contribute on GitHub

#17 Smartiac

Smartiac

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

Posted 06 July 2012 - 07:52 PM

http://ldd2povray.lddtools.com/

"Brick geometry data are the property of the LEGO Group of companies and are subject to copyright. POV-Ray™ include files contain enhanced versions of brick geometries used by LDD. Since include files are plain text files LDD to POV-Ray™ Converter uses Callback File System, virtual file system SDK for Windows provided by the EldoS Corporation to enable POV-Ray™ access binary includes without disclosing the brick geometry content."

Unfortunately, the requirement to use the Callback File System renders this tool fairly useless among most people I think. Is there a legal workaround for this requirement? I'm not willing to pay for a license for this.

#18 Masta' Blasta'

Masta' Blasta'

    Posts: 256
    Joined: 03-September 11
    Member: 20204

Posted 06 July 2012 - 07:56 PM

I'm getting this message upon trying to render in Pov-Ray. I've done it twice now to no avail. Anyone know what I'm doing wrong? I think I may have entered the wrong file when I first started, but I'm not sure. Could that be why I'm receiving this?

Posted Image

Warning: Fluent in Randomness


#19 CallMePie

CallMePie

  • Magic 8 Ball


    Posts: 11597
    Joined: 27-August 09
    Member: 7199
    Country: Florida, USA

Posted 06 July 2012 - 08:02 PM

I get that error whenever trying to convert models using the old/retired colors, on the bottom of the color palette.
Posted ImagePosted ImagePosted Image
Atramor Gibbin, Level 31 Regulator in Sandy's Heroica RPG
CallMePie, Imperial Snowtrooper in the Shadows of Nar Eurbrikka

#20 Masta' Blasta'

Masta' Blasta'

    Posts: 256
    Joined: 03-September 11
    Member: 20204

Posted 06 July 2012 - 08:07 PM

View PostCallMePie, on 06 July 2012 - 08:02 PM, said:

I get that error whenever trying to convert models using the old/retired colors, on the bottom of the color palette.

That can't be my problem, I was testing a model containing only two colors, Black (26) and Dark Stone Grey (199) which are both in the default palette.

Warning: Fluent in Randomness


#21 hrontos

hrontos

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

Posted 06 July 2012 - 08:14 PM

View PostSmartiac, on 06 July 2012 - 07:52 PM, said:

http://ldd2povray.lddtools.com/

"Brick geometry data are the property of the LEGO Group of companies and are subject to copyright. POV-Ray™ include files contain enhanced versions of brick geometries used by LDD. Since include files are plain text files LDD to POV-Ray™ Converter uses Callback File System, virtual file system SDK for Windows provided by the EldoS Corporation to enable POV-Ray™ access binary includes without disclosing the brick geometry content."

Unfortunately, the requirement to use the Callback File System renders this tool fairly useless among most people I think. Is there a legal workaround for this requirement? I'm not willing to pay for a license for this.

You do not have to pay for the Callback File System. Callback File System licence costs 4500 USD and EldoS was so kind and provided us a licence for free with only one single condition: we have to mention that we are using their driver. And we were happy to mention that, since it was really very nice from them.

View PostMasta, on 06 July 2012 - 07:56 PM, said:

I'm getting this message upon trying to render in Pov-Ray. I've done it twice now to no avail. Anyone know what I'm doing wrong? I think I may have entered the wrong file when I first started, but I'm not sure. Could that be why I'm receiving this?

Posted Image

I think, this is related to POV-Ray's feature which helps to protect files, which may come from directories, which you did not intended to be used by POV-Ray.

Go to Options menu in POV-Ray and see Script I/O Restrictions. Allow Read, restrict Write or No Restrictions should be sufficient.

#22 CallMePie

CallMePie

  • Magic 8 Ball


    Posts: 11597
    Joined: 27-August 09
    Member: 7199
    Country: Florida, USA

Posted 06 July 2012 - 08:14 PM

View PostMasta, on 06 July 2012 - 08:07 PM, said:

That can't be my problem, I was testing a model containing only two colors, Black (26) and Dark Stone Grey (199) which are both in the default palette.

Did you put Library_Path="\\.\LDDIncludes" at the end of the povray.ini?
Posted ImagePosted ImagePosted Image
Atramor Gibbin, Level 31 Regulator in Sandy's Heroica RPG
CallMePie, Imperial Snowtrooper in the Shadows of Nar Eurbrikka

#23 vynsane

vynsane

    Posts: 471
    Joined: 21-May 10
    Member: 10811

Posted 06 July 2012 - 08:15 PM

View PostSmartiac, on 06 July 2012 - 07:52 PM, said:

Unfortunately, the requirement to use the Callback File System renders this tool fairly useless among most people I think. Is there a legal workaround for this requirement? I'm not willing to pay for a license for this.

It looks like this dependency is included in the installer and shouldn't be a roadblock in installing/utilizing this program:

Quote

4. When prompted for permission for Callback File System, virtual file system SDK for Windows driver installation, confirm the permissions.

http://ldd2povray.ld...on-instructions

EDIT: D'oh! Just saw hrontos' official explanation. Good to get official word, and it is extremely surprising and nice that EldoS provided the license for free!

Edited by vynsane, 06 July 2012 - 08:18 PM.

ALL HAIL THE BLACTRON EMPIRE!

Flickr Photostream | Dropbox - LDD files and instruction archive

The SVG Decals Library - Discuss on EB | Contribute on GitHub

#24 hrontos

hrontos

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

Posted 06 July 2012 - 08:16 PM

View Postvynsane, on 06 July 2012 - 06:43 PM, said:

This plus my burning desire to play StarCraft again leads me to the conclusion that I should set up a new WindowsXP virtual machine. I'll post back on my experience working with these tools in such a fashion.

I am using Win 7 64bit, and tried 32bit version of LDD2POVray on WinXP installed on VMware virtual machine and it had no problem with that, so it should work also for you.

#25 Smartiac

Smartiac

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

Posted 06 July 2012 - 08:20 PM

So for whatever reason, the CBFS didn't install on my machine.

Edited by Smartiac, 06 July 2012 - 08:21 PM.






Also tagged with one or more of these keywords: LDD2PovRay, LDD, render, software, rendering, minifig, LDD to POV-Ray

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users