add ocean-vu0 mips2c and decomp ocean-texture #1230
Merged
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 the
ocean-vu0
functions that are used to generate the ocean vertices. I believe these vertices are patterned by the other ocean renderers. I have no way to really confirm that the vertices that come out are prefect, but they are reasonable values, and it seems like every other vector is a normal (which makes sense, we'll need these for the environment mapping). They change slowly, like you'd expect.It also has the decompilation of the
ocean-texture.gc
GOAL code, which is a terrible mess of GS setup stuff. It has a VU1 program (pretty simple) and renderers to a texture so it'll require some work on the C++ side before it does anything interesting.