Sign in to follow this  
JM1971

LDD2POVRAY - Transparency for Instruction Making

Recommended Posts

The idea is to render a model or parts of a model with everything slightly transparent so you can see everything for quick as easy building instructions.

But in povray transparency is not something you can add easily and I've have no success there, making your model into glass would increase rendering times a lot, parts just need to be see-though.

I tried emailing the maker of LDD2POVRAY but the contact form keeps giving a error.

I did manage to change reflection of a whole model by changing ldd_finishes.inc , reflection { 0.4, 0.5 falloff 1 exponent 1 } is the change.

#ifndef(ldd_finish_shinyPlastic_255)

#declare ldd_finish_shinyPlastic_255 =

finish {

ambient ldd_ambient_light_color

#if (version>=3.7)

emission ldd_ambient_light_color

#end

diffuse 0.6

brilliance 1

phong 1 phong_size 40

specular 1

roughness 0.02

reflection { 0.4, 0.5 falloff 1 exponent 1 }

conserve_energy

}

#end

Results...

9398.jpg

Edited by JM1971

Share this post


Link to post
Share on other sites

Martin (the maker of ldd2povray) was very helpful steering me in the right direction.

In the converter scene>tick transparent, lights>untick shadows.

Add...

#declare ldd_filter_alpha_255 = 0.2;

#declare ldd_transmit_alpha_255 = 0.5;

#declare ldd_outlines = 1;

#declare ldd_white_outline_treshold = rgb <0,0,0>;

To the beginning of your .pov file, result is ok but needs more work, render time is fast.

transparent.jpg

Edited by JM1971

Share this post


Link to post
Share on other sites

There is also possibility to make the current step parts opaque and parts from previous steps transparent. May be with colored outlines it would look even better. The "only" problem is how to define nicely the building steps in LDD.

Share this post


Link to post
Share on other sites

That would save a lot of paper and make following and making instructions so much easier, very good idea.

The building steps could be read from the file but LDD sometimes does impossible moves, you really appreciate how difficult some things are when you try doing it.

Share this post


Link to post
Share on other sites

Can povray render every object weather it is hidden or not?

POV-Ray takes into account also objects which are "behind" camera as they might be visible in reflections.

It is also possible to add no_image parameter to any object. As a result object will not be visible but it will be visible in reflections and will cast shadows.

Edited by hrontos

Share this post


Link to post
Share on other sites

I'm trying to get every brick visible at once, but I think the result would be unrecognizable.

Share this post


Link to post
Share on other sites

Using group function of LDD to quick render a color selection mask for picture editor (ie: GIMP). Then you can add any effect to any color zone. (ie: Transparency, brightness, contrast, shadow...).

GIMP: Paste color zone mask to another layer then use select by color tool to pick zone. Use the selection to edit main rendering layer.

10355163814_215d2ca50a_b.jpg

LDD2POVRAY - Transparency for Instruction Making by Nachapon S., on Flickr

Edited by bbqqq

Share this post


Link to post
Share on other sites

I was hoping to avoid doing hard work but its not to be lol.

@bbqqq, thats a very good method, I'll try it, thx.

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.