dkoerner / houio Goto Github PK
View Code? Open in Web Editor NEWC++ library for reading and writing of houdini geometry file format (json/binary json)
C++ library for reading and writing of houdini geometry file format (json/binary json)
Hello,
First thank you for your simple yet powerful library to manipulate caches!
I have an issue when I run this following code, with a bgeo file of about 8.6G:
std::ifstream in( filename.c_str(), std::ios_base::in | std::ios_base::binary );
houio::HouGeo::Ptr houGeo;
houGeo = houio::HouGeoIO::import(&in);
The import raises an std::bad_alloc.
Is this case a known issue? Thank you for your time.
Cheers,
I have discovered that houio::json::Token::event() is not handling uniform array of signed int8 type.
This sort of data is present in BGEO mesh of type Polygon
I do have a fix for it but it is unsatisfactory because I am unable to propagate the changes all the way down to jsonUA template class to handle "sbyte" as I am not familiar with the TTL code base.
https://github.com/nyue/houio/tree/UniformArrayInt8
Cheers
Hi,
String attributes are not stored by points.
When iterating through houio::HouGeo::AttributeAdapter::Ptr, (retrieved with houio::HouGeo::getPointAttributeNames() ), string attributes are not stored by points.
HouGeo::HouAttribute::getString() only returns unique values of a specific attribute.
For instance, there are 10 points with a string attribute.
The value of this attribute is "A" or "B" according to point id (even or odd).
attribute->getNumElements() returns 2 instead of 10
Is there an index by point somewhere to get the value of this attribute for each point ?
Using the Topology reference object returned by the houio::HouGeo pointer via the method getTopology(), I found the object lacks information to build a topology for mesh export
I noticed there are different Topology classes, one from HouGeoAdapter another one from HouTopology
Basically, I need to get the one from HouTopology as it has additional information indexBuffer whereas the other Topology does not have that.
Why are they different ?
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.