INSERCODEMFC Moray Plugin
-----------------------------------

With this plugin, you are allowed to insert Povray Code directly in Moray Scenes.

1 - Installation

Copy the InsertCodeMFC.dll into Moray Plugin directory.
That's all.

2 - Interface

This new object can't be placed in CSG or Group, can't be transformed, can't be textured etc...
This is a very poor object :)
But, you have 16 384 free caracters to type or paste your code.

In Modify Tab, you can see :

- button Insert Code
	If you click it, you'll open a dialog where you can insert your code

- radio buttons in group Export Location
	It defines where the code inserted will be exported.
		Anywhere		: Let Moray insert your code in the place where normal objects where exported
		Beginning of Export	: Put your code at the beginning of export, before global settings
		Before References	: Put your code before referenced objects
		Before Objects		: Put your code between referenced objects and objects
		Enf ox Export		: Put your code after all, at the end.

- check box Export
	If checked, your code will be exported, if not, Moray doesn't take care about your code in export.

In the dialog opened by button Insert Code :

You can resize, and maximise the dialog.
You can insert 16 384 caracters. (16 Kb !).

If you valid with OK, your insert or changes will take effect.
If you canceled, all you changes are lost.


3 - Liberty but ...

Be sure your code is right, cause Povray will warning or stop render if not.
Be sure, althought it's your aim, you don't end the code by some things like :
	/*
or
	object {
etc...


4 - History

V1.001 18/06/2003
	Corrected bugs in export.
	Added Name of InsertCode object in export.
	Corrected drawing of status bar in InsertCode dialog.
	

V1.000 17/06/2003 
	First distribution of this plugin




Enjoy :)


Luis

Lightning Generator  	http://www.lightning-generator.fr.st
Moray Plugins		http://lightning.generator.tuxfamily.org/modules.php3?op=modload&name=Moray_plugins&file=index
email			lightning.generator@free.fr
