POV-Ray : Newsgroups : povray.advanced-users : looks_like (again) : Re: looks_like (again) Server Time
19 Apr 2024 09:13:18 EDT (-0400)
  Re: looks_like (again)  
From: Mike Horvath
Date: 10 Mar 2018 19:29:48
Message: <5aa4787c$1@news.povray.org>
On 3/10/2018 6:56 PM, omniverse wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
>> I have the following settings. However, I can't get the sun_object to
>> appear visible. What am I doing wrong? Thanks.
> 
> Well, I think it's a problem with distance.
> 
> If the location is divided by 10 billion, or multiplied by 1e-10 (one ten
> billionth) it will show the sun when a camera at <0,0,0> is set to look_at the
> sun location.
> 
> light_source
> {
>   light_source_location*1e-10
>   rgb 1
>   looks_like
>   {
>    sun_object
>   }
>   parallel
>   point_at <0,0,0>
> }
> 
> camera {
>   location <0,0,0>
>   look_at light_source_location
> }
> 
> 
> 

I was able to work it out. Thanks for your help!


Mike


Post a reply to this message

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