Jump to content


[Software] LDD2PovRay

pov-ray povray ldd_model glossy glossiness

  • Please log in to reply
758 replies to this topic

#351 vynsane

vynsane

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

Posted 13 December 2012 - 03:35 AM

My first render!

Posted Image
DbM Swoosher (Rendered) by vynsane, on Flickr

There's an odd artifact on the rear stud on the 2x2 'engine' on top of the tailfin. Other than that, it looks great!
ALL HAIL THE BLACTRON EMPIRE!

Flickr Photostream | Dropbox - LDD files and instruction archive

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

#352 vynsane

vynsane

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

Posted 14 December 2012 - 02:10 AM

My second render:

Posted Image
"Oni" Class Defender Render by vynsane, on Flickr

This one took half as long, because I followed the advice here about up-converting the pixel dimensions and not using anti-aliasing. It still took 7hrs 15mins or so. I also used two lights - one left, 70% w/shadow, and one top 40% w/o shadow, per bbbqq's post. It ended up a bit dark and I turned the brightness up in Photoshop afterward. I think I could have brightened it some more, frankly.

Edited by vynsane, 14 December 2012 - 02:52 AM.

ALL HAIL THE BLACTRON EMPIRE!

Flickr Photostream | Dropbox - LDD files and instruction archive

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

#353 _bIG_fM_

_bIG_fM_

    Posts: 53
    Joined: 05-May 11
    Member: 17664
    Country: Germany

Posted 19 December 2012 - 10:20 PM

I have a problem.

For a time LDD2PovRay and PovRay worked very fine, but now they are making problems.

PovRay is complaining about a write-protected volume "LDD to POV-Ray Includes in \Device\00000007f". I should remove the protection, but i have no idea how.
I had some problems to add Library_Path="\\.\LDDIncludes" in my .ini file, if that's relevant...

I restored my pc, but the problem remains.

#354 hrontos

hrontos

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

Posted 19 December 2012 - 11:25 PM

View Post_bIG_fM_, on 19 December 2012 - 10:20 PM, said:

PovRay is complaining about a write-protected volume "LDD to POV-Ray Includes in \Device\00000007f". I should remove the protection, but i have no idea how.
I had some problems to add Library_Path="\\.\LDDIncludes" in my .ini file, if that's relevant...

The volumne is really read only and POV-Ray should not try to write there. You may skip adding Library_Path=\\.\LDDIncludes to any ini file if use ini files generated by the converter, because they contain it and it is sufficient.

Try to go to Options menu, Script I/O Restrictions, select Restrict Read and Write, and have both "Permist Writting in Current Directory" and "Disable Starting Other Programs" checked.

#355 hrontos

hrontos

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

Posted 20 December 2012 - 01:31 AM

View Postvynsane, on 11 December 2012 - 05:47 PM, said:

hrontos - I've started a Flickr group devoted to LDD to POVRay Converter renders. I took the liberty of using the logo from your site for the group icon. Please let me know if you are unhappy about this and I will remove it. You may want to link to the group from your site for further hands-free promotion (instead of adding them to your gallery page manually).

I took a look at the gallery today and it was really a good idea to create it. Some of the renders look really good.

Also your first two renders look very good. :thumbup:

That strange artifact you mentioned is related the way the brick is modeled. When triangles related to studs are removed from the geometry, the brick contains hole, which is square and you see the points of that square there.

Edited by hrontos, 20 December 2012 - 01:40 AM.


#356 _bIG_fM_

_bIG_fM_

    Posts: 53
    Joined: 05-May 11
    Member: 17664
    Country: Germany

Posted 20 December 2012 - 02:33 PM

I cant' help me, either I get
"Possible Parse Error: Cannot find file 'ldd_colors_declarations.bin', even after trying to append file type
extension."

or this:
"pvengine(-sse2).exe-Access denied
Device is write-protected and can be written. Remove write-protection from LDD to POV-Ray Includes in Device\00000079."

This Error appears in many forms, sometimes pvengine-sse2.exe, sometimes pvengine.exe.
Error disappears when I'm not using the direct .ini files of the generator, if i use the files stored on my pc directly with POV-Ray, i get the first error.

It seems that my Library_Path=\\.\LDDIncludes is wrong, here's a picture of my povray.ini.

Posted Image

Is it ok?

Edited by _bIG_fM_, 20 December 2012 - 02:34 PM.


#357 hrontos

hrontos

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

Posted 20 December 2012 - 03:14 PM

View Post_bIG_fM_, on 20 December 2012 - 02:33 PM, said:

