NVIDIAGameWorks / NVIDIAGameWorks/kaolin

Mesh sampling does not support batch?

Open
#347 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug documentation
Dominant language
Python
Stars
5.2k
Forks
629
Avg merge
53m
Merged PRs (30d)
2

Description

Hi. I notice that sample_points accepts a batch of vertices but only faces from a single mesh here. Is batch sampling not supported at the moment?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in kaolin/ops/mesh/trianglemesh.py around the linked sample_points entry point and inspect how vertices and faces are represented for batching. Determine the expected behavior for batched faces and identify the relevant test location before changing the API. Done means the supported batch case is defined and verified without breaking single-mesh sampling.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.