POV-Ray : Newsgroups : moray.binaries : SCaleable Smoke gen? Server Time
19 May 2024 17:51:10 EDT (-0400)
  SCaleable Smoke gen? (Message 1 to 4 of 4)  
From: Psychomek
Subject: SCaleable Smoke gen?
Date: 7 Feb 2000 12:12:35
Message: <389EFFB5.51E3C79B@cyberhighway.net>
here is my Moray scene file with my scaled smokegen object....Must be
Moray 3.2 second beta

and can someone help me with the smokegen.inc file?

I get this error....

//---------------------------------------------------------------------------------

#macro IfDebug(string <----ERROR

C:\Program Files\POV-Ray\INCLUDE\smokegen.inc:35: error: identifier or
expression. expected but string found instead.


Returned from renderer (non-zero return value)


Post a reply to this message


Attachments:
Download 'smokeg.mdl.dat' (2 KB)

From: Mikael Carneholm
Subject: Re: SCaleable Smoke gen?
Date: 7 Feb 2000 16:08:34
Message: <389F3459.C0E4C998@ida.utb.hb.se>
Psychomek wrote:

> I get this error....
>
> //---------------------------------------------------------------------------------
>
> #macro IfDebug(string <----ERROR
>
> C:\Program Files\POV-Ray\INCLUDE\smokegen.inc:35: error: identifier or
> expression. expected but string found instead.

I was able to render the attached .mdl file in Moray without any problems, so I wonder
what
version of POV-Ray you are using? At least in v3.1, 'string' is not a keyword. I
haven't
checked MegaPOV yet, but it could be that 'string' is a keyword in MegaPOV. If it is,
(or
whatever the reason) you can replace the current definition of IfDebug in SmokeGen.mry
with
this:

#macro IfDebug(aString)
  #ifdef(Debugging)
    #if(Debugging)
      #debug aString
    #end
  #end
#end


However, no smoke was generated in the scene, and this was due to (mainly) two things:
1. Scene Start Clk was not set to 0. The clock (+k) value is always 0 when Moray calls
POV-Ray - thus, the routine that simulates previous frames (the SimulateElapsedTime
macro)
will not work as it requires that clock = SceneStartClock. Actually, (at least in the
current implementation of the Moray SmokeGen plugin) the Scene Start Clk parameter is
obsolete, so just leave it to 0.
2. Trail Length was set to 2, which means that only two elements will be generated.
And as
the Const Ascend Rate parameter was set to 0.25, the only two elements generated were
hidden
inside the red sphere.

Also, 272 simulated frames is unnecessary when the camera is that close (in
conjunction with
the ascension used) - 50 is quite adequate for such a close-up image.

Hope this helps,

- Mikael.

----------------------------------------------------
Mikael Carneholm
Dep. of Computer Science and Business Administration


Personal home page:
http://www.studenter.hb.se/~arch
E-mail:
sa9### [at] idautbhbse


Post a reply to this message

From: Fabian Brau
Subject: Re: SCaleable Smoke gen?
Date: 8 Feb 2000 04:27:24
Message: <389FE255.D34EF159@umh.ac.be>
I am sure that you use Megapov right?

Fabian

Psychomek wrote:
> 
> here is my Moray scene file with my scaled smokegen object....Must be
> Moray 3.2 second beta
> 
> and can someone help me with the smokegen.inc file?
> 
> I get this error....
> 
> //---------------------------------------------------------------------------------
> 
> #macro IfDebug(string <----ERROR
> 
> C:\Program Files\POV-Ray\INCLUDE\smokegen.inc:35: error: identifier or
> expression. expected but string found instead.
> 
> Returned from renderer (non-zero return value)
> 
>   ------------------------------------------------------------------------
>                  Name: smokeg.mdl
>    smokeg.mdl    Type: MorayW Document
(application/x-unknown-content-type-MorayWin.Document)
>              Encoding: base64


Post a reply to this message

From: Psychomek
Subject: Re: SCaleable Smoke gen?
Date: 8 Feb 2000 08:38:58
Message: <38A01F41.A52120C5@cyberhighway.net>
Megapov..... is right.

Fabian Brau wrote:

> I am sure that you use Megapov right?
>
> Fabian
>
> Psychomek wrote:
> >
> > here is my Moray scene file with my scaled smokegen object....Must be
> > Moray 3.2 second beta
> >
> > and can someone help me with the smokegen.inc file?
> >
> > I get this error....
> >
> >
//---------------------------------------------------------------------------------
> >
> > #macro IfDebug(string <----ERROR
> >
> > C:\Program Files\POV-Ray\INCLUDE\smokegen.inc:35: error: identifier or
> > expression. expected but string found instead.
> >
> > Returned from renderer (non-zero return value)
> >
> >   ------------------------------------------------------------------------
> >                  Name: smokeg.mdl
> >    smokeg.mdl    Type: MorayW Document
(application/x-unknown-content-type-MorayWin.Document)
> >              Encoding: base64


Post a reply to this message

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