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

Increasing density of heightmap "points"? #3

Open
tfa27 opened this issue Jul 14, 2021 · 1 comment
Open

Increasing density of heightmap "points"? #3

tfa27 opened this issue Jul 14, 2021 · 1 comment

Comments

@tfa27
Copy link

tfa27 commented Jul 14, 2021

Hi,

I'm looking to use your package to create a much denser heightmap than the ones you use as example - I essentially need to create a surface that somewhat mimics fine gravel. I am creating my heightmaps with a simple python script, and I have tried altering yours by changing 129 wherever it pops up to a larger number, and it crashes whenever I change this number (even when number is the same as the pixel dimension of my heightmap png). Do you have any idea how I could go about doing what I desire to do?

Thanks! :)

@shivamkainth
Copy link

You must use the dimensions which are in range of 2^n + 1 ie. 129(2^7 +1) or 1025 or 2049 03 16537 etc. In this way you can scale it to any desired depth. remember to change the pixels count of image as well.

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