Ralith / Ralith/planetmap

Horizon culling helper

Open
#28 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Rust
Stars
65
Forks
6
Avg merge
9h 47m
Merged PRs (30d)
1

Description

We should expose a fast helper to determine whether a chunk could possibly be visible from a certain point given a certain maximum geometric displacement, to aid in CPU culling of terrain geometry. The cache manager should take advantage of this.

Contributor guide

No contributing guide indexed for this repository

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 by locating the chunk and cache manager entry points, then trace how terrain visibility and geometric displacement are currently represented. Define and expose the horizon-culling helper, have the cache manager use it for CPU culling, and verify that chunks which could not be visible are excluded without removing potentially visible geometry.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.