FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Concept of groups

2 posters

Go down

Concept of groups Empty Concept of groups

Post  david4482 Sat Jan 24, 2009 10:12 am

Hello only spent a few hours with api so far but just wondering if grouping SIO2objects for convenience of transformation had been considered?

I created my own group class in similar way to sio2_resource works but just for SIO2objects. Is this a good way to work, how are other people applying transformations to a bunch of objects (through lower level)? What about groups in Blender should they not be recognized in exporter?

P.s Great work on engine and blender integration.

#import "sio2_vector.h"
typedef struct
{

unsigned int n_object;
void **_SIO2object;

} Group;


Group *groupInit( void );

Group *groupFree( Group *_Group );

void groupAdd( Group *_Group, void *_ptr );

void groupDel( Group *_Group, void *_ptr );

void groupRotate( Group *_Group, vec3 *_ptr );
... etc group transformations

#endif

david4482

Posts : 7
Join date : 2009-01-24

Back to top Go down

Concept of groups Empty Re: Concept of groups

Post  sio2interactive Sat Jan 24, 2009 4:34 pm

That sounds really good can you please send me a test project demonstrating your addition to the API, so I can review it and probably include that in the next revision (which should be out shortly)...

Cheers,
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Concept of groups Empty Re: Concept of groups

Post  david4482 Sun Jan 25, 2009 5:38 am

Sure sio2interactive@gmail.com right. Sent zip, beginnings of a game I am working on.

david4482

Posts : 7
Join date : 2009-01-24

Back to top Go down

Concept of groups Empty Re: Concept of groups

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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