Nachapon Lego

LDD2PovRay Speed Rendering Trick

Recommended Posts

Please modify your LDD lxf file to additional two versions before render. ???nt.lxf = no trans part. ???bw.lxf = trans part white color, others black color.

8430439171_45ccb8890e_c.jpg

LDD2PovRay speed rendering trick by Nachapon by Nachapon S., on Flickr

All renderings sample with this trick below took around 3 hours only.(use 7 of 8 threads to reduce temp)

8320555676_30650d4c9b_c.jpg

alienwar9 26000 pcs LDD by Nachapon S., on Flickr

8365159473_df58bc56f5_c.jpg

LDD by ZueriHB (20,000 pcs) by Nachapon S., on Flickr

8005546096_0157887ce9_c.jpg

Eurobricks 3rd LDD RCB by Nachapon S., on Flickr

Edited by legolijntje
Fixed title

Share this post


Link to post
Share on other sites

To combine 3 images:

Arrange the B&W mask at bottom layer. LDD geometry at middle layer. No trans part at top layer.

Use select by color at white color on B&W layer, switch to top layer then hit delete, All done.

Share this post


Link to post
Share on other sites

Interesting find. :thumbup: I'm gonna try this, see what the differences are (quality vs speed etc).

Share this post


Link to post
Share on other sites

So, my results were not as spectacular as yours, but it was still a fair sight faster than my previous renders.

8436089310_2854592cd3_z.jpg

"Niuma" Class Courier Variant (GHL Livery) "speed render" by vynsane, on Flickr

- First-pass render (original LDD geometry): 1hr, 29min, 2sec

- Second-pass render (original LDD geometry, quick color, no plane): 0hr, 0min, 58sec

- Third-pass render (all bevels, no transparent parts): 3hr, 31min, 26sec

- Total render time: 5hr, 1min, 24sec

- Total render + post-process compositing: ~5hr, 5min

Rendering environment: Windows 7 x64 VMWare Fusion virtual machine, 2 cores available, 1024MB RAM available

Host environment: MacBookPro8,3 Intel Core i7, 4 cores @ 2.2GHz, 4GB RAM

Specific factors

- Three lights @ 40% each

- Top shadow only @ 35%

- No Anti-Aliasing

- Output set to 2x desired resolution (3840x2400 -> 1920x1200)

Share this post


Link to post
Share on other sites

Interesting, I hadn't thought to change the radiosity. I'm not really that well versed in POV-Ray. I duplicated the "LDD Geometry only" render, but this time with "Radiosity" set to "Normal" and it only took 17min, 44sec. Not going to beat your 24:40 total time, but still a LOT better than ~1.5hrs!

Share this post


Link to post
Share on other sites

Interesting, I hadn't thought to change the radiosity. I'm not really that well versed in POV-Ray. I duplicated the "LDD Geometry only" render, but this time with "Radiosity" set to "Normal" and it only took 17min, 44sec. Not going to beat your 24:40 total time, but still a LOT better than ~1.5hrs!

The normal radiosity is much faster than custom radiosity.

The renderings time are 00:18:38 + 00:05:08 + 00:00:54 = 00:24:40

Edited by bbqqq

Share this post


Link to post
Share on other sites

If you don't mind them, turning on the instruction outlines speeds things up dramatically as well. You also get this sort of cel-shaded look, similar to the Borderlands art style.

Share this post


Link to post
Share on other sites

The normal radiosity is much faster than custom radiosity.

The renderings time are 00:18:38 + 00:05:08 + 00:00:54 = 00:24:40

Yeah, it sure is! The all-bevels render was 1hr 12min for me, which is more than half the length of the last time!

Share this post


Link to post
Share on other sites

If you don't mind them, turning on the instruction outlines speeds things up dramatically as well. You also get this sort of cel-shaded look, similar to the Borderlands art style.

Turret out!

8evJxn1.png

Share this post


Link to post
Share on other sites

If you don't mind them, turning on the instruction outlines speeds things up dramatically as well. You also get this sort of cel-shaded look, similar to the Borderlands art style.

Good for make coloring book and comic!

Yeah, it sure is! The all-bevels render was 1hr 12min for me, which is more than half the length of the last time!

I'm glad that the trick can save your time.

Turret out!

Cool !

Focal blur HQ takes very long time to render.

In some case this similar trick can speed up focal blur, too.

Modify LXF to another version with sharp objects only.

Only the sharp tower was beveled and custom radeisity, but no focal blur. Total time 45 min.

(all object focal blur LQ 2048x1536 33min / sharp tower HQ 3072 x 2340 12min )

8437654790_5091311da3_c.jpg

Without trick, the sharp tower look bad because of normal radiosity & no bevels.

8435685634_f5ca1dea3e_c.jpg

Taj Mahal - by ADHO15 by Nachapon S., on Flickr

Edited by bbqqq

Share this post


Link to post
Share on other sites

@bbqqq

What do you think to use the first post of this topic to create a step by step guide for this "fast rendering", explaining in brief advantages and disadvantages? (using small descriptive images and lists).

I could index the topic than! :wink:

Share this post


Link to post
Share on other sites

@bbqqq

