POV-Ray : Newsgroups : povray.unofficial.patches : Error trying to use MegaPOV 1.2 post_process : Re: Error trying to use MegaPOV 1.2 post_process Server Time
24 Feb 2024 18:27:03 EST (-0500)
  Re: Error trying to use MegaPOV 1.2 post_process  
From: Jaime Vives Piqueres
Date: 2 Nov 2010 10:16:26
Message: <4cd01d3a$1@news.povray.org>
El Tue, 02 Nov 2010 06:28:33 -0400, ThomasR escribió:

> Thanks for the hint !
> 
> I was able to reach the next error : the compiler now recognizes the
> post_process and the PP_Depth, but it stops in pprocess.inc (which I
> absolutely did not modify), in the macro :
> 
> #macro _filter_depth(_f_in,_firld_start,_firld_depth)
> function{clip(adj_range2(_f_in(u,v),_firld_start,_firld_start
+_firld_depth,0,1),0,1)}
> #end
> 
> The error message is "Parse error, expected 'operand', found vector
> identifier instead"
> 
> It seems to come from "_f_in(u,v)"
> 
> I don't understand what I did wrong. Did I give wrong inputs to PP_Depth
> ?

  Most likely, yes...
 
> I called the function this way :
> 
> global_settings{
>      post_process{PP_Depth(<0,150,0>,150)}
>                 }
> 

  This seems a clear case of RTFM... :)

  I've just looked at

http://megapov.inetart.net/manual-1.2.1/megapov0121.html#inc_pprocess.inc

  and there I read "Field_Start specifies the beginning of the focal 
range *IN UNITS* from the camera." ;)

  Regards,


-- 
Jaime Vives Piqueres
		
La Persistencia de la Ignorancia
http://www.ignorancia.org


Post a reply to this message

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