Improve terrain rendering
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 44/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- computer-graphics, game-dev
Línea de trabajo
Start by running the Bepu sample and selecting its heightfield scene to reproduce the terrain triangles being culled near the bottom of the screen. Read the heightfield model component and the sample's terrain material setup; the issue describes uniform subdivision and built-in Phong tessellation as the relevant options. Done means providing an alternative tessellator or terrain mesh generation method that handles large height changes and avoids the premature culling.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Stride version
Latest git
Platforms
Windows, Linux, Android, macOS, iOS, Game Studio (editor)
Graphics API
No response
What happens
The idea with PR #3758 was to get physics working and provide a fairly simple and straightforward rendering package that users or maintainers can build on top of.
As of writing, the heightfield model component is a uniformly dense plane that can be stretched on the whole field or around the camera. The sample comes with a default setup for the terrain material using the built-in phong tessellation to effectively act as a dumb LOD for terrain detail. Our phong is very aggressive when culling, it doesn't expect any change in height from generated vertices, meaning that triangles that are near the frustum and with a significant slope may be culled too early, as can be seen in the video below.
This is not necessarily a show stopper as users my increase the uniform subdivision on the component and remove tessellation to fix this issue, but it would be nice to provide an alternative tessellator that expects large changes in height, or implement one of the many existing methods for terrain mesh generation.
Steps to reproduce
- Spawn bepu sample after #3919 is merged in
- Run the sample
- Select the heightfield scene
- Notice the triangles intersecting with the bottom of the screen occasionally being culled
Log and callstack
Screenshots and other details
No response
- Lenguaje dominante
- C#
- Estrellas
- 8k
- Forks
- 1.2k
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 316
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de stride3d/stride
-
`.gitignore` isn't created for sample projectsPosiblemente ocupada @ferafiks la tomó hace 1 día. Abiertoarea-Asset area-GameStudio area-Samples bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area-Build bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
area-Samples enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
stride3d/stride#3386 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
-
area-Physics bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
stride3d/stride#3384 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area-Samples bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
stride3d/stride#3066 · 6 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de stride3d/stride
Issues similares
-
Scaffold marks an association as required when its composite foreign key has a nullable columnAbiertoarea: scaffold status: needs-tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
provider:flagd type:fix
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
open-feature/dotnet-sdk-contrib#789 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
NimblePros/Metronome#23 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
jsboige/CoursIA#28504 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
要トリアージ
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día