POV-Ray : Newsgroups : povray.animations : AutoClck.mcr : Re: AutoClck.mcr Server Time
27 Apr 2024 16:18:56 EDT (-0400)
  Re: AutoClck.mcr  
From: Alain
Date: 7 Feb 2013 16:37:43
Message: <51141ea7$1@news.povray.org>

> Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:

>>> I have used Chris Colefax's excellent macros for animation years
>>> ago. Now I thought to use some time with Povray animation. I was
>>> quite upset when I found out that these essential macros are not
>>> compatible with 3.7.
>>
>>     Seems to me you are the only one out there with some knowledge of
>> these tools, and almost the only one with enough motivation to fix it...
>> maybe it's not that hard, and it's just a matter of adding semicolons at
>> the end of every #declare line. You could try that, and then tell us
>> what are the errors left.
>>
>> --
>> Jaime
>
> This will help for sure, but may be cumbersome if there are many #declare
> statements. If you use only SDL features from version 3.1 (and older and no
> features added in later releases) you can simply add "#version 3.1;" as the
> first line in your main scene file and don't need to add a semicolon after every
> #declare.
>
> Best regards,
> Michael
>
>
At the beggining if the file, add:
#declare Autoclick_Ver=version;
#version 3.1;

And, at the end, add:
#version Autoclick_Ver;
to restore the version setting for the rest of the scene.

You find a similar construct at the beggining and end of most standard 
includes.


Alain


Post a reply to this message

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