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

[SUGGESTION] 64-bit seeds #92

Open
ichordev opened this issue Jul 16, 2022 · 4 comments
Open

[SUGGESTION] 64-bit seeds #92

ichordev opened this issue Jul 16, 2022 · 4 comments

Comments

@ichordev
Copy link

I'm working on a project which would greatly benefit from natively-supported 64-bit seeds — perhaps using a similar mechanism to switching between float/double for input. The only workaround I can think of is generating all my noise twice with half of the seed at once, which would halve performance.

@ichordev ichordev changed the title 64-bit seeds [SUGGESTION] 64-bit seeds Jul 16, 2022
@Auburn
Copy link
Owner

Auburn commented Jul 16, 2022

Out of interest what do you need 64bit seeds for? Adding support for them would not be that easy and incur a performance penalty

@ichordev
Copy link
Author

For variety in procedural world generation. The past has shown that 2^32-1 combinations isn’t enough variety, unfortunately!

@Auburn
Copy link
Owner

Auburn commented Jul 16, 2022

I'm sure you'd have more than 1 noise type in use when generating a world, simply split the 64 bit seed you have into 2 or more 32 bit seeds for the various noise instances you are using. You should get more variety from your 64bit seed doing it this way as well

@ichordev
Copy link
Author

I'm sure you'd have more than 1 noise type in use when generating a world, simply split the 64 bit seed you have into 2 or more 32 bit seeds for the various noise instances you are using. You should get more variety from your 64bit seed doing it this way as well

I'm currently doing that. It works, but ideally I'd prefer to have almost everything be unique to each seed. Thanks for the suggestion still! :)

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