POV-Ray : Newsgroups : povray.binaries.images : max_extent demo Server Time
13 Nov 2024 17:33:27 EST (-0500)
  max_extent demo (Message 1 to 3 of 3)  
From: Jim Holsenback
Subject: max_extent demo
Date: 31 Jul 2010 10:02:12
Message: <4c542ce4@news.povray.org>
Greetings,

Working on some doc stuff this morning ... beta24 added the ability to
get pixel resolution of an image using max_extent.

See the entry here:
http://wiki.povray.org/content/Documentation:Reference_Section_2.1#Functions

I'm sure some of you could come up with a more creative usage(s) ... yes
that's a challenge ;-)

Anyway ... thought this was a neat feature addition!

Jim


Post a reply to this message


Attachments:
Download 'work.png' (94 KB)

Preview of image 'work.png'
work.png


 

From: Thomas de Groot
Subject: Re: max_extent demo
Date: 31 Jul 2010 10:40:49
Message: <4c5435f1@news.povray.org>
"Jim Holsenback" <jho### [at] povrayorg> schreef in bericht 
news:4c542ce4@news.povray.org...
> Anyway ... thought this was a neat feature addition!

It certainly is! I had forgotten or not realized its existence. Thanks for 
reminding us, Jim.

Thomas


Post a reply to this message

From: stbenge
Subject: Re: max_extent demo
Date: 31 Jul 2010 13:51:46
Message: <4c5462b2$1@news.povray.org>
Jim Holsenback wrote:
> Greetings,
> 
> Working on some doc stuff this morning ... beta24 added the ability to
> get pixel resolution of an image using max_extent.
> 
> See the entry here:
> http://wiki.povray.org/content/Documentation:Reference_Section_2.1#Functions
> 
> I'm sure some of you could come up with a more creative usage(s) ... yes
> that's a challenge ;-)
> 
> Anyway ... thought this was a neat feature addition!
> 
> Jim

Either I knew about it and forgot, or just never knew... anyway I can 
see this being useful in some cases. Scaling a height_field to the 
aspect of its input image would be one. Thanks for pointing it out (and 
doing the harder job of updating the docs)!


Post a reply to this message

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