Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Terrain] Create Terrain Rendering Path #7

Closed
ChaoSXDemon opened this issue Oct 11, 2022 · 6 comments
Closed

[Terrain] Create Terrain Rendering Path #7

ChaoSXDemon opened this issue Oct 11, 2022 · 6 comments

Comments

@ChaoSXDemon
Copy link
Contributor

Currently we do not have a way to render terrain other than a demo one. This task captures all the effort to bring Terrain related rendering to this engine.

@T-rvw
Copy link
Contributor

T-rvw commented Oct 12, 2022

Hi, @ChaoSXDemon . There is an example project applied by bgfx. You can find it under ThirdParty/bgfx/examples/example27-terrain in CatDogEngine.sln. Just set it as startup project to run the demo.
It is also recommended to run other examples to be familiar with bgfx at first :)

@T-rvw T-rvw changed the title Create Terrain Rednering Path [Terrain] Create Terrain Rendering Path Oct 18, 2022
@T-rvw
Copy link
Contributor

T-rvw commented Nov 8, 2022

  • Terrain texturing
    • RasterTek has a basic tutorial : https://www.rastertek.com/dx11ter03.html , search TerrainClass::BuildTerrainModel in the website. The basic idea is just to treat mesh as triangles to set uv. And the final visual result depends on the actual texture size and texture tiling mode.
    • Advanced texture tiling mode : bgfx has a new example-49 about hex tiling to reduce the feeling of duplication.

@T-rvw
Copy link
Contributor

T-rvw commented Nov 8, 2022

@T-rvw
Copy link
Contributor

T-rvw commented Nov 8, 2022

@T-rvw
Copy link
Contributor

T-rvw commented Nov 8, 2022

@ChaoSXDemon
Copy link
Contributor Author

This issue is now closed as PR:
https://github.com/CatDogEngine/CatDogEngine/pull/47

has been merged. We will branch into other issues to generate different types of terrain rendering and generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants