Comments (5)
Hi there! Sorry for the delay in replying. I'll try and get that added to the documentation when I get a chance (will sadly be a couple of weeks before I get some time), but if you fancy making a PR to address it I'll happily merge it!
from dot_vox.
Finally managed to get some to address this.
Having had a think on this, I've decided that expecting users to -1 from color palette indices is pretty poor on my part, so instead of documenting this, I've made the indices match the in-memory representation of the palette. This has also affected materials as the id
field maps to a color palette entry.
As this is a breaking change, I've taken this opportunity to also fix the spelling of palette
throughout the library, and bumped the version to v1.0.0.
Should be published to cargo momentarily.
Thanks again for the report.
from dot_vox.
... add a few hours onto when its published to cargo, ran out of time this morning :( Aim to publish it this afternoon, somewhere around 5pm UTC.
from dot_vox.
Now published. https://crates.io/crates/dot_vox
from dot_vox.
Thank you!
from dot_vox.
Related Issues (19)
- Add palette information to DotVoxData
- Implement Material Loading
- pallete loading from .vox fails after upgrading from 0.4.0 to 0.5.0 HOT 5
- thread 'main' panicked at 'Unrecognised material type 4291624755 with weight NaN', C:\Users\xxx\.cargo\registry\src\github.com-1ecc6299db9ec823\dot_vox-1.0.0\src\material\material_type.rs:24:18 HOT 4
- upgrade to nom 4 HOT 4
- Hey! Any example how to extract rgb color from palette? HOT 1
- scene graph parsing HOT 16
- [Feature Request] Serializing a DotVoxData to VOX format HOT 2
- Prevent a panic when parsing an old format file
- rsvo files
- Model Relative Positions? HOT 1
- Version 5 uses `#![feature(let_chains)]` and will not compile on stable Rust HOT 2
- Release 5.2.0 HOT 2
- Examples HOT 2
- Query for overall size of the model in `DotVoxData` HOT 4
- Coordinate system clarification for models and transforms HOT 3
- Transform relative point of model HOT 3
- Rotation is not parsed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dot_vox.