A selection of sample scenes using makemesh.inc with udo support.
A working knowledge of Moray and POV-ray is assumed.
The following files are provided AS IS, use at your own risk.
|
thumbnail |
description |
files |
Ingo's makemesh.inc with udo support:
Please direct and comments about udo support to me.
email
To use:
A working knowledge of POV-Ray and Moray is required.
Download the MMMM_021023.zip file from Ingo's web site,
http://members.home.nl/seedseven/
Unzip into a directory that POV-Ray can find
example: ... POV-Ray\include
This will place include files here, and make a sub-directory with sample scenes.
example: ... POV-Ray\include\mesh_demo
I recommend that you rename the makemesh.inc file to makemesh_backup.inc
makemesh_udo1b1.zip 4k
makemesh.inc
Place my modified makemesh.inc in the POV-Ray\include directory.
From POV-Ray, open sample scene.
example: POV-Ray\include\mesh_demo\p_sphere.pov
I recommend changing the Object declaration from:
Parametric (
F1, F2, F3,
<0, FromV(0)>, <2*pi, pi>,
200, 100,""
)
to:
Parametric (
F1, F2, F3,
<0, FromV(0)>, <2*pi, pi>,
100, 50,"test_p_sphere.udo"
)
This will reduce the number of triangles and output two files
test_p_sphere.udo (can be imported into Moray)
test_p_sphere.inc
Render scene.
The files are created (in this example) in POV-Ray\include\mesh_demo
From Moray, new scene (camera and light)
Import udo

Look for POV-Ray\include\mesh_demo\test_p_sphere.udo
Assign a material.
Render scene.
Moray displays the wireframe from the *.udo,
but renders the mesh from *.inc (this is how udo's work)
If you want to try different settings, you will need to delete
(in this example) the test_p_sphere.udo file first,
makemesh.inc will not overwrite files.
With the udo selected, you can
Convert To Mesh
You can now use the Mesh Editor to change the mesh.
Comments welcome