dimforge / dimforge/salva

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

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
693
Forks
40
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/69941255/134836261-aacd6d80-c1bc-447b-9b06-c8d474bb41a7.png)

Repro here:

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.