I cant' help me, either I get
"Possible Parse Error: Cannot find file 'ldd_colors_declarations.bin', even after trying to append file type
extension."

or this:
"pvengine(-sse2).exe-Access denied
Device is write-protected and can be written. Remove write-protection from LDD to POV-Ray Includes in Device\00000079."

This Error appears in many forms, sometimes pvengine-sse2.exe, sometimes pvengine.exe.
Error disappears when I'm not using the direct .ini files of the generator, if i use the files stored on my pc directly with POV-Ray, i get the first error.

It seems that my Library_Path=\\.\LDDIncludes is wrong, here's a picture of my povray.ini.

Is it ok?

Yes, this is ok. Could you, please, show me output from your messages pane? And also tell me your physical path to includes (what you specified in the Settings dialog of the converter). Includes and converted pov files cannot be in the same directory.

#358 _bIG_fM_

_bIG_fM_

    Posts: 53
    Joined: 05-May 11
    Member: 17664
    Country: Germany

Posted 20 December 2012 - 04:33 PM

Posted Image

db.lif location is C:\Users\Felipe\AppData\Roaming\LEGO Company\LEGO Digital Designer\

Posted Image

Posted ImagePosted Image

#359 hrontos

hrontos

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

Posted 20 December 2012 - 05:19 PM

@_bIG_fM_: do you have the converter running while the POV-Ray is parsing the pov file?

#360 _bIG_fM_

_bIG_fM_

    Posts: 53
    Joined: 05-May 11
    Member: 17664
    Country: Germany

Posted 20 December 2012 - 07:02 PM

Yes. I have taken the photos simultaneously.

#361 Seluryar

Seluryar

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

Posted 24 December 2012 - 02:17 AM

Is there anything i can do for a render thats stuck at 99%?

If it helps me find out why its taking so long, its been stuck at rendered 2072576 of 2073600 pixels (99%)

Edited by Seluryar, 24 December 2012 - 02:57 AM.

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

#362 hrontos

hrontos

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

Posted 24 December 2012 - 11:32 AM

View PostSeluryar, on 24 December 2012 - 02:17 AM, said:

Is there anything i can do for a render thats stuck at 99%?

If it helps me find out why its taking so long, its been stuck at rendered 2072576 of 2073600 pixels (99%)

Is there some complex transparent area there?  It is possible, that it will take longer, than you might expected.

When it will not move one, stop it, add Continue_Trace=On to the ini file you used for the render or +C switch to command line text field in POV-Ray. Rendering will continue. I recommend to backup the .pov-state file created for this pov file, just for the case it will not continue (if you do not specify the continue switch/option properly).

#363 Seluryar

Seluryar

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

Posted 24 December 2012 - 06:31 PM

View Posthrontos, on 24 December 2012 - 11:32 AM, said:

Is there some complex transparent area there?  It is possible, that it will take longer, than you might expected.

When it will not move one, stop it, add Continue_Trace=On to the ini file you used for the render or +C switch to command line text field in POV-Ray. Rendering will continue. I recommend to backup the .pov-state file created for this pov file, just for the case it will not continue (if you do not specify the continue switch/option properly).

Can you have more than one command in that text field? I already have Library_Path="\\.\LDDIncludes" in there
With Lego, All things are possible
Posted Image  |  Posted Image  |  Posted Image  |  Posted Image

#364 hrontos

hrontos

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

Posted 24 December 2012 - 10:36 PM

View PostSeluryar, on 24 December 2012 - 06:31 PM, said:

Can you have more than one command in that text field? I already have Library_Path="\\.\LDDIncludes" in there

Yes, you can. No special separator is necessary, space as separator is good enough.

#365 Yooha

Yooha

  • Friends LDD MOCer Extraordinaire


    Posts: 955
    Joined: 31-December 10
    Member: 15037
    Country: Hungary

Posted 25 December 2012 - 10:39 AM