What do you think to use the first post of this topic to create a step by step guide for this "fast rendering", explaining in brief advantages and disadvantages? (using small descriptive images and lists).

I could index the topic than! :wink:

Thanks, Calabar. I will edit the first post soon.

Share this post


Link to post
Share on other sites
Thanks, Calabar. I will edit the first post soon.

Great, thanks!

It would be useful to add a final comparison between the images resulting from the standard and the "fast" method with the same lxf, analyzing them and reporting the time necessary for both renderings.

As I thought to full size images, you should provide that using text links or thumbnails.

Share this post


Link to post
Share on other sites

I tried to use use this 3-part technique and here are my results:

8441187426_6b405151a9_m.jpg + 8440098585_c03ec9435f_m.jpg + 8440115077_6e3ea5d8ab_m.jpg

8440409285_3f65d6d3a1_c.jpg

All images are clickable to hi-res versions (2068 x 1536).

Thanks bbqqq for sharing this technique! It has drastically reduced my rendering times while still producing satisfying results! Thanks once again! :thumbup:

Share this post


Link to post
Share on other sites

I tried to use use this 3-part technique and here are my results:

All images are clickable to hi-res versions (2068 x 1536).

Thanks bbqqq for sharing this technique! It has drastically reduced my rendering times while still producing satisfying results! Thanks once again! :thumbup:

Thanks for share your nice rendering pictures and trick result. I am happy to heard that the trick save your time nad help you make a success rendering.

When i tried render some big file without the trick. The rendering even can't start because the POV-Ray consume out 8 GB RAM before complete the parsing.

I noticed that your black and withe still have some lighting. It will be rendered faster and make better selection mask. If you..

In tab Model => lowest quality, riginal LDD geometry.

In tab Scene => Background check Set color to a color that your bricks didn't use, Uncheck transparent & add base plane.

In tabs Lights / Radiosity / Matterials => disable them all.

In tab Rendering => lowest Quality, quick color.

Edited by bbqqq

Share this post


Link to post
Share on other sites

I noticed that your black and withe still have some lighting. It will be rendered faster and make better selection mask. If you..

snip

Thanks for the tip! I'll set the B&W file to the lowest settings and share the results here again.

Share this post


Link to post
Share on other sites

@KielDaMan

I notices some boundaries have too many black, for example the dolphin's tails.

Is it inevitable or is it an artifact due to use this technique?

Share this post


Link to post
Share on other sites

If I don't have any transparent parts, do I just skip that specific step?

Yes, the reason transparent parts are rendered at a different setting is because they result in very complex beveling. Really, then, the only thing you need to take away from this method is setting "radiosity" to "normal" instead of using "custom". The transparent and quick color steps are unnecessary if you have no transparent parts.

Share this post


Link to post
Share on other sites

What about minifigs? Does rendering minifigs separately in lower detail improve render times as well?

Also, I'm a little confused on how exactly I would go about this step-by-step, could someone explain to me exactly what setting or settings I need to change from render to render?

Share this post


Link to post
Share on other sites

@KielDaMan

I notices some boundaries have too many black, for example the dolphin's tails.

Is it inevitable or is it an artifact due to use this technique?

Maybe the artifact is easy to be seen with normal radiosity / low resolution / no AA.

If I don't have any transparent parts, do I just skip that specific step?

Yes, the reason transparent parts are rendered at a different setting is because they result in very complex beveling. Really, then, the only thing you need to take away from this method is setting "radiosity" to "normal" instead of using "custom". The transparent and quick color steps are unnecessary if you have no transparent parts.

What about minifigs? Does rendering minifigs separately in lower detail improve render times as well?

Also, I'm a little confused on how exactly I would go about this step-by-step, could someone explain to me exactly what setting or settings I need to change from render to render?

In some scene, you can fast render focal blur as well. I will make step-by-step guide soon.

8446533415_e71a88dc04.jpg

focal blur fast render trick by Nachapon S., on Flickr

8446404196_b87ec8fa53.jpg

b-wing focal blur speed render by Nachapon S., on Flickr

Edited by bbqqq

Share this post


Link to post
Share on other sites

@KielDaMan

I notices some boundaries have too many black, for example the dolphin's tails.

Is it inevitable or is it an artifact due to use this technique?

I don't know the specific reason for those black boundaries, but I tried to repeat this technique with another render (below, minus the dolphins) and I don't see such excessive black in the boundaries. Maybe it's due to the dolphin part?! Note that I retained the same render settings (though I followed bbqqq's tip on the B&W render).

8446731563_319cc11ddd_o.png+8446733357_fb95129fec_o.png+ 8447823276_52255a8f42_o.png

8447819852_9fb78de6c6_o.png

LEGO Boats Render by Kiel.Da.Man (LXF Sources: 4642 - Tontus; 7207 - BrickWild; 7739 - AndyC) All images are clickable to hi-res versions (2732 x 1447).

Render 1: original LDD Geometry only = 02:30:59

Render 2: No trans parts (original LDD Geometry + visible bevels) = 07:44:36

Render 3: Black & white (original LDD Geometry, lowest quality settings, quick color) = 00:00:08

TOTAL RENDER TIME = 10:15:43

All 2732x1536 pixels, Normal Radiosity, No AA, 3 lights (except for B&W).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.