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
2015-06-18Freestyle: Fix for wrong assertion failure upon inverted face normals.Tamito Kajiyama
The assertion code was not taking quad faces into account. Problem report by Folkert de Vries (flokkievids) through personal communications, thanks!
2015-05-16Freestyle: Fix for stroke rendering performed with multi-views enabled.Tamito Kajiyama
Per-view Freestyle stroke rendering needs to be done without multi-views.
2015-05-16Fix T44691 Freestyle render crashes when Views is on (Blender Internal).Tamito Kajiyama
In pipeline.c the function add_freestyle() was supposed to be called once per frame, but after the Multi-view merge the function are called as many as the number of views. There were however a few Freestyle parameters that have to be initialized per frame, and initializing one of the parameters for each view was causing double freeing of allocated memory which was enough to result in a crash.
2015-05-12Depsgraph: Add additional relations/id update tagsSergey Sharybin
This calls are not strictly speaking needed for the old dependency graph, but due to more granular nature of upcoming depsgraph more actions requires update of relations of IDs. On the one hand this extra tags could be wrapped with if() statements, but on the other hand it makes sense to keep tag in sync so it's clear if some issue is caused by missing/extra tag or by depsgraph itself.
2015-05-11Freestyle: Fix for assertion failure in viewport preview.Tamito Kajiyama
An assertion to check if `re->clipsta` < 0 (added as part of addressing T36009 in rBrB795034c17d76bef2a15e576ac9c70ae2268a823b) was failing when Freestyle viewport preview rendering takes place in the camera view with an orthographic camera (in this case, the user-defined clipping range is used without changes, so that `re->clipsta` is positive). The `re->clipsta` property has a negative value only when the 3D viewport is in an orthographic view but not in the camera view. It seems that this viewport setting cannot be identified from rendering settings accessible from Freestyle. Now a negative `re->clipsta` value is directly checked instead, without relying on other render flags.
2015-05-09Freestyle: Partial fix for a crash with Save Buffers option enabled.Tamito Kajiyama
Prevents null pointer references in the case of the Save Buffers option enabled. This is a regression likely due to rBd5f1b9c22233.
2015-05-04Freestyle: Compilation error fix after recent changes in BKE_object_add()Sergey Sharybin
2015-04-28Compilation error fixes for strict compiler flagsSergey Sharybin
2015-04-28Fix T44404: freestyle crashes blender.Tamito Kajiyama
The reported crash case seems to be caused by freeing compiled Python objects in a thread. Now this issue is avoided by allocating a buffer to store a Python script and using BPY_string_exec() to run the script. This makes it unnecessary to repeatedly create and destroy Text data blocks. Many thanks to Campbell Barton for his help on the bug fix.
2015-04-06Multi-View and Stereo 3DDalai Felinto
Official Documentation: http://www.blender.org/manual/render/workflows/multiview.html Implemented Features ==================== Builtin Stereo Camera * Convergence Mode * Interocular Distance * Convergence Distance * Pivot Mode Viewport * Cameras * Plane * Volume Compositor * View Switch Node * Image Node Multi-View OpenEXR support Sequencer * Image/Movie Strips 'Use Multiview' UV/Image Editor * Option to see Multi-View images in Stereo-3D or its individual images * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images I/O * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images Scene Render Views * Ability to have an arbitrary number of views in the scene Missing Bits ============ First rule of Multi-View bug report: If something is not working as it should *when Views is off* this is a severe bug, do mention this in the report. Second rule is, if something works *when Views is off* but doesn't (or crashes) when *Views is on*, this is a important bug. Do mention this in the report. Everything else is likely small todos, and may wait until we are sure none of the above is happening. Apart from that there are those known issues: * Compositor Image Node poorly working for Multi-View OpenEXR (this was working prefectly before the 'Use Multi-View' functionality) * Selecting camera from Multi-View when looking from camera is problematic * Animation Playback (ctrl+F11) doesn't support stereo formats * Wrong filepath when trying to play back animated scene * Viewport Rendering doesn't support Multi-View * Overscan Rendering * Fullscreen display modes need to warn the user * Object copy should be aware of views suffix Acknowledgments =============== * Francesco Siddi for the help with the original feature specs and design * Brecht Van Lommel for the original review of the code and design early on * Blender Foundation for the Development Fund to support the project wrap up Final patch reviewers: * Antony Riakiotakis (psy-fi) * Campbell Barton (ideasman42) * Julian Eisel (Severin) * Sergey Sharybin (nazgul) * Thomas Dinged (dingto) Code contributors of the original branch in github: * Alexey Akishin * Gabriel Caraballo
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-27Freestyle: Code cleanup, silence warning in release modeSergey Sharybin
2015-03-27Freestyle: Code cleanup, prepare for strict C++ flagsSergey Sharybin
2015-03-09Fix T43624: Freestyle uses wrong colour on second Line Set with textured ↵Tamito Kajiyama
lines in Cycles. This is a regression introduced by rBd8b00a3bf5c1 (Freestyle: memory consumption optimization in stroke rendering). The issue was caused by uninitialized MPoly::mat_nr values. Before the stroke rendering optimization, individual Freestyle strokes were represented by distinct mesh objects, and thus MPoly::mat_nr was left unset (i.e., was always zero). Now that the stroke rendering optimization has been done and mesh objects may represent multiple strokes of different materials, MPoly::mat_nr had to be properly set to the material index that refers to the material of the poly face.
2015-02-05Mesh validate: add an option to not clean temp/cache CDLayers.Bastien Montagne
This is mandatory for incoming custom normal imports from io scripts, because often geometry here is corrupted, so we need to call mesh.validate() to clean it up. Issue is, we cannot set custom normals before geometry is clean, so we need to store temporary plain loop normals in a CD_NORMAL layer, validate, and then set custom normals. So we need a way to prevent 'temp' lnors to be freed by validate.
2015-01-17Fix T43090: Cycles + Freestyle + border render = black render.Tamito Kajiyama
The reported problem was due to a special case where there are no strokes to be rendered. Since rendering an empty scene is a waste of time, the issue was addressed here by skipping the stroke rendering process entirely.
2015-01-03Freestyle: memory consumption optimization in stroke rendering.Tamito Kajiyama
Previously individual strokes were represented by distinct mesh objects no matter how many vertices and materials each stroke has, although the vertex and material counts can be quite small depending on the input scene data. Now stroke meshes are packed into a minimum number of mesh objects, so as to reduce the overheads of Blender object creation.
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-28Cleanup: de-duplicate engine-id'sCampbell Barton
2014-10-23Fix T42351: Freestyle will not render edges selected by Edge Type: Material ↵Tamito Kajiyama
Boundary, if the materials are different, but look identical.
2014-10-02Fix freestyle/bplayer build (usual stub stuff).Bastien Montagne
2014-10-02Freestyle: View map caching.Tamito Kajiyama
New render layer option named "View map cache" is added to reuse a previously computed view map for subsequent rendering. The cache is automatically updated when the mesh geometry of the input 3D scene has been changed. This functionality offers a major performance boost for Freestyle animation rendering when camera-space mesh geometry is static, as well as for repeated still renders with updates of line stylization options. Although the "View map cache" toggle is a render layer option, the cache memory is shared by all render layers and scenes. This means that if Freestyle is used for two or more render layers (possibly in different scenes through the compositor), then the cached view map for one render layer is replaced by a new view map for another render layer and hence no performance gain is expected.
2014-09-11Freestyle: Fix for missing quality control on line rendering in Cycles.Tamito Kajiyama
Freestyle was using the default Cycles rendering settings (e.g., the number of samples) and users could not change them. Now all render parameters (except for film_transparent) are inherited for Freestyle stroke rendering. Problem report by Danny Grimm on Facebook, thanks!
2014-08-12Freestyle: Removed the stored bContext from the Controller class.Tamito Kajiyama
The stored context object was used for creation of shade nodes. A closer look at the node system showed that the context is not actually used when shader nodes are added to a shader node tree. Relying on this fact, now a NULL pointer is passed to nodeAddStaticNode() instead of the stored bContext pointer.
2014-08-12Freestyle: removed dead code in BlenderStrokeRenderer.Tamito Kajiyama
2014-08-12Freestyle: Removed debugging code (use G.main instead of Freestyle-local ↵Tamito Kajiyama
struct Main).
2014-08-12Fix for vertex colors not working properly.Tamito Kajiyama
Looks like the issue was caused by a UV map name starting with a lower case letter (e.g., "color"). Capitalizing the name fixed the problem. Also adjusted the creation of custom data layers to optimize things a bit.
2014-08-12Fix for wrong link in the line style shader nodes due to a typo.Tamito Kajiyama
2014-08-12Fix for SCENE_OT_freestyle_stroke_material_create not respecting "use_nodes" ↵Tamito Kajiyama
line style prop.
2014-08-12Freestyle: Proper support for alpha transparency in line style shader nodes ↵Tamito Kajiyama
for Cycles.
2014-08-12Freestyle: Fix for error handling in SCENE_OT_freestyle_stroke_material_create.Tamito Kajiyama
2014-08-12Freestyle: Fix for an increasing reference count of images in copied Image ↵Tamito Kajiyama
Texture shader nodes.
2014-08-12Freestyle: Properly reconnect links from a UV Along Stroke node to a UV Map ↵Tamito Kajiyama
node.
2014-08-12Freestyle: Caching of auto-generated materials from line style shader nodes.Tamito Kajiyama
2014-08-12Removed/disabled debugging code.Tamito Kajiyama
2014-08-12Freestyle: an improved workflow of line style shading nodes.Tamito Kajiyama
Removed the previous changes for passing a line style through the Controller, and revised the BlenderTextureShader to assign the shader node tree of a line style (if specified) to strokes. This way the assignment of shading nodes can be done through both the Freestyle GUI and Python scripting.
2014-08-12WIP commit just for a record of a working snapshot of code revisions for ↵Tamito Kajiyama
node-based textured strokes.
2014-08-12Made temporary changes to use G.main rather than Freestyle-local Main for ↵Tamito Kajiyama
debugging.
2014-08-12Freestyle: Keep a reference of the line style in Stroke rather than in ↵Tamito Kajiyama
StrokeRep.
2014-08-12Fix for renamed API functions in rB415af0b.Tamito Kajiyama
2014-08-12Freestyle: Removed a debug print in BlenderStrokeRenderer::GetStrokeShader().Tamito Kajiyama
2014-08-12Freestyle: Added "blend_type" and "use_clamp" options to the Output Line ↵Tamito Kajiyama
Style shader node.
2014-08-12Freestyle: Fix for stroke_shader node default values copied from the Output ↵Tamito Kajiyama
Line Style node.
2014-08-12Follow-up to rB647969f9b617: Renamed CTX_data_linestyle_from_scene() to ↵Tamito Kajiyama
BKE_get_linestyle_from_scene().
2014-08-12Freestyle: Added preliminary support for textured strokes in Cycles.Tamito Kajiyama
Now the shader node tree of a line style ID datablock is used to define textures as well as their mapping and influence. TODO: Textures alpha channel mapping and influence. TODO: Blend mode in the Output Line Style shader node.
2014-08-12Enabled USE_CYCLES_FOR_STROKE_RENDERING compile-time flag by default.Tamito Kajiyama
2014-08-12Always use the Blender Internal renderer for stroke rendering.Tamito Kajiyama
2014-08-12Added new operator "Create Freestyle Stroke Material" for testing.Tamito Kajiyama
2014-08-12Fix for hard-coded #include file paths.Tamito Kajiyama
2014-08-12Removed ad-hoc use of R_PERSISTENT_DATA for Freestyle/Cycles.Tamito Kajiyama