POV-Ray export questions


RE: POV-Ray export questions
#20
(2016-10-16, 11:36)Niklas Buchmann Wrote: Looks very nice, though I still think that the black color looks too blue.

Have you looked into using interior{}? I think having refraction on transparent parts makes a huge difference:

Yes I'm now using:
Code:
#macro ldrawTexPlastic(r, g, b, a)
pigment {
 #if (a<1.0)
  srgbt <r,g,b,0.75>
 #else
  srgb <r,g,b>
 #end
}
 
normal {
 bumps 0.005
 scale 0.5
 turbulence 0
}
 
finish {
 emission rgb colorEmission
 diffuse 1
 brilliance 1
 conserve_energy
 
 phong 0.5
 phong_size 40
 metallic 0
 
 reflection 0.1
}
#end

#macro ldrawMatPlastic(r, g, b, a, tex)
texture { tex }

#if (a<1.0)
 interior { ior 3 }
#end
#end

#declare ldTex4=texture {
ldrawTexPlastic(0.788235,0.101961,0.035294,1)
}

#declare ldMat4=material {
ldrawMatPlastic(0.788235,0.101961,0.035294,1,ldTex4)
}

Still tweaking the rubber and metals though.

I think the tint in black is caused by the skysphere.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
POV-Ray export questions - by Roland Melkert - 2016-08-13, 18:02
RE: POV-Ray export questions - by Damien Roux - 2016-08-13, 21:08
RE: POV-Ray export questions - by Roland Melkert - 2016-10-16, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)