How to import animations into Blitz3D

Started by Borislav, May 17, 2018, 20:28:41

Previous topic - Next topic

Borislav

I can't understand how to animate .MD2 files and how to export .B3D files.
This topic seems to be badly documented and I don't know any program that exports .MD2 or .B3D files.
I tried using .MD2 files but it turned out to only animate 1 part of the character, I didn't use a skeleton since my character is kind of blocky at the moment(modelling a character is a pain in the arse).
Can you please help(I am using blender)?  ;D

markcwm

I haven't tried but I think you use ExtractAnimSeq for MD2, this should convert animations so you can use SetAnimTime or Animate:
https://www.syntaxbomb.com/index.php/topic,4532.0.html

For exporting B3D in Blender see my post in this thread, Gandaldf's exporter only works with <2.5 Blender, so try Joric's exporter:
https://www.blitzcoder.org/forum/topic.php?id=116

RemiD

To create a mesh, and then joints (="bones"), and then set the influences (weights) of some joints over some vertices, i use Fragmotion, you can export in .b3d and the exported file is "clean".

To animate a rigged skinned mesh in Blitz3d, there are 2 ways :
->use extractanimseq() and then animate()
->use a variable to keep track of the current frame and then use setanimkey()

i prefer to use the 2nd method for the reasons mentionned here :
https://www.syntaxbomb.com/index.php/topic,4353.0.html
(there is a code example and a b3d rigged skinned mesh + a test animation)

MagosDomina

Borislav what CAD software are you using to create animations?

Borislav

Quote from: MagosDomina on May 20, 2018, 14:11:42
Borislav what CAD software are you using to create animations?
Isn't CAD software for designing electronics, mechanics, buildings but not games?
I use a program named Blender as I've stated in my question.
:)

MagosDomina

#5
CAD = Computer Aided Design. I prefer the term Computer Aided Drafting when describing anything related to mechanical engineering.

Sorry I missed your first post about Blender.


RemiD

Why do you want to use md2 meshes ? it is fast to animate rigged skinned b3d meshes nowadays...

3DzForMe

RemiD, what do you advise to animate rigged skinned B3D meshes? Do you use milkshape at all?
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

RemiD

@3DzForMe>>i have tested anim8or, milkshape, pacemaker, fragmotion, blender, and fragmotion is the best ! (most easy to understand and to use, and the .b3d export is clean)