POV-Ray : Newsgroups : povray.newusers : shiny plastic : Re: shiny plastic Server Time
23 Apr 2024 19:59:16 EDT (-0400)
  Re: shiny plastic  
From: Alain
Date: 14 Oct 2018 11:54:37
Message: <5bc366bd$1@news.povray.org>
Le 18-10-13 à 15:04, Stephen a écrit :
> On 13/10/2018 14:33, Bald Eagle wrote:
>> "David Kraics" <bar### [at] aolcom> wrote:
>>> Can anyone suggest a good finish to render a television that has the 
>>> "shiny
>>> plastic" on the front? I tried the finishes in the metals.inc file 
>>> but they
>>> reflect too well.
>>
>> A super quick way to get that "plastic look" is to just add some specular
>> reflection to your texture.
>>
>> texture {pigment {Blue} finish {specular 0.4}} will give you that 
>> shiny look.
>>
> 
> Good advice from Alain and Bald Eagle.
> I generally have the oposite problem. Making an object not look like 
> plastic. :)
> 
>> from there you can adjust that, and add the reflection keyword to the 
>> finish
>> block - because I'm speculating that your TV is black plastic.
>>
> 
> Don't start with a reflection value of 1 but start low and work your way 
> up. I find it easier to see the differences that way.
> 
> 
>> And if you really want to see a big change in how your texture looks - 
>> don't
>> fiddle with the texture, change what's _around it_ since it has a huge 
>> effect on
>> the reflective surface.
>>
> 
> This is so true for any scene that has reflective objects.
> 
> 
>> A very quick way to get rather astonishing results is just to use an 
>> HDRI light
>> probe (downloadable for free on the web) and some radiosity.   There's an
>> include file - rad_def.inc in the POV-Ray distribution that you can use.
>>
>>
> 
> Bald Eagle is right but I would leave the radiosity to the end of 
> building your scene as it can add quite a bit of time to the rendering.
> 
> For testing your TV material. Create a sphere with a no image flag. This 
> will allow the reflections of the sphere to be shown in the reflections 
> of your TV. Convert a HDRi to a png and create a material using this and 
> attach it to the sphere. The reflections should show up.
> Aside, some HDR images are in a cruciform format which should be used 
> with a box not a sphere.
> 
> You can download some HDRIs from here:
> https://hdrihaven.com/hdris/category/?c=all
> 
> 

There is no need to convert the HDRI to any other format as HDRI is 
directly supported in version 3.7 and later. You can use *.HDR or *.EXR 
files.

For a rectangular longitude-latitude image :
sphere{0 Radius pigment{image_map{ hdr "Name.hrd" map_type 1 interpolate 
1} scale <-1,1,1>}finish{diffuse 0 emission 1}}

The scale is to flip the image so that it show in the correct direction 
from the inside of the sphere.
Some probes may be to bright or dim. Adjust emission to get correct results.



Alain


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.