I'm extending Wavefront OBJ to use bones with it. Here's my example:
bn my_bone 0.0 0.0 0.0
wgh 1 1.0
wgh 2 1.0
wgh 3 1.0
wgh 4 1.0
wgh 5 1.0
bn my_bone2 1.0 0.0 0.0
prt my_bone
wgh 11 0.1
wgh 12 0.2
wgh 13 0.3
Here's the description:
Bones:
bn [bone name] [x] [y] [z]
Parents:
prt [parent name]
Weights:
wgh [vertex index] [weight]
What I want to ask is:
- Can my new commands cause any conflicts with the standard?
- I've tested my new OBJ files in Visual Studio's graphic editor, Mixed Reality Viewer and Blender, and they just ignored my commands. I wonder if there are any programs throwing errors when reading my new OBJ files. I want my new OBJ files operate as an ordinary OBJ files in other programs.
- What are the additional feature I have to consider to implement bones?
- It will be used for games using CUDA or Direct3D. I'm going to implement this by using matrix. Is there any more efficient way especially in GPU or Direct3D?
I know other formats like FBX, I just want to use bones with OBJ.