johnnyquest / habcgeomexport Goto Github PK
View Code? Open in Web Editor NEWA simple polymesh export ROP to Alembic format
A simple polymesh export ROP to Alembic format
This would be especially useful for fractured rigid body simulations. The Houdini way by default is to store all in a single deforming object.
The pros for exporting as multiple objects is each would have its own xform matrix which allows for better rotational motion blurs as well as probably less data to export/store.
Or alternatively, a quick batch file for windows users. :)
Do this. Make sure they can be read back into Maya somehow (Szabolcs suggested vertex colors as a workaround).
Per-point, per-vertex, per-primitive, detail types.
Export frame steps less than 1.0 doesn't seem to work (not tried it anything else but 1.0, actually).
(...by conjuring up a nice hackety-hack batch file, for now.)
The code is laced with lots of debug output to always see what's going on (even when not debugging). Get rid of these once things seem stable enough.
Currently all transformations are exported as matrices (pretransform and local transform multiplied and that's it.) They should be written in a more detailed way, using hints-and-stuff, and most especially, something for rotations that allows the original values to be reproduced (to avoid euler flips).
Needs lots of testing to end up bullet-proof.
Only geometric objects should be written as polymeshes (currently null objects, etc. are written as empty polymeshes, too).
In order to properly build it for Houdini, all alembic and -related includes and link libraries should be provided by SideFX with the Houdini install. (Especially on windows)
getting the following error when trying to build:
ld: duplicate symbol bool GVEXimportData<UT_Matrix4T >(GB_GenericData const&, UT_Matrix4T&)in src/hAbcGeomExport.o and src/GeoObject.o for architecture x86_64
collect2: ld returned 1 exit status
make: *** [/Users/mofo/Library/Preferences/houdini/11.1/dso/hAbcExport.dylib] Error 1
This error has been confirmed by myself and also another user in the alembic googlecode group.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.