Giter VIP home page Giter VIP logo

polyhedron-ops's Issues

winding backwards?

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.

winding

cube

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

Failed to run bevy

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?

Publish v0.2.8 to crates.io

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?

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.