virtualritz / polyhedron-ops Goto Github PK
View Code? Open in Web Editor NEWConway-Hart Polyhedron Notation in Rust
License: BSD 3-Clause "New" or "Revised" License
Conway-Hart Polyhedron Notation in Rust
License: BSD 3-Clause "New" or "Revised" License
The winding/ordering of the faces appears to possibly be backwards. The standard for OpenGL, viewed from outside of a polyhedron, is for the winding of faces to be counter-clockwise (anti-clockwise). However the polyhedra are being generated with the winding, viewed from outside the object, to be clockwise. This is visible in meshlab for example.
This causes the 'normals' for the faces to be pointing inwards by default rather than outwards as is likely intended.
For example on the cube the face between the points 0 1 2 3 is listed as 1,3,2,0 which gives the winding, viewed from outside the cube, as clockwise. Meshlab interprets the normals as pointing inside and is why all the faces look dark gray.
The OBJ format spec from Wavefront , linked off wikipedia, also appears to indicate counter-clockwise. http://fegemo.github.io/cefet-cg/attachments/obj-spec.pdf
i have a change in the works to make all polyhedron faces counter-clockwise but wanted to check first and have this issue as reference.
thanks
hello!
I have a problem when run:
cargo run --release --example bevy --features "bevy"
the output is:
error: failed to run custom build command for smithay-client-toolkit v0.16.0
The same error appears when I use the bevy feature in project integration.
Also, the version in crates.io is 0.2.3, can you update it please?
Currently, v0.2.7 is the latest version of this awesome library available on crates. But on GitHub there is already a v0.2.8 version available, which fixes some issues for the current version of Bevy.
Could you publish the v0.2.8 version to crates.io?
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.