md2 duplication

View previous topic View next topic Go down

md2 duplication

Post  oioioi on Mon Apr 13, 2009 5:42 am

I got several objects in my scene which will use the same md2 model, do I have to load it once for each object? Or is there a function to duplicate md2s

Thanks!

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

View user profile

Back to top Go down

Re: md2 duplication

Post  sio2interactive on Mon Apr 13, 2009 6:02 am

MD2 is not "officially" supported, it's just part of a tutorial showing you how to integrate another file format inside SIO2...

The new version 1.3.6 give you access to a new animation system based on Blender action strip. You can have multiples models sharing the same action. All actions are in separate files and are not part of the SIO2object anymore. The new revision should be out shortly...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: md2 duplication

Post  oioioi on Mon Apr 13, 2009 6:06 am

Wow, cool!

Can I have several animated objects with this animation type? Like md2 or very few like the hybrid thing?

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

View user profile

Back to top Go down

Re: md2 duplication

Post  sio2interactive on Mon Apr 13, 2009 6:12 am

Well yeah... the way its work is like: You got multiple actions all in different files, you got object, 1 or multiples (duplicated or not) then you bind which action you want to object to execute... as long as the action correspond to the number of indices held in the action file you are in business Wink

Its pretty much like MD5mesh & MD5anim relationship except that its using linear interpolation based on a skeleton.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: md2 duplication

Post  finthamoussu on Mon Apr 13, 2009 10:57 am

SIO2 Superman:

According to comming versions, it would be great having a Sticky topic like "Comming soon...", where you can say what new features you are working on, so we can see what's comming, and we can send you suggestions or comments before it's released, instead of giving feedback after it's released, so you could be easy for you in some cases...

Keep the good work!!!
avatar
finthamoussu

Posts : 10
Join date : 2009-03-30
Age : 34
Location : Montevideo, Uruguay

View user profile

Back to top Go down

Re: md2 duplication

Post  oioioi on Mon Apr 13, 2009 12:03 pm

Great idea finthamoussu, if there was a md2 duplicate function or I made my code a bit different I would use a lot of time on md2 and then find out that there was something new when next version came

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

View user profile

Back to top Go down

Re: md2 duplication

Post  goldfrapp0x0309 on Tue Apr 21, 2009 11:26 pm

Good thing i'm still building the game engine, this is a badass addition ! Hope the new iPhones will sport a better graphics card!!!!!!!
avatar
goldfrapp0x0309

Posts : 43
Join date : 2009-02-28

View user profile

Back to top Go down

Re: md2 duplication

Post  sw on Wed Apr 22, 2009 5:32 am

oioioi wrote:I got several objects in my scene which will use the same md2 model, do I have to load it once for each object? Or is there a function to duplicate md2s

Thanks!

just share the md2 buffer with your objectes
avatar
sw

Posts : 73
Join date : 2008-10-12

View user profile

Back to top Go down

Re: md2 duplication

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum