Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-22Cleanup: styleCampbell Barton
2018-08-17Armature: Add ghosting support (old x-ray)Clément Foucault
2018-07-30Armature: Fix bone always transparent when enabling MSAAClément Foucault
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-11Cleanup: simplify RNA namesCampbell Barton
2018-07-103D View: overlay option to show bonesCampbell Barton
Allows drawing motion paths without the bones.
2018-07-04Fix Pose Mode selection overlay breaking other overlay.Clément Foucault
Fix T55758
2018-06-07Bone selection: user control contrastJeroen Bakker
Experiment: let the user be in control of the alpha channel as some rigs are hard too see during bone selection. Especially rigs that were designed for 2.79 wireframe mode.
2018-05-29Missed own last commitCampbell Barton
2018-05-22Cleanup: namingCampbell Barton
Use 'ob' prefix for objects, 'eval' suffix for evaluated data.
2018-05-20DRW: Rename some DRW_STATE_* for more consistency.Clément Foucault
2018-05-20Cleanup: whitespace, duplicate includesCampbell Barton
2018-05-17T55090: Proxy bones were not selectableJeroen Bakker
- Implemented custom selection in pose mode overriding the rest. This selection mode is only done for bone selection right now
2018-05-17Remove ViewLayer settings - cleanup 1/2Dalai Felinto
2018-05-15Fix T55078: Assert statementJeroen Bakker
2018-05-11Cleanup: whitespaceCampbell Barton
2018-05-11T54983: Bone selection overlayJeroen Bakker
Bone selection overlay is only available in pose mode. and when active overrules the selection buffer. This is currently `tricked` by switching the draw engines, but this is an exception. Not sure how to solve this in a better way. After this is solved we can look at how to localize the dim effect to only the objects connected to the active armatures. Currently it dims the whole screen (including background). @campbellbarton I added you as reviewer as it you have done a lot in the DRW_draw_select_loop Reviewers: campbellbarton, fclem Reviewed By: fclem Subscribers: campbellbarton Tags: #bf_blender_2.8, #code_quest Maniphest Tasks: T54983 Differential Revision: https://developer.blender.org/D3241
2018-05-07Armature: Add new Transparent Bone overlay option.Clément Foucault
This is half the replacement of the old wireframe mode. It's not doing any XRay drawing at the moment.
2018-05-07Armature: Add back relationship lines.Clément Foucault
2018-05-07Object Mode: Use stipple shader for relationship lines.Clément Foucault
2018-05-06Armature: Add a special Pass for bone axes.Clément Foucault
In object mode, the axes are drawn like any other wire objects with depth test and depth write. Thus enabling MSAA to work but not their xray behaviour. In edit armature/pose mode, draw smooth line without depth testing. This produces wrong draw ordering problem but still gives the desired xray behaviour. We do it outside of the MSAA pass since the xray behaviour is not compatible with it. But we are drawing smoothed lines so no need for MSAA. The lines are 2px thick and improve readability.
2018-05-06Armature: Put passes in a struct easier to pass around.Clément Foucault
2018-05-02Armature: Envelope Bones: Change drawing method.Clément Foucault
We now use a more pleasant and efficient way to display enveloppe bones and their radius. For this we use a capsule geometry that is displaced (in the vertex shader) to a signed distance field that represents the bone shape. The bone distance radius are now drawn in 3D using a "pseudo-fresnel" effect. This gives a better understanding of what is inside the radius of influence. When capsules are not needed, we switch to default raytraced points. The capsules are not distorded by the bone's matrix (same as their actual influence radius) and are correctly displayed even with complex scaled parents hierarchy.
2018-05-02Armature: Draw envelope on non MSAA buffer.Clément Foucault
Appart from the performance issue, the MSAA resolve pass is not compatible with additive passes.
2018-05-02Armature: Add multisampling to posemode.Clément Foucault
2018-05-02DRW: Armature: New bone outline shader.Clément Foucault
This fix the issue with the zfighting we were getting at bones edges. Moreover, this enables us to render arbitrarly large outline with varying thickness.
2018-04-25Cleanup: typosCampbell Barton
2018-04-16Multi-Object EditingCampbell Barton
This adds initial multi-object editing support. - Selected objects are used when entering edit & pose modes. - Selection & tools work on all objects however many tools need porting See: T54641 for remaining tasks. Indentation will be done separately. See patch: D3101
2018-02-08Fix mixed weight-paint & pose modeCampbell Barton
2018-02-06Object Mode: Add to EvaluationContext & DRWContextStateCampbell Barton
2018-01-30DRW / Render: Add support for render pipeline in drawmanager.Clément Foucault
For simplicity we choose to execute the rendering of Opengl engines in the main thread and block the interface. This might be addressed in the future at least for video rendering. A drawmanager wrapper (DRW_render_to_image) is called by the render pipeline to set up the Opengl state and then call the specific draw_engine->render_to_image function.
2017-09-25DRW : Add new view_update mechanism.Clément Foucault
This makes updates for the viewport cleaner and also add the possibility to add a new callback called when the scene is updated.
2017-07-14Cleanup: long linesCampbell Barton
2017-05-17DwM: Armature: fix bone distance outline drawing.Bastien Montagne
This indeed needed its own draw pass, thank to @fclem for the hints! Also fixes a stupid mistake in bones head/tail coloring.
2017-05-17DWM: Add obact for convenienceCampbell Barton
Modes often need to check if the object is the active one.
2017-05-03Draw Manager: Bring pose bones to the pose engineDalai Felinto
Note: We should test if the armature is the "armature modifier" parent of the object. If any good samaritan feels like tackling this, the function to change is: DRW_pose_mode_armature
2017-05-03Draw Manager: Fix pose mode not working well.Dalai Felinto
In the future this will allow us to implement things like face manipulators. For now however, this is getting on the way of using pose mode (mesh objects are drawn green). NOTE: pose engine should also be the one taking care of pose bones (and for that matter, X-Ray armature option should/could be a property of the Pose engine even).
2017-04-29Cleanup: rename struct for private engine dataCampbell Barton
Also remove from pass list (there were some duplicate unused entries).
2017-04-18GPUFramebuffer: Allow to bind a specific texture mip to framebuffer.Clément Foucault
2017-04-13Use 'safe' macros for common free operationCampbell Barton
Same as MEM_SAFE_FREE macro, checks for NULL, runs free then sets NULL. Blocks of code that do this many times are noisy and likely errors here wouldn't be noticed immediately. Also NULL's static vars which were being left set.
2017-04-12Draw Engine: remove hard coded limit on array sizesCampbell Barton
This removes MAX_STORAGE, MAX_BUFFERS, MAX_TEXTURES, MAX_PASSES limits. Actual memory saving isn't so important, it just means we don't need to manually bump these based on changes to engines.
2017-04-12Cleanup: use DRW_cache_mesh prefix w/ mesh objectsCampbell Barton
Avoid confusion for non mesh types where verts/wire/surface might apply. Other object types use this convention already.
2017-04-10Draw Manager: Use Texture flag in Framebuffer init.Clément Foucault
2017-04-03Draw Manager: Use engine type pointer instead of engine name.Clément Foucault
Faster search
2017-03-27Draw Engines: Make g_data struct part of the viewport storageClément Foucault
This makes viewport cache construction independant from each others and will allow multithread down the road.
2017-03-27Draw Manager: Make Viewport Data passed by the manager call.Clément Foucault
2017-03-20Draw module: code style, encapsulate static varsClément Foucault
2017-03-14Cleanup: warningsCampbell Barton
2017-03-13Mode Engines: Fix MSVC compilation error.Clément Foucault