POV-Ray : Newsgroups : povray.general : using rhe quality setting from a .pov file : Re: using rhe quality setting from a .pov file Server Time: 19 Jun 2019 06:41:11 GMT
  Re: using rhe quality setting from a .pov file  
From: Bald Eagle
Date: 6 May 2019 20:35:01
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
scene.


So:


#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-2008 Persistence of Vision Raytracer Pty. Ltd.