feat: isometric SceneEditor, elements panel UX, image stamp#90
Open
cnotv wants to merge 3 commits into
Open
Conversation
… click Closes #89 - Default camera: CameraPreset.Orthographic at [30,30,30] for isometric view - Elements panel: remove 'Add' label prefix; rename buttons to 'New camera', 'Add model', 'Add image'; filter-bar buttons always ghost with CSS active state - Image stamp palette: loaded texture groups shown as thumbnails; clicking one enters stamp mode (crosshair cursor); clicking the 3D canvas ray-casts against the ground plane (y=0) and places a PlaneGeometry mesh with the image texture - Stamp meshes are tracked and disposed on unmount - TextureGroupHandlers: add optional onStampGroupSelect callback Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for cnotv-generative-art ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Stamp meshes now stand upright as billboards (PlaneGeometry vertical, y-position at half-height) instead of lying flat - Add alphaTest: 0.5 to fix background bleed-through on transparent image areas - Element list collapses behind an arrow toggle, closed by default - Stamp items show 'Convert to area' button which removes the billboard and spawns a textureGroup area centred on the stamp position using addGroupMeshes - updateSceneElements tags stamp meshes as type='Stamp' with the associated groupId so ElementsPanel can detect and render the toggle - Stamp names use __ separator for reliable groupId extraction Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or 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
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.
Closes #89
Summary
CameraPreset.Orthographicat[30,30,30]for a classic isometric viewy=0ground plane and places a flatPlaneGeometrymesh with the image texture; re-clicking the thumbnail or removing the group cancels stamp modeKey Changes
src/stores/textureGroups.ts— add optionalonStampGroupSelecttoTextureGroupHandlerssrc/components/panels/ElementsPanel.vue— UX renames, ghost filter buttons, stamp palette with thumbnail previewssrc/views/Tools/SceneEditor/SceneEditor.vue— orthographic default camera,handleStampClick(raycaster +THREE.Planeintersection), click listener lifecycle, stamp mesh disposal on unmountTest Plan
🤖 Generated with Claude Code