POV-Ray : Newsgroups : povray.general : New Get macro : Re: New Get macro Server Time
16 Apr 2024 16:14:42 EDT (-0400)
  Re: New Get macro  
From: Leroy
Date: 10 Aug 2020 14:35:00
Message: <web.5f3192684810ab9f9a89d6670@news.povray.org>
ingo <ing### [at] tagpovrayorg> wrote:
> in news:web.5f0cba1a35748460e3ef795d0@news.povray.org Leroy wrote:
>
> >  So I combine them by using the Get variable. If the Get variable was
> >  not
>
> This is what I add to the bottom of my include files
>
> #if(input_file_name="yourfile.inc")
>
>    put the test scene here
>
> #end
>
> When the .inc file is included from somewhere it does not render the test
> scene. If run solo it renders the test.
>
> Ingo

I like it!
So my Get macro need not be.
I started using that 'Get' way back when... I think 3.0 dos.
I just didn't know 'input_file_name' could be access from a POV render file.

Let's face it there is a lot to POV!

Have Fun!


Post a reply to this message

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