POV-Ray : Newsgroups : povray.beta-test : Full area lighting in next beta : Re: Full area lighting in next beta Server Time
29 Jul 2024 02:33:15 EDT (-0400)
  Re: Full area lighting in next beta  
From: Alain
Date: 6 Nov 2007 14:37:43
Message: <4730c287$1@news.povray.org>
Warp nous apporta ses lumieres en ce 2007/11/05 22:19:
> Trevor G Quayle <Tin### [at] hotmailcom> wrote:
>> 1) System variables to return the resolution of an input image.  This appears to
>> be already available in the source code, just not passed on to the SDL.
> 
>   This should definitely be doable, but I'll have to ask the team about
> their opinion. (Cons: Minor feature, increases reserved keyword clutter...)
>

We already have image_width and image_height, why not reuse it with this 
variation: when included with an image that is loaded, it returns the dimentions 
of that image instead of that of the rendered image.
It could look somewhat like:

image_map{jpg "MyImage.jpg" Width = image_width, Height = image_hight, [your 
other parameters]}



-- 
Alain
-------------------------------------------------
You know you've been raytracing too long when you can no longer tell the 
difference between the top raytracing book and the "Raytracing for Dummies" 
book. To you, they're both hopelessly uninformed.
     -- Taps a.k.a. Tapio Vocadlo


Post a reply to this message

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