Add Rigger: bones animation editor for DIE - #8
Open
Marzac wants to merge 3 commits into
Open
Conversation
Rig model/primitives (Joint, Bone, Rig, .rig load/save) in common/engine, plus the Qt animator app: cylinder-view editor widget with joint editing, rectangle selection, joint and viewer property panels, and File/Help menus.
Move drawer.cpp/h from animator/ to common/engine/ so Waller and Rigger can share the same software quad/triangle rasteriser. Extract Viewpoint, Texture, D2R/R2D into a new primitives.h, and scope the renderer's flags as the nested Renderer::FLAGS enum instead of free RENDERER_FLAG_* macros. Add colorsAlphaBlendSSE4 (used by the drawer) to colors.h. Updates Waller's call sites and build file for the renamed flags and the new primitives.h header.
Bones: connect joints into bones, select/move/delete, rectangle-select, billboard quad with width/length/offset/minWidth, mirror and rotate flags, per-view-arc images (Front/Right/Back/Left), and a swap button for the two joints. Flesh: render the bones as textured billboard quads via the shared drawer; extract the rendering loop into Rigger::renderFlesh, plus Rigger::renderAnimationFrame for a bounding-box-fitted, frame-interpolated bake of a single animation pose into an arbitrary image. UI: a texture-strip selector (WdgTexSelector) and per-bone texture preview (WdgTexView) for assigning images, a frame-card selector (WdgFrameSelector) for picking/adding/deleting/reordering animation frames, joint/bone property panels, display toggles (joints/bones/flesh) and editAllFrames, viewer pan/diameter/y controls, J/B/Esc shortcuts, and lastrig.rig session persistence.
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.
Rig model/primitives (Joint, Bone, Rig, .rig load/save) in common/engine, plus the Qt Rigger app: cylinder-view editor widget with joint editing, rectangle selection, joint and viewer property panels, and File/Help menus.