|
|
> posfan12 <pos### [at] gmailcom> wrote:
>> Does this still work in POV 3.7?
>
> Include files do it all the time, and yes, in 3.7. They typically restore the
> old version at the end. Using colors.inc as an example:
> ___________________________________
>
> #ifndef(Colors_Inc_Temp)
>
> #declare Colors_Inc_Temp = version;
> #version 3.5;
>
> ....
>
> #version Colors_Inc_Temp;
> #end
> ___________________________________
>
> Tell Michael to look in the 3.7 include directory. Only one of the official
> include files sets #version 3.7;.
>
> Setting the #version in the include file insures that POV-Ray will know which
> version the file was intended for. For example, an include file written for 3.6
> might use ambient to make an object glow. This does not work in 3.7 when
> radiosity is used, but with a #version 3.6; POV-Ray 3.7 will know that it should
> revert to earlier behavior just for this file. Thus, an include file written
> for 3.6 will behave predictably in a scene written for 3.7. (This is one answer
> to Doctor John's question.)
>
> Of course, it is common courtesy for the include file to restore the previous
> version so there are no baffling surprises for the user.
>
Actualy, with version 3.7, having a file setting #version 3.6; will NOT
make an object or texture with ambient 1 glow when using radiosity.
In version 3.7 using radiosity globaly disable ambient. You must use
emission instead.
Post a reply to this message
|
|