POV-Ray : Newsgroups : povray.unofficial.patches : Problem rendering cinematic like explosing with MegaPov 1.1 : Re: Problem rendering cinematic like explosing with MegaPov 1.1 Server Time
16 May 2024 17:49:51 EDT (-0400)
  Re: Problem rendering cinematic like explosing with MegaPov 1.1  
From: Zeger Knaepen
Date: 20 Jun 2005 07:34:34
Message: <42b6a9ca$1@news.povray.org>
"Fidel Viegas" <non### [at] nodomaincom> wrote in message
news:42b682c0@news.povray.org...
> Hello folks,
>
> I have modified the cinematic-like explosiong file posted by H.E. Day at
> p.b.sf
>
> The original file was intended for Megapov 0.4, and I have made a few
> changes to try to render it with MegaPov 1.1. Here is the modified version:
>
<...>
> and this is the error I am getting:
>
> File Context (5 lines)
> #include "pprocess.inc"
> global_settings {
> post_process {soft_glow{
> Parse Error: expected 'operand', found { instead
>
> I have looked at the post_process syntax and I can't find where the
> parse error is.
>
> Can anyone help me figure out where the error is?

The problem is that the post-processing feature of MegaPov 1.1 (or higher) is
completely different (more powerful, but sadly enough also a lot slower) than it
was in MegaPov 0.4.  Remove the post-process block, and it should work fine.  If
you want the soft-glowing post-processing, you'll need to make it yourself,
because, as far as I know, it's not included with MegaPov 1.1.  It's not that
hard to do, but as I said earlier, it's rather slow.

cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x)                 // ZK http://www.povplace.com


Post a reply to this message

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