POV-Ray : Newsgroups : povray.general : Compile listing Server Time
16 Nov 2024 21:13:47 EST (-0500)
  Compile listing (Message 1 to 2 of 2)  
From: Tom A 
Subject: Compile listing
Date: 14 Aug 2003 09:15:18
Message: <3f3b8b66@news.povray.org>
Is there a way to get a listing of what POV is rendering?

I know it sounds silly, but ....

I haven't tried it recently, but in the past I've had trouble with the 
blobman macros, specificially the hair color;  The line where the error 
came from (down two or three levels of macro expansion) didn't help me 
debug it.

So - is there a way to get a listing of the source with all the includes 
and macros expanded?

Thanks.

Tom A.


Post a reply to this message

From: ABX
Subject: Re: Compile listing
Date: 14 Aug 2003 09:21:39
Message: <au2njvg3gv7o59nn5ii8o22lenq9f3serf@4ax.com>
On Thu, 14 Aug 2003 08:14:41 -0500, "Tom A." <met### [at] yahoocom>
wrote:
> So - is there a way to get a listing of the source with all the includes 
> and macros expanded?

Do you need expanded list or just order of "execution"? You can just start
every include file with:

  #debug "Inclusion of this_file_name.inc\n"

and every macro with:

  #debug "Execution of this_macro_name.inc\n"

In standard include files you can get it by declaring

  #declare View_POV_Include_Stack = yes;

at begining of your main scene.

ABX


Post a reply to this message

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