POV-Ray : Newsgroups : povray.binaries.utilities : Bones in PovRay part 3 Server Time
8 Oct 2024 18:30:44 EDT (-0400)
  Bones in PovRay part 3 (Message 1 to 3 of 3)  
From: H  Karsten
Subject: Bones in PovRay part 3
Date: 5 Feb 2008 08:25:01
Message: <web.47a861ab53c55f8525876e950@news.povray.org>
Hi people.

I'm working on bones in PovRay see:
Message: <web.47a7137fcacc0e3f38362eb40@news.povray.org>
Message: <web.47a71788bdcb3ea938362eb40@news.povray.org>

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_
vertex!!
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.
http://www.freebasic.net/
I recommend to use the JellyFish editor.
http://www.planetsquires.com/

-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
meshdata$="original.inc"
to your own, or remark it and unremark the first line
meshdata$=Command$
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
bones.

-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
filename!!

-Kepp in mind that povbones will incredible blow up the file size of your
geometry!

Take a look in this forum to get updates. This program will be edit couple of
times.

-holger-


Post a reply to this message


Attachments:
Download 'povbones.rar.dat' (53 KB)

From: H  Karsten
Subject: Re: Bones in PovRay part 3
Date: 5 Feb 2008 08:35:01
Message: <web.47a864f7f29955dd25876e950@news.povray.org>
> -There is a predefined file named "bones.inc". It contains the position of the
> bones.

The name of the file is not bones.inc!! Its "bones.txt"

-holger-


Post a reply to this message

From: robotguy
Subject: Re: Bones in PovRay part 3
Date: 12 Jun 2010 18:05:01
Message: <web.4c140397f29955dd926a7e230@news.povray.org>
"H. Karsten" <h-karsten()web.de> wrote:
> > -There is a predefined file named "bones.inc". It contains the position of the
> > bones.
>
> The name of the file is not bones.inc!! Its "bones.txt"
>
> -holger-

Holger, you may be interested in this:
<web.4bfe2c7188bb62bc926a7e230%40news.povray.org>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.