Plugins for Moray by StephenS


The following use:
    Moray 3.5
    Fullmoon Lua scripting plugin 2b
    Pov-ray 3.5 or MegaPov 1.0

A working knowledge of Moray and Pov-ray is assumed.
All plugins are a plain text file with (.ful) extension, so you can look at the code.
If you are interested in writing your own plugin, or understanding mine, you may be interested in additional information at
    Lua.org  example: LUArefman-5.0.pdf

The following files are provided AS IS, use at your own risk.

     
     

The following use:
    Moray 3.3
    Fullmoon Lua scripting plugin 1.1b
    Pov-ray 3.5 or MegaPov 1.0

A working knowledge of Moray and Pov-ray is assumed.
All plugins are a plain text file with (.lua) extension, so you can look at the code.
If you are interested in writing your own plugin, or understanding mine, you may be interested in additional information at
    Lua.org  example: Lua 4.0 reference manual.pdf

The following files are provided AS IS, use at your own risk.

Pov objects: includes
  Isosurface.lua 1b
  Julia fractal.lua 1b
  Parametric.lua 1b
  Cubic.lua 1b
  Quadric.lua 1b
Only a reference mark is displayed in Moray.
Similar to using an include file except you can scale, rotate, and translate in Moray.
Pov_objects_1.zip 15k
Helper plugins: includes
  Pov code.lua 1b
  CSG code.lua 1b
 
Only a reference mark is displayed in Moray.
Similar to using an include file.
Pov code: lets you pass several lines of code to pov-ray.
CSG code: lets you group together with an object several lines of code to pass on to pov-ray.
Helper_1.zip 3k
     
Isosurface.lua 1b4 Only a wireframe of the contained_by statement displayed in Moray. Isosurface1b4.zip 5k
Julia_fractal.lua 1b1 Only a reference mark is displayed in Moray. Juliafractal1b1.zip 3k
Shear.lua 1b1 Shear some pre-defined objects: box, cone, dodecahedron, icosahedron, octahedron, sphere, tetrahedron, torus. Shear_1_1.zip 5k

Shear plugin examples

     

POV-Ray needs 'Permit read/write in current directory'.

Actuate.lua 1b Animation:
You must supply an 'Input_File_Name' for the plugin to do anything.
Actuate1b.zip 3k

Actuate plugin examples

     

Work in process

Helper.lua 1a1 Used by other plugins to create, manipulate, display wire frames on the screen, and to allow simple math expressions in a textbox Helper1a1.zip 9k
SimCloth.lua 1b, requires Helper.lua 1a1 or later. Interface to the simcloth{} object in MegaPov1.0
Simple wireframe of the cloth before simcloth{} interaction. Includes optional UDO/inc output.

SimCloth1a5.zip 6k

SimCloth_Samples_1a2.zip

Rivet.lua 1a1
 
Interface to the trace() function of POV-Ray Rivet1a1.zip 2k

Rivet plugin examples

Cam.lua 1a, requires Helper.lua 1a1 or later. An alternative camera object.
Only perspective and orthographic have wireframes.
Cam1a.zip 4k

Cam plugin examples

Isosurface2.lua 2a, requires Helper.lua 1a or later.
testjunkiso.mdl
Only a wireframe of the contained_by statement displayed in Moray. Isosurface2a.zip 14k

Isosurface2 plugin examples

Manikin.lua 1a, requires Helper.lua 1a or later.
testjunkmanikin2.mdl
Manikin_blob.inc
Manikin_cylinder.inc
Very early stages of a pose able person. Simple stick wireframe of a person. Manikin1a2.zip 20k

Manikin plugin examples

Cylinder_udo.lua, requires Helper.lua 1a1 or later. Not recommended for a scene, included here to show it can be done. Most of the work is done in Helper.lua. Cylinder_udo1a.zip 2k
Tourist.lua 1a Included here to show it can be done. Tourist1a2.zip 12k

Tourist plugin examples

Sample mdl files (zip).

Tips for programming plugins with Fullmoon 1.1b

E-mail me:

Counter