LDCad POVray export


RE: LDCad POVray export
#6
(2018-02-18, 23:03)Michael Horvath Wrote:
(2018-02-18, 21:48)Roland Melkert Wrote: I wouldn't know where to get the values from unless they are added to !COLOUR meta's or something.

"LDConfig.ldr" does not specify anything other than color, so you must have come up with your own values for `ior`, `reflection`, `diffuse`, `specular`, etc. etc. `BlurAmount` is just one added value. Maybe instead of storing `ior` in the array, you should instead store the material type? E.g. ABS = 1, polycarbonate = 2, rubber = 3, chrome = 4, pearl = 6, metal = 7, etc. etc.

Regardless, you use the `ldrawTexPlastic` macro for both regular plastic bricks and transparent plastic bricks. Since they are two different types of plastics (ABS versus polycarbonate) they should probably use different textures/materials. The POV-Ray newsgroup may be able to offer tips on what values you should use for materials.

Even if you differentiate between plastics, the refraction still won’t be quite right since the converter makes meshes and not solid geometry.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDCad POVray export - by Michael Horvath - 2018-02-17, 21:47
RE: LDCad POVray export - by Roland Melkert - 2018-02-18, 21:01
RE: LDCad POVray export - by Michael Horvath - 2018-02-18, 21:28
RE: LDCad POVray export - by Roland Melkert - 2018-02-18, 21:48
RE: LDCad POVray export - by Michael Horvath - 2018-02-18, 23:03
RE: LDCad POVray export - by Orion Pobursky - 2018-02-18, 23:31
RE: LDCad POVray export - by Michael Horvath - 2018-02-18, 23:43
RE: LDCad POVray export - by Orion Pobursky - 2018-02-18, 23:50
RE: LDCad POVray export - by Orion Pobursky - 2018-02-19, 2:05
RE: LDCad POVray export - by Michael Horvath - 2018-03-03, 12:18
RE: LDCad POVray export - by Philippe Hurbain - 2018-03-03, 13:10
RE: LDCad POVray export - by Roland Melkert - 2018-03-03, 18:06
RE: LDCad POVray export - by Roland Melkert - 2018-02-19, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)