POV-Ray : Newsgroups : povray.newusers : Problem with smokegen Server Time
5 Nov 2024 03:15:03 EST (-0500)
  Problem with smokegen (Message 1 to 3 of 3)  
From: mitcho
Subject: Problem with smokegen
Date: 24 May 2004 00:45:01
Message: <web.40b17d02b7e8ba459efe766b0@news.povray.org>
I downloaded the smokegen from kieths website and attached the smoke thing
to a cylinder.

i hit raytrace and got this error:

"*SmokeGen is echoing to the message window as Debugging is on (default)*

File: C:Program FilesPOV-RayINCLUDEsmokegen.mry  Line: 289
#read (LmntFile,ecount

,position,size <----ERROR

Parse Error: Expected 'undeclared identifier', size found instead


Returned from renderer with error status"

Couple of important things,i am running moray 3.5 on  windows xp pro.
When i inserted the plugin i attached it to the cylinder. there is a "spline
file?" drop down menu, but when i click it, there is nothing in it. im not
sure if the error is generated be cause i do not have a spline file or not.
Because i have no idea how to create a spline file so if i can get help
with that too that would be great.
i notice the error has something to do with the smokegen.mry file. i
downloaded the plugin from kieths website and have not edited any of the
files in anyway.

Please can anyone reply here or drop me an email. thanks so much.


Post a reply to this message

From: Christopher James Huff
Subject: Re: Problem with smokegen
Date: 24 May 2004 14:43:53
Message: <cjameshuff-6AF7ED.13442024052004@news.povray.org>
In article <web.40b17d02b7e8ba459efe766b0@news.povray.org>,
 "mitcho" <mpa### [at] mailusydeduau> wrote:

> File: C:Program FilesPOV-RayINCLUDEsmokegen.mry  Line: 289
> #read (LmntFile,ecount
> 
> ,position,size <----ERROR
> 
> Parse Error: Expected 'undeclared identifier', size found instead

Ugh...that's what you get when the author uses lower-case variable names.

The word "size" is now a keyword in the facets pattern, and can't be 
used as a variable name. Change all occurrences to "Size", and it'll 
work fine...unless there are other conflicts. This is exactly why you 
should always put at least one upper-case letter in variable 
names...keywords will always be lower-case.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

From: mitcho
Subject: Re: Problem with smokegen
Date: 29 May 2004 02:30:00
Message: <web.40b82d8c3a719ce481e1519f0@news.povray.org>
Big thanks mate,

worked like a charm.

for anyone else that has this problem, the above post is the solution!

thanks


Post a reply to this message

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