POV-Ray : Newsgroups : povray.general : Locking for a solution to create backlight functionality : Re: Locking for a solution to create backlight functionality Server Time: 20 Jun 2019 07:10:46 GMT
  Re: Locking for a solution to create backlight functionality  
From: William F Pokorny
Date: 18 Mar 2019 23:59:41
On 3/18/19 7:06 PM, povray wrote:
> Hi Folks,
> I#m new to this forum. Hi everybody!
> 
> As the subject already tells I'm searching for a solution to design for example
> a screen of a mobile phone, where I can use a PNG file as a screenshot that
> should be iluminated like on a real backlighted screen of a mobile.
> 
> Therefore I found two solution, but non of them I'm glad with.
> 
> First atempt:
> This works first of all, but by placing the union of light_source and box with
> the translate command to another position the light_source is not moved
> accordingly.
> 

Hmm. Is this still true if you define an initial point_at <3d location> 
in your macro ?

> 
> What else could I do to achiv a screen with backlight?
> 
> 

Tossing out ideas not being completely sure what you need.

If you just want to see the image on the screen at a constant intensity 
you could set the image screen shape texture's emission (or ambient) 
finish to 1.

If your after an actual glowing screen which will light the scene, an 
option is to use radiosity and define the screen box/image with an 
emissive finish: emission 1 or larger.

Perhaps too the double_illuminate object qualifier or the diffuse 
backside illumination feature would be of use depending on what your 
after.

http://wiki.povray.org/content/Reference:Double_Illuminate_Object_Modifier

http://wiki.povray.org/content/Reference:Finish#Diffuse_Reflection_Items

Bill P.


Post a reply to this message

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