POV-Ray : Newsgroups : povray.beta-test : Optional way to handle #include files? : Re: Optional way to handle #include files? Server Time
30 Jun 2024 12:20:12 EDT (-0400)
  Re: Optional way to handle #include files?  
From: clipka
Date: 29 Jul 2010 19:37:19
Message: <4c5210af$1@news.povray.org>
Am 29.07.2010 23:57, schrieb Christian Froeschlin:
> stbenge wrote:
>
>> #include "transforms.inc" into_scene
>
> I'd support the feature request that include handling
> should be more efficient but without special syntax.
> After all, once you have implemented the functionality
> there is no need to have slow includes anymore. There
> might be some additional memory use for the include
> files but it should be manageable.

There is the potential of breaking a macro framework or two: In case an 
include file with macros would be generated on-the-fly multiple times 
with the same name but different content, caching macros would change 
the behaviour.

I instead suggest to leave such features to a next-generation scene 
language.


Post a reply to this message

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