-
Notifications
You must be signed in to change notification settings - Fork 88
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
Inline Patterns !! (and also a small little pattern rendering rework) #708
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ires and organs everywhere. Moved pattern color settings out of general render settings. moved cooler render lib stuff out of wall scroll renderer. Added lighting support-ish for non-static renderer with a hacky workaround. Hooked worldly renderers up to new render system, seem to mostly work. Bunch of other little progress on render rework stuff
…ed back together with some more settings, but many quirks still. lots of messy code.
…depth buffer? add texture resargs
…ats, not going super well
… z fighting overlay issues
…rmals and whatnot
…scaling stuff since it was barely being used still
merge main back into inlinepatterns
next inline version has some breaking changes i'd like to push in before this gets merged. can still be reviewed, all the big pattern rendering things aren't gonna change. |
see #764 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds inline as a dependency and changes the pattern iota display to render the pattern visually rather than
HexPattern(dir, angles)
. It also adds some Inline bits to entity iotas (currently only player heads are enabled because inline's serialization seems mildly broken but that's a future issue !)Instead of re-implementing/copying all of the pattern rendering bits that i'd need for this though, i spent some time cleaning up and re-organizing the existing pattern rendering system. Although this is more of an additional system that helps with pattern rendering rather than a rewrite of the core RenderLib code. You can read the details of it here.
Some benefits of this new system:
PatternRenderer
so you don't have to Choose which one to use, or do anything different to use the other, besides changing settings.Some other fun changes:
Some images:
Texture renderer vs dynamic (they are almost identical lol):