GithubHelp home page GithubHelp logo

dkoerner / houio Goto Github PK

View Code? Open in Web Editor NEW
39.0 5.0 14.0 392 KB

C++ library for reading and writing of houdini geometry file format (json/binary json)

QMake 0.09% C++ 33.84% C 0.24% CMake 0.21% GLSL 1.08% Python 4.63% Objective-C 59.92%

houio's People

Contributors

dkoerner avatar nrondaud avatar nyue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

houio's Issues

[Question] Is there a size limit of bgeo you can read?

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,

String attributes are not stored by points

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 ?

houio::HouGeo::Topology has missing information

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.