Link PlugIn for Moray
This Moray PlugIn Implements an interface to Chris Colefax's Link Include file.
Use the new Link button to create a Link (in the create tab).
To use the link object you must choose an object to be at each
end of the link, i've found thats its usually best to use a
sphere. If you don't want the sphere to show up in the render
window just scale it smaller than the link size.
Instructions for the use of the Link Include file are included
Note : If you have Moray set to check for untextured items it
will complain about the link endpoint objects if you have not
textured them.
Note 2: To use the default link textures you will have to change
the Moray configuration options to NOT check for untextured objects,
this also means that note 1 above does not apply (Povray will apply a
default pigment of Red to the spheres).
Installation Instructions
Copy the .dll file into the Moray PlugIn directory. I've changed Chris' linkobjs.inc (added link_texture) and the link.inc file to add texture to the default object, and set the version to 3.1. Put these files in the povray include directory after unzipping them from the included link.zip file.
Thats all there is to it!!
Known Problems:
None as yet, but I'm sure you will tell me about any that spring up ;-)
Known Features:
You can only use a Sphere, Cone, Cube, Cylinder, Blob,
or SuperQuadric as a link endpoint, the other objects won't
work properly as they either have no coordinates (Group, CSG) or
they would not look correct.
If you do find any bugs/features or would like more features added or have a comment on the implementation then you can e-mail me @
keithh@totalise.co.uk
Things To Do:
1. Allow non-default objects to be Link Objects. 2. Allow the user to directly specify endpoint coords. 3. Draw a line between the endpoints in the Moray View. 4. Calculate the midpoint of any object so that it can used as an endpoint.
The newest version of the Link PlugIn will always be available @
http://users.zetnet.co.uk/keithh
The link at the bottom of my Povray page should allow anyone to download it.
Many thanks to Lutz, the POV Team and of course Chris Colefax (Master of the include file).
Keith
Release History
Version 0.1 Beta (16/10/1999)
Release to Public.
Version 0.2 Beta (20/10/1999)
Made the CameraSky options allow -ve numbers (Range is now -1 to +1).
Thanks to Fitz for pointing this out<\P>
Version 0.3 Beta (06/01/2000)
Statically Linked for Moray 3.2
Version 0.4 Beta (30/05/2000)
Squashed bug found by Thomas de Groot - where the Link Size and Count were not independent of each other.
Version 0.5 Beta (31/05/2000)
InitObject was not initializing the objects vars.
Version 0.6 Beta (08/01/2001)
Fixed a notify event bug.