How should this program work? When I convert anything, POVray cannot run the rendering, because it misses several files like "ldd_default_colors.inc" and such.
I converted files using L3PAO before (I'm very novice) and the rendering in POVray worked perfectly, the results weren't sufficient though, the surface is always too glassy.

#366 Seluryar

Seluryar

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

Posted 25 December 2012 - 10:25 PM

View PostYooha, on 25 December 2012 - 10:39 AM, said:

How should this program work? When I convert anything, POVray cannot run the rendering, because it misses several files like "ldd_default_colors.inc" and such.
I converted files using L3PAO before (I'm very novice) and the rendering in POVray worked perfectly, the results weren't sufficient though, the surface is always too glassy.
Did you try keeping the converter running while you use povray?
With Lego, All things are possible
Posted Image  |  Posted Image  |  Posted Image  |  Posted Image

#367 Yooha

Yooha

  • Friends LDD MOCer Extraordinaire


    Posts: 955
    Joined: 31-December 10
    Member: 15037
    Country: Hungary

Posted 26 December 2012 - 05:42 AM

View PostSeluryar, on 25 December 2012 - 10:25 PM, said:

Did you try keeping the converter running while you use povray?

Yes. Now, it stopped here: #include "ldd_main.bin"

#368 hrontos

hrontos

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

Posted 26 December 2012 - 06:48 PM

View PostYooha, on 26 December 2012 - 05:42 AM, said:

Yes. Now, it stopped here: #include "ldd_main.bin"

You need POV-Ray 3.7, RC3, RC5 or RC6, converter must be running. Make sure you have the "Create INI file" checked on the last tab. Click convert and then Yes, to start the POV-Ray and start the rendering. This is the simpliest way to make first rendering.

If you will not succeed, please, post the data from the messages tab from the POV-Ray.

#369 Yooha

Yooha

  • Friends LDD MOCer Extraordinaire


    Posts: 955
    Joined: 31-December 10
    Member: 15037
    Country: Hungary

Posted 27 December 2012 - 12:25 PM

View Posthrontos, on 26 December 2012 - 06:48 PM, said:

You need POV-Ray 3.7, RC3, RC5 or RC6, converter must be running.

Yes, I didn't have POVRay 3.7, only 3.6. Now it works, and it's wonderful. :classic:

#370 bbqqq

bbqqq

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

Posted 29 December 2012 - 03:16 AM

Alienwar9's 26,000 pcs LDD MOC, This rendering need 8 GB of RAM.
Right light 60%, top light 33% no shadow, normal radiosity.
2 hrs 26 min: All parts = basic LDD geometry, 4096 x 3072 noAA.
1 hrs 24 min: Non-trans parts = visible bevels only, 2048 x 1563 AA. (maximum level & 4096 x 3072 noAA run out of 8 GB RAM after parsing).
There are about 26,000 pieces include 1,000 trans pieces. I think it will take forever or hang, if render all of them with a maximum level of details.

Posted Image
alienwar9 26000 pcs LDD by Nachapon S., on Flickr

Edited by bbqqq, 31 December 2012 - 08:07 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


#371 hrontos

hrontos

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

Posted 30 December 2012 - 12:38 AM

View Postbbqqq, on 29 December 2012 - 03:16 AM, said:

Alienwar9's 26,000 pcs LDD MOC, This rendering need 8 GB of RAM.

alienwar9 26000 pcs LDD by Nachapon S., on Flickr

So you rendered it with a maximum level of details? I tried it with only basic LDD geometry.

#372 Crash Sanders

Crash Sanders

    Posts: 591
    Joined: 20-August 08
    Member: 3771
    Country: Russia

Posted 30 December 2012 - 05:11 AM

Some renders of mine:

Posted Image
Superior... always. by The Mugbearer, on Flickr



Posted Image
Chima-style Dragon Warrior by The Mugbearer, on Flickr


Posted Image
Microfig Windom 98 by The Mugbearer, on Flickr


Posted Image
Nautilus, the Titan of the Depths by The Mugbearer, on Flickr

#373 bbqqq

bbqqq

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

Posted 31 December 2012 - 07:47 AM

View Posthrontos, on 30 December 2012 - 12:38 AM, said:

So you rendered it with a maximum level of details? I tried it with only basic LDD geometry.

I added more description above that picture, please take a look.

Edited by bbqqq, 31 December 2012 - 08:03 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


#374 polyphonic

polyphonic

    Posts: 17
    Joined: 21-December 12
    Member: 34641
    Country: Scotland

Posted 31 December 2012 - 04:09 PM

Thanks to everyone involved in creating these programs. I downloaded everything yesterday and have been having lots of fun building and rendering. Been working on a model of my house, but was very impressed with this mini Avengers Quinjet (30162) I built...

Posted Image

#375 ZueriHB

ZueriHB

    Posts: 231
    Joined: 13-January 10
    Member: 9062
    Country: Switzerland

Posted 05 January 2013 - 12:37 PM

Could anybody explain why I get lots of white pixels in the rendered image?

Posted Image
Posted ImagePosted Image
Posted Image





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

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users