POV-Ray : Newsgroups : moray.win : Cube.lua plugin : Re: Cube.lua plugin Server Time
18 Jun 2024 10:01:41 EDT (-0400)
  Re: Cube.lua plugin  
From: StephenS
Date: 1 Dec 2003 15:42:38
Message: <3fcba7be@news.povray.org>
> I have started a plugin to allow...
...

Cube1a3.zip now available
includes Cube.lua and Sphere.lua(requires Cube1a3 or later)

Added a simple internal declare.
Anything before the first equal sign (=) will be replaced with anything
after the equal sign.
Substitution is in reverse order (last declared is applied first)
example:
m=*1
cm=/100
mm=/1000

2m+23cm+7mm
internally will be converted to (in steps)
2m+23cm+7/1000
2m+23/100+7/1000
2*1+23/100+7/1000
or
2.237

It's easy to confuse the plugin
mm=/1000
cm=/100
m=*1
from the previous example
2*1+23c*1+7*1*1
c is not a valid number, error!

There is reference to mesh2 and isosurface in the plugin, these are not
implemented yet.

Comments welcome

Stephen


Post a reply to this message

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