To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 7253
7252  |  7254
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
LDraw Animation Behaviour .dat Files?
Newsgroups: 
lugnet.cad
Date: 
Tue, 5 Feb 2002 22:30:32 GMT
Viewed: 
436 times
  
Sorry, no progress so far with the LDA2002 project.

But I had a new idea today, mostly useful for making libraries of minifig
animation.
The basic idea is to make it viewable in any LDraw viewer and portable for
different LDraw animation systems or utilities. Sorry not POV, I'm afraid -
but who knows...!

The idea is based on using the STEP metacommand in a little different way.

The colour and the part numbers could of course be ignored or overridden by
the program calling the behaviour file.

In my system, most animation related .dat files are named matching "@*.dat",
and I would suggest that minifig animation behaviour files hould be named
"@mf*.dat".

I don't think this system is useful in all objects, for example vehicles
have different sizes and distances between their wheels. Yes, even different
number of wheels. Hopefully I'm wrong and this can be solved, too. Maybe in
a distant future, a model file can carry the information that enables any
animation program to make basic animations.

But let's take one step at the time.


0 "walk" - Basic Minifig Walk
0 Name: @mfwlk40.dat
0 Author: Tore Eriksson
0 LDraw Animation Behaviour File

0 Frame 000
0 [Hip]
1 1  0 -40 -4  1 0 0  0 1 0  0 0 1  970.dat
0 [Torso]
1 4  0 -72 -4  1 0 0  0 1 0  0 0 1  973.dat
0 [Head]
1 14  0 -96 -4  1 0 0  0 1 0  0 0 1  3626bp01.dat
0 [Hat]
1 0  0 -96 -4  1 0 0  0 1 0  0 0 1  3624.dat
0 [LeftArm]
1 4  0 -64 -4  1 0 0  0 0.9903 0.1392  0 -0.1392 0.9903  976.dat
0 [LeftHand]
1 14  23 -46.3516 -22.1336  0 0 1  -0.6043 0.8019 0  0.8019 0.6043 0  977.dat
0 [RightArm]
1 4  0 -64 -4  1 0 0  0 0.9903 -0.1392  0 0.1392 0.9903  975.dat
0 [RightHand]
1 14  -23 -42.0364 -16.5656  0 0 1  -0.8019 0.6043 0  0.6043 0.8019 0  977.dat
0 [LeftLeg]
1 1  0 -28 -4  1 0 0  0 0.9903 -0.1392  0 0.1392 0.9903  972.dat
0 [RightLeg]
1 1  0 -28 -4  1 0 0  0 0.9903 0.1392  0 -0.1392 0.9903  971.dat
0 STEP

0 Frame 001
0 CLEAR
1 1  0 -40 -8  1 0 0  0 1 0  0 0 1  970.dat
1 4  0 -72 -8  1 0 0  0 1 0  0 0 1  973.dat
1 14  0 -96 -8  1 0 0  0 1 0  0 0 1  3626bp01.dat
1 0  0 -96 -8  1 0 0  0 1 0  0 0 1  3624.dat
1 4  0 -64 -8  1 0 0  0 0.9613 0.2756  0 -0.2756 0.9613  976.dat
1 14  23 -49.0458 -28.4122  0 0 1  -0.4868 0.8782 0  0.8782 0.4868 0  977.dat
1 4  0 -64 -8  1 0 0  0 0.9613 -0.2756  0 0.2756 0.9613  975.dat
1 14  -23 -40.5022 -17.3882  0 0 1  -0.8782 0.4868 0  0.4868 0.8782 0  977.dat
1 1  0 -28 -8  1 0 0  0 0.9613 -0.2756  0 0.2756 0.9613  972.dat
1 1  0 -28 -8  1 0 0  0 0.9613 0.2756  0 -0.2756 0.9613  971.dat
0 STEP

0 Frame 002
... <snip> ...

0 Frame 020
0 CLEAR
1 1  0 -40 -84  1 0 0  0 1 0  0 0 1  970.dat
1 4  0 -72 -84  1 0 0  0 1 0  0 0 1  973.dat
1 14  0 -96 -84  1 0 0  0 1 0  0 0 1  3626bp01.dat
1 0  0 -96 -84  1 0 0  0 1 0  0 0 1  3624.dat
1 4  0 -64 -84  1 0 0  0 0.9903 0.1392  0 -0.1392 0.9903  976.dat
1 14  23 -46.3516 -102.1336  0 0 1  -0.6043 0.8019 0  0.8019 0.6043 0  977.dat
1 4  0 -64 -84  1 0 0  0 0.9903 -0.1392  0 0.1392 0.9903  975.dat
1 14  -23 -42.0364 -96.5656  0 0 1  -0.8019 0.6043 0  0.6043 0.8019 0  977.dat
1 1  0 -28 -84  1 0 0  0 0.9903 -0.1392  0 0.1392 0.9903  972.dat
1 1  0 -28 -84  1 0 0  0 0.9903 0.1392  0 -0.1392 0.9903  971.dat
0 STEP



Message has 1 Reply:
  Re: LDraw Animation Behaviour .dat Files?
 
(...) You should try and merge/append this with the connection database, e.g. model behavior vs. part behavior. No sense coming up with two different ways of doing basically the same thing. (20 years ago, 20-Jan-05, to lugnet.cad)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR