POV-Ray : Newsgroups : povray.general : Problems scaling media : Re: Problems scaling media Server Time
14 Nov 2024 17:11:26 EST (-0500)
  Re: Problems scaling media  
From: Alan Kong
Date: 23 May 1999 17:50:52
Message: <37496819.43326629@news.povray.org>
On Sun, 23 May 1999 08:50:09 -0500, Bob Hughes <inv### [at] aolcom>
wrote:

> scale the media larger(?) by a directly proportional
> amount. ie. object {YourObject media {scale*2} scale/2} and the
> reverse is also true, object {YourObject media {scale/2} scale*2}.

  This might work to save some typing:

  #declare Object_scale = .5;	// example value, only
  #declare Media_scale  = 1/Object_scale;

  {YourObject media {scale*Media_scale} scale*Object_scale}

-- 
Alan
--------------------------------------------------------------------
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
news.povray.org - where POV-Ray enthusiasts from around the world
                - get together to exchange ideas and experiences
--------------------------------------------------------------------


Post a reply to this message

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