Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 25 00:03

    olson-sean-k on tobj

    Load models from OBJ data. Thi… (compare)

  • Feb 24 22:09

    olson-sean-k on tobj

    (compare)

  • Feb 24 21:48

    olson-sean-k on tobj

    Load models from OBJ data. (compare)

  • Feb 12 18:10

    olson-sean-k on master

    Rename `Circumscribe` to `Ambo`. (compare)

  • Feb 01 07:26

    dependabot[bot] on cargo

    (compare)

  • Feb 01 07:26

    dependabot[bot] on cargo

    Update nalgebra requirement fro… (compare)

  • Jan 27 06:11

    dependabot[bot] on cargo

    (compare)

  • Jan 27 06:11

    dependabot[bot] on cargo

    Update rand requirement from ^0… (compare)

  • Jan 14 06:15

    dependabot[bot] on cargo

    (compare)

  • Jan 14 06:15

    dependabot[bot] on cargo

    Update rand requirement from ^0… (compare)

  • Jan 05 06:06

    dependabot[bot] on cargo

    (compare)

  • Jan 05 06:06

    dependabot[bot] on cargo

    Update rand requirement from ^0… (compare)

  • Dec 31 2020 05:45

    dependabot[bot] on cargo

    (compare)

  • Dec 31 2020 05:45

    dependabot[bot] on cargo

    Update nalgebra requirement fro… (compare)

  • Dec 28 2020 07:14

    dependabot[bot] on cargo

    Update itertools requirement fr… (compare)

  • Dec 27 2020 02:32

    olson-sean-k on master

    Rename `Circumscribe` to `Ambo`. (compare)

  • Dec 21 2020 07:20

    dependabot[bot] on cargo

    (compare)

  • Dec 21 2020 07:20

    dependabot[bot] on cargo

    Update nalgebra requirement fro… (compare)

  • Dec 21 2020 07:19

    dependabot[bot] on cargo

    Update rand requirement from ^0… (compare)

  • Dec 11 2020 06:02

    dependabot[bot] on cargo

    Update winit requirement from ^… (compare)

Moritz Mœller
@virtualritz
Is there a way to get a MeshBuffer that contains n-gons?
As in: index slice and face arity slice.
Sean Olson
@olson-sean-k
@virtualritz MeshBuffer encodes index and arity information into the slice provided by the as_index_slice function when using a Polygonal type as the Grouping.
For example, given the type MeshBuffer<UnboundedPolygon<usize>, Vec3>, the as_index_slice function returns &[UnboundedPolygon<usize>]. Each element of that slice has an independent arity that can be queried via the DynamicArity trait's arity function.
Is that what you're looking for? :-) If so, take a look at the MeshBufferN type definition. It's the same as the (very long) type I mentioned above, but spelled out in the much shorter form MeshBufferN<usize, Vec3>.
Moritz Mœller
@virtualritz
Yes, I think that's what I need.
I'm working on a new version of my https://crates.io/crates/nsi crate and I wanted to add a sample where some plexus geometry is rendered as a subdiv surface with creases. :)
Sean Olson
@olson-sean-k
Awesome! That'd be cool to see. :-D Please let me know if something in Plexus isn't working for you.