aracid Posted June 1, 2007 Share Posted June 1, 2007 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. Quote Link to comment Share on other sites More sharing options...
rdg Posted June 1, 2007 Share Posted June 1, 2007 good job! Using python is smart way to produce the pc2 files without the need to have the target applications. Georg Quote Link to comment Share on other sites More sharing options...
symek Posted June 3, 2007 Share Posted June 3, 2007 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. Quote Link to comment Share on other sites More sharing options...
aracid Posted June 3, 2007 Author Share Posted June 3, 2007 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. Quote Link to comment Share on other sites More sharing options...
aracid Posted June 6, 2007 Author Share Posted June 6, 2007 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 OBJ_mc_v1.zip Quote Link to comment Share on other sites More sharing options...
renochew Posted September 23, 2007 Share Posted September 23, 2007 (edited) 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 September 23, 2007 by renochew Quote Link to comment Share on other sites More sharing options...
aracid Posted September 23, 2007 Author Share Posted September 23, 2007 hey renochew that sounds wierd, but im glad to hear u using the script, we have used for big files too, so i think it should work, I'd love to try sort this out. will pm you. Quote Link to comment Share on other sites More sharing options...
aracid Posted October 2, 2007 Author Share Posted October 2, 2007 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 Quote Link to comment Share on other sites More sharing options...
StevieMac Posted May 24, 2011 Share Posted May 24, 2011 (edited) Great thanks for this! Edited May 25, 2011 by StevieMac 1 Quote Link to comment Share on other sites More sharing options...
breadbox Posted February 24, 2012 Share Posted February 24, 2012 Is this still working? your link for your houdini tool is a broken link. is there a way to write PC2 format out of houdini? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.