Skip to content

bug in salva3d::sampling::shape_surface_ray_sample() with a heightfield #32

Description

@rezural

sampling the surface of a heightfield, causes lines to appear in the sampled partices, where it should be a continuous 'plane' of particles.

This is an example, where there should be 100 particles, but only 81. It usually happens along an axis, but sometimes at 45 deg angles (I havent been able to repro that).

Screenshot from 2021-09-27 12-16-30

Repro here:

https://github.com/rezural/heightfield-raycast-bug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions