Jump to content

Houdini - Animated Geom To Xsi/3dsmax


aracid

Recommended Posts

Hey all

So I'm trying to get a solution to take animated geometry into xsi or max from houdini and I've come across the pc2 file format, which is basically a binary file format that is used to store the animation for a particular object.

I know that this has been done before, but I'm keen on publishing this so that its free for all to use.

So if u keen on trying this tool, please feel free.

houdini to pc2

its very limited atm, but its the first version, and thats why feedback and comments would be great,

What it does and how it works, and how to use : is basically converts either a sequence of objs or a single clip file into this pc2 file format,

I use

http://www.footools.com/plugins/docs/PointCache2_README.html

to read the pc2 into 3ds max as a modifier, and within the zip there is a tool to read the pc2 in xsi.

if anyone has any issue using this, please let me know, but its pretty basic.

:blink:

Link to comment
Share on other sites

good job!

Using python is smart way to produce the pc2 files without the need to have the target applications.

Georg

am I wrong or python it's just a GUI for exec file here...?

btw: Is format specification for pc2 open and available?

cheers,

sy.

Link to comment
Share on other sites

am I wrong or python it's just a GUI for exec file here...?

btw: Is format specification for pc2 open and available?

cheers,

sy.

yeah, that is just used for the obj part of the program. its really really basic,

are u running into any problems using it ?

I would suggest using the -clip method, and making sure u have the latest version off the site.

I'm also busy with a houdini to maya cache tool.

as far as i know it isn't open source, but it is available.

;)

Link to comment
Share on other sites

hey all

heres a python script to get data into maya from houdini.

It uses the mc file format, found in maya 8.5, u can take a series of objs and convert it into this mc file format.

load the first obj into maya and make sure you have "Create multiple objects" set to FALSE, or the vertex information wont match between maya and houdini.

other than that, just import xml cache file in maya.

u might need to remove regenerative poly data before u export.

PM if u come across anything that i may have missed.

at some point ill do one for clips and geos

:blink:

OBJ_mc_v1.zip

Link to comment
Share on other sites

  • 3 months later...

Hi, Aracid, I have use your script to export point cache to max for a while. But today I got an error whenever the script process to frame 20 of one of my scene.

Microsoft Visual C++ Debug Library

Debug Error!

This application has requested the Runtime to terminate it in an unusual way.

It's a quite heavy scene, 30M for each obj file, I try to regenerate all the obj files, but the error occur again at exactly frame 20. Then I try generating the point cache starting at frame 20, it work out fine. Don't know if it is the problem of my mesh, the script's bug or the C++ thing... Do you know what's the possible causes?

Hope I give enough info for you to diagnose.

Thanks.

Edited by renochew
Link to comment
Share on other sites

  • 2 weeks later...

Hey all

Im in the process of playin around with python sops, and thanks so much to eetu with his mdd reader, which provided 99% of the help needed to achieve this sop.

although its quiet easy to import a series of objs into houdini, heres a pc2 file sop reader, there for allowing you to read animated geometry from 3ds/maya/xsi

Just place a file obj pointing to a base model (obj) of ur deformed geo, and then the pc2reader pointing to the pc2 file, that should work.

houdiniPC2_v1.otl

please let me know if you experience any problems (via pm's).

heres the link to the plugins for the other packages that use this format.

http://www.kai-wolter.com/resources/xsi/kp_pc_xsi

:blink:

Link to comment
Share on other sites

  • 3 years later...
  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...