I'm working on bones in PovRay see:
Here is the first code and example (pretty alpha, but it works...)
How it works:
The program needs the file "bones.txt" it contains the position of the bones.
Than it calculates the distance between _every_ vertex. This will define the
power of the influence of the bone. Means, that _every_ bone effects _every_
It generates a view files:
"animmesh.inc" - the geometry
"bones.def.inc" an example of animated bones, based on the "bones.txt" file.
"debug.txt" ignore this file.
It also needs the geometry file (mesh2). In this example: "original.inc"
If You edit the bones.txt file and your scene will not render, checkout the
"bones.def.inc" file carefully (especially the count of the bones)
A view things before you can start.
-The program I'm wrote is in Basic!! Sorry!!!! You need FreeBasic to use it.
I recommend to use the JellyFish editor.
-There is a predefined plane, named "original.inc". If you like to use your own
geometry, you have to edit the code in povbones.bas. Edit the second line
to your own, or remark it and unremark the first line
After compiling the program, you cam start it by giving the name of your
geometry as a command for the program.
-There is a predefined file named "bones.inc". It contains the position of the
-The program generates automatically a file named "bones.def.inc". This file is
an example of how to animate the bones. If you edit this file, keep in mind,
that it will be overwritten, when you start povbones again!!! Use another
-Kepp in mind that povbones will incredible blow up the file size of your
Take a look in this forum to get updates. This program will be edit couple of
Post a reply to this message
Download 'povbones.rar.dat' (53 KB)