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

Client-side preview visualizer renders shaders directly to threejs surfaces #345

Draft
wants to merge 1,340 commits into
base: main
Choose a base branch
from

Conversation

xian
Copy link
Member

@xian xian commented Jan 29, 2021

No description provided.

xian added 30 commits September 30, 2020 21:06
… create one, they're made as needed around an edit.
* PatchHolderEditor is replaced with a generic EditableManager.
* Implement Editable to use it; PatchHolders and Controls are Editables.
* Editables may have lots of EditorPanels, and they can be nested.
* Clean up how changes are applied from the editor to the system.
* Edit dialog has its own undo stack independent of the top-level undo stack.
* EditIntents may specify a different EditIntent to use after a change has been applied
  (e.g. after creating a new button and adding it to a group, edit that same button in place).
* EditableManager's undo stack keeps track of both show and edit intent.
* Fix RemoteFs encoding to be symmetrical between client and server serializers.
* More PubSub refactors for easier debug.
Overhaul editing dialog in design mode
* EditIntents may implement refreshEditIntent() e.g. if the Editable's id might change.
* Fixed EditableManager.isModified() to compare to currently applied show so "Apply Changes"
  is properly enabled/disabled after Undo/Redo.
* Created GenericPropertiesEditorPanel for editing arbitrary properties (e.g. title).
* Fix panel updates for Undo/Redo.
Remove old UvTranslator stuff
* Rename most uses of Surface to Fixture (except in Model).
* Fix moving unplaced controls into a layout.
* Fix editing shader links.
* List suggested controls in the unplaced controls list.
* Shader editor panel doesn't scroll.
…e e.g. because they were removed from the shader code).
Fix crash when shader instance has weird port mappings
Nicer GLSL code display in simulator
xian and others added 28 commits January 4, 2021 09:09
* Split GlslParser out from GlslAnalyzer.
* Slim down the Parser and Analyzer interfaces.
* Cache shader analysis via CachingToolchain, with a cache context for the editor.
* Collect cache hit/miss and toolchain runtime stats.
Show shader problems in patch editor
Fix some bugs, support GLSL block comments
Prettier port extraction refactor in shader editor
Add simple preview for moving head shaders
Patch overview sorts shaders by type, and shows type icon.
We'll eventually have a DirectRenderTarget used for direct-to-screen previews.
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