POV-Ray : Newsgroups : povray.newusers : scaling, translating media containers : Re: scaling, translating media containers Server Time
4 Nov 2024 13:03:22 EST (-0500)
  Re: scaling, translating media containers  
From: Hughes, B 
Date: 13 Aug 2003 19:34:07
Message: <3f3acaef$1@news.povray.org>
"Penners" <pen### [at] hotmailcom> wrote in message
news:web.3f37efb24c84f230807ed64d0@news.povray.org...
> Actually I just tried redefining the media container to simply fit the
> scene, but again the media is not the same as before.  So it isn't the
> scaling or translating...anyone have any other ideas?

Media density requires an inverse rescaling when changing the scale of the
container object. And df3 is going to also act in a manner such as image_map
does when transforming it. You'll want to think in those terms then. For
example, adding "translate 0.5 scale 0.5" to the end of the density
statement (or block) and then multiplying the container object scale by 2
should show the same thing as it would if no changes were made.

You probably had some typical confusion going on. I saw this message after
replying to your latest question.

Bob H.


Post a reply to this message

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