Skip to content

Example on how to read rigid body bin files #305

Closed Answered by janbender
arjun-mani asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Nice Work!

The .bin format is very simple and I just introduced it to avoid exporting lots of mesh files. The first file contains information which do not change over time and the following files only contain the translation and rotation matrix for each rigid body. I wrote a Maya Python script to import these files in Maya. You find the relevant function here in line 1244:

def loadRigidBodies(self):

The script loads the whole sequence. First, first frame file is loaded (line 1248). It contains the number of bodies (1254) and then for each body a string containing the name of the mesh OBJ file (1260-1263),…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@arjun-mani
Comment options

@janbender
Comment options

@arjun-mani
Comment options

@arjun-mani
Comment options

@janbender
Comment options

Answer selected by arjun-mani
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #304 on February 06, 2024 06:39.