View unanswered posts | View active topics It is currently Thu Oct 18, 2018 4:05 am



Reply to topic  [ 62 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
 create 3d and include 
Author Message

Joined: Mon Sep 27, 2010 5:26 pm
Posts: 85
Quote:
That's about level 15.


:shock:

Quote:
Try:

1. Keyframe animation (easy and fast but a memory hog)

keyframes are pictures, right? I can't really us them for 3d...?!


Wed Feb 23, 2011 8:34 pm
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1291
Location: UK
keyframes are an integral part of any animation system, they're not restricted to pictures.

A keyframe is an important point in an animation sequence which defines the properties of objects at a particular time. As an example you could define a start keyframe as having a red 10 pixel square in the top left corner of the screen and an end keyframe as showing the same square in the bottom right, 10 seconds later. Your animation code would interpolate these positions over 10 seconds, producing a smooth animation of 600 frames, assuming you want 60 frames per second.

Obviously this can be extended to produce much more complex animations by defining scale factors, rotations and translations for many 3D objects.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Thu Feb 24, 2011 12:14 am
Profile ICQ WWW

Joined: Thu Jul 02, 2009 1:19 pm
Posts: 352
well actually...

to provide a little more detail. I think by keyframe he was referring to fully describing the geometry of the model for each frame in the pose/orientation for that frame. rather then describing the model as small pieces relative to each other. it is just one object that is pre formed into the right pose/orientation.


Thu Feb 24, 2011 1:09 am
Profile

Joined: Thu Jun 04, 2009 3:17 pm
Posts: 24
Location: Canada
elhobbs wrote:
well actually...
lol
relminator wrote:
Skining(Bone-animation) with quaternion slerping ( de facto standard )

I used normalized lerp (nlerp) when I did my 3D stuff. Was faster and it seemed a better fit on a small system like the DS.


Thu Feb 24, 2011 2:49 pm
Profile

Joined: Mon Sep 27, 2010 5:26 pm
Posts: 85
Okay, so I have a long way to this...

Are keyfames also good for a walk move as example? With Blender I know how to create keyframes, but I didn't know how to save them in a different useabel format,
not movie files or pictures!


Thu Feb 24, 2011 4:00 pm
Profile

Joined: Thu Jul 02, 2009 1:19 pm
Posts: 352
I very simple implementation would be a different model for each frame of animation.


Thu Feb 24, 2011 4:55 pm
Profile

Joined: Mon Sep 27, 2010 5:26 pm
Posts: 85
Quote:
I very simple implementation would be a different model for each frame of animation.


Yeah, I also thought about that, but the size and the hardware ussage will grow very fast!


Thu Feb 24, 2011 7:24 pm
Profile

Joined: Fri Dec 17, 2010 1:34 pm
Posts: 30
Location: Either side of South Bypass, Madrid, Spain
Antonio Niño has a rendering engine including
a mesh by frame animation scheme, it can be interesting
for this purposes taking a look at the source
http://antoniond.drunkencoders.com/nitroengine.html

_________________
--------------------------------
Welcome, my son, to the machine.
Pink Floyd.


Sat Feb 26, 2011 11:19 pm
Profile

Joined: Mon Sep 27, 2010 5:26 pm
Posts: 85
Thanks I will try it!


Sun Feb 27, 2011 11:40 am
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1291
Location: UK
It's probably best if you don't.

That code was last updated in 2009 and probably won't compile with current tools.

It was also intended to provide an interface to the 3D hardware that was more directx like than opengl like.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Sun Feb 27, 2011 11:56 am
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 62 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads