POV-Ray : Newsgroups : povray.general : Question about the Pov ray addon for Blender 2.79 : Re: Question about the Pov ray addon for Blender 2.79 Server Time
19 Apr 2024 10:28:18 EDT (-0400)
  Re: Question about the Pov ray addon for Blender 2.79  
From: Thomas de Groot
Date: 25 Sep 2019 03:09:54
Message: <5d8b12c2@news.povray.org>
Op 25/09/2019 om 04:45 schreef tylerm8101:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
>> "tylerm8101" <tyl### [at] gmailcom> wrote:
>>
>>> Usually, I put the pvengine64.exe in the Binary branch, and leave the "Includes
>>> Location" empty, but I want to know if I should put something in the "Includes
>>> Location" now.
>>
>> One would presume any #include files for scenes.
>>
>> Maybe Mr or And can provide further details.
> 
> Hi there.
> 
> In the Pov Ray file folder there is a sub folder called "Include" and the files
> in it has the extension "inc" .
> 
> Is this what you mean?
> 
> 
That is indeed what Bald Eagle means. In POV-Ray script this takes the form:

#include "colors.inc"
#include "rand.inc"
#include "functions.inc"
#include "transforms.inc"

but you can also write your own include files with code you have 
developed specifically and want to access later. You can also build 
macros this way and access them like, e.g.:

#include "MySmartMacroCode.mcr"

see: http://wiki.povray.org/content/Reference:Include_Directive

-- 
Thomas


Post a reply to this message

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