Concept of groups
2 posters
Concept of groups
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
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
Re: Concept of groups
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,
Cheers,
Re: Concept of groups
Sure sio2interactive@gmail.com right. Sent zip, beginnings of a game I am working on.
david4482- Posts : 7
Join date : 2009-01-24
Similar topics
» 2d Vertex Groups
» How many vertex groups is possible in sio2?
» Linking Groups from other Blender files
» Detecting material used in vertex groups
» How many vertex groups is possible in sio2?
» Linking Groups from other Blender files
» Detecting material used in vertex groups
Permissions in this forum:
You cannot reply to topics in this forum