POV-Ray : Newsgroups : povray.general : using rhe quality setting from a .pov file : Re: using rhe quality setting from a .pov file Server Time
25 Sep 2021 10:28:31 EDT (-0400)
  Re: using rhe quality setting from a .pov file  
From: Bald Eagle
Date: 6 May 2019 16:35:01
Message: <web.5cd099fff44f24c24eec112d0@news.povray.org>
Hi tTh,

There are certainly a lot of people who would like to see direct user access to
internal variables in future versions - but who knows how far off that will be.

Perhaps what you can do as a workaround is define an array for your pigments,
textures, etc, and then declare a quality variable at the beginning of the


#declare Q = 5;

#declare Texture1 = array [9] {
texture {pigment {Red}},
texture {pigment {Red} normal {bumps} finish {specular 0.4}}

and then in your scene you can do:
object {Object1 texture {Texture1[Q]}}

But it seems odd that the Quality setting for the render doesn't automatically
do the equivalent of this.   Perhaps there's some other issue?

You say the scene has "a lot of light".
If you have a large number of light sources, that will definitely slow the scene
down due to the number of rays that need to be calculated.   Maybe see if you
can use area lights or something similar?

Perhaps others will have better suggestions.

As always - if you can provide working code to demonstrate the problem, it will
be easier to understand what the real problem is and offer a viable solution if
it exists.

Post a reply to this message

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