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

Dialog for terrain creation #89

Merged
merged 10 commits into from
Aug 17, 2022
Merged

Dialog for terrain creation #89

merged 10 commits into from
Aug 17, 2022

Conversation

JamesTKhan
Copy link
Owner

@JamesTKhan JamesTKhan commented Jul 23, 2022

Adds a dialog for terrain creation to allow a bit more customization when creating terrains and adds a few other features. This is a stepping stone to other terrain enhancements.

  • Splat map size can now be changed. This allows for higher quality texture painting but at a cost of a larger texture. For HTML 512 (the default) is recommended. I noticed painting is bogged down from calling getPixel on my machine when using a 2048 sized splatmap.
  • Asset Inspector pane for Terrain now shows vertices/indices/splat map resolution.
  • A .obj exporter for terrains. Added new right click option on terrains to Export to OBJ file. It exports only vertices and indices at the moment. The purpose is for use in tools like recast navigation for navigational meshes. There is not much else to this feature right now.

image

@JamesTKhan JamesTKhan merged commit b88bef4 into master Aug 17, 2022
@JamesTKhan JamesTKhan deleted the terrain-obj-export branch August 17, 2022 20:27
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

Successfully merging this pull request may close these issues.

1 participant