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-04-30Fix T44541 aka gigapixel image render support in blender.Antony Riakiotakis
Moral of the story: Make sure that size_t is used whenever pointer arithmetic is involved. For images, that basically means whenever any squared dimensions are involved. Casting an operand to size_t early in the operation is usually sufficient to force the entire operation to size_t. There might still be places lurking where we don't support this correctly. This has been tested with render pipeline, quite a few image functions (meaning we can paint on such images now, albeit somewhat slowly ;) ) and export to jpeg. Too many places in code to check so I guess we'll be handling cases as they come. Don't try this at home unless you have an immense ammount of RAM. First GPixel render of suzanne in the multiverse can be found here: http://download.blender.org/demo/test/suzanne-billion-pixel.jpg Can be viewed from blender (takes about 3.3 GB after loading but may take more during loading so 8GB might be more safe to try this).
2015-04-29Fix filename has "new render view" suffix reported by Jason van Gumster (Fweeb)Dalai Felinto
Bug introduced in f8540d7fd5a47bc9d1d676d5aaaa0de379c71637
2015-04-29Make sure integer calculation uses large precisionAntony Riakiotakis
2015-04-29Multi-View cleanup: using RenderResult->rect* only for temporary RenderResultsDalai Felinto
Originally I wanted to get rid of RenderResult->rect* entirely, but it's convenient to have for temporary structs. This patch makes sure they are used only when really needed, which should help clearing the code out. (they are needed when using RE_AcquireResultImage() - which produces a RenderResult with no RenderView) Reviewers: sergey Differential Revision: https://developer.blender.org/D1270
2015-04-29Multi-View: new util functions RE_RenderViewGetById() and ↵Dalai Felinto
RE_RenderViewGetByName() Both functions try to find a valid RenderView and if they can't they fallback to the first RenderView of the RenderResult
2015-04-29Use size_t to calculate size of tiles for renderingAntony Riakiotakis
2015-04-29RenderResult should have a valid view whenever possibleDalai Felinto
2015-04-27Cleanup: use mul_v3_mat3_m4v3Campbell Barton
2015-04-27Fix T44512: Cycles fails normal bake /w scale flipCampbell Barton
2015-04-22Fix T44463 - crash on "Full Sample"Dalai Felinto
2015-04-22Fix stamp missing after multiview merge.Antony Riakiotakis
Was not using acquired render result correctly, most likely a copy paste error.
2015-04-22Stamp cannot be written to file.Antony Riakiotakis
Make sure stamp data is avaliable before writing stamp to image - this still does not fix stamp, looks like issue is availability of the images themselves for the view, investigating next.
2015-04-21Stamp refactoring:Antony Riakiotakis
Write those on render result during rendering, so we can cleanly write a render result image after rendering.
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-17Bake-API: reduce memory footprint when baking more than one object (Fix T41092)Dalai Felinto
Combine all the highpoly pixel arrays into a single array with a lookup object_id for each of the highpoly objects. Note: This changes the Bake API, external engines should refer to the bake_api.c for the latest API. Many thanks for Sergey Sharybin for the complete review, changes suggestion and feedback. (you rock!) Reviewers: sergey Subscribers: pildanovak, marcclintdion, monio, metalliandy, brecht Maniphest Tasks: T41092 Differential Revision: https://developer.blender.org/D772
2015-04-17Fix T44336: Unable to select cycles-specific passes in UV/image editorDalai Felinto
This approach gets rid of iuser->pass for good. Also, I'm commenting out the pass increase/decrease. This was broken since multiview. I will fix it later (before 2.75), but I didn't want to get this patch mangled with that fix. Thanks Sergey Sharybin for the review and feedbacks. Reviewers: sergey Differential Revision: https://developer.blender.org/D1232
2015-04-14Cleanup: warningsCampbell Barton
2015-04-14Fix for *harmless* T44342 Error when saving multilayer EXRDalai Felinto
This was introduced with multiview, and it was an oversight on my end. There is no error, we simply was never returning True
2015-04-10Fix T44329: Blender Crash when rendering in 3DView.Bastien Montagne
This commit fixes two different issues actually: * When view name is unknown/irrelevant, you should pass a NULL str pointer to `RE_RenderLayerGetPass()`, not an empty string! * `render_result_rescale()` would unconditionnaly free re->result (at the end), even if it did not replaced it at all, leading to freed memory access later. This is only a partial fix though, "CacheBuffer" (i.e. saving tiles in EXR files) shall not be used in 3DView rendering, and yet it is here...
2015-04-09Fix regression after multiview, basically we appended the wrong framesAntony Riakiotakis
to movie file. We have to resort to use crappy workarounds with preview arguments again since preview range is only for OpenGL preview.
2015-04-09Fix T44322: Crash when trying to render spotlight halos.Bastien Montagne
Trying to access rl's from full samples in non-full-OSA context (with uninitialized sample index even :P ). Caused by rBd5f1b9c2, probably a copy/paste typo or so.
2015-04-09Cleanup: redundant NULL checksCampbell Barton
2015-04-08Cleanup: confusing if statements & alignmentCampbell Barton
2015-04-07Cleanup: brace placement /w structsCampbell Barton
2015-04-06UI i18n cleanup...Bastien Montagne
And some general style cleanup as well (line length...).
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-04-06Cleanup: replace confusing 'if' statementsCampbell Barton
2015-04-06Fix T43696: Baking tearing normalsCampbell Barton
Patch D1207 by @chrisr
2015-04-03Fix T44240: Lamp Halo invisible in rendering.Bastien Montagne
Halo is not possible when using 'deep' buffer shadow - reflect that in UI. When not using buffered shadows, switch lamp bufftype to 'regular' on render, as already done with 'halfway' method.
2015-04-02Fix T44183 particles in linked group offset from objectAntony Riakiotakis
A nice bug combining all the broken features of blender: Particles, duplis and multiple scene dependencies. Fortunately this was solvable: Basically, we need to make sure derivedmesh for dupli instance is generated before obmat is overriden. This also makes sense, since no instance has "true" obmat apart from original. Lazy initialization of derivedmesh just does not work here (or it -does- work but first use should be before instance drawing). Fingers crossed nothing else breaks after this...
2015-04-02Cleanup: followup to rBf87d7c605dcfb - use __func__ instead of literal func ↵Bastien Montagne
name in string. Since we are already using BKE_reportf... This way, no more issue if/when we copy/paste or rename that!
2015-04-02Fix error messages for RE_layer_load_from_file() and RE_layer_load_from_file()Dalai Felinto
2015-03-29Make internal functions of point density independent from RenderSergey Sharybin
2015-03-29Make point density sampling functions a bit easier for re-useSergey Sharybin
Still not ideal but getting closer. Main annoying thing so far is dependency of Render structure for now. It is used to switch particles to render mode and could probably also be eliminated.
2015-03-28Code cleanup: whitespace, line wrappingSergey Sharybin
2015-03-28Code cleanup: Get rid of set but unused matrixSergey Sharybin
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-28Cleanup: use BKE_texture_ prefixCampbell Barton
2015-03-27Cleanup: use const char for stats argCampbell Barton
2015-03-26Fix T44122, rendering OpenGL preview movie with audio has wrong audioAntony Riakiotakis
range and extra frames. Issue here is that the movie backend would unconditionally use the start frame of the scene instead of the preview frame. Solved by passing an explicit "preview" argument. Strictly speaking, the preview argument is part of the renderdata struct, that is also passed to the code, but when rendering the final result we want to unconditionally render the full range regardless of the preview setting of the render structure. However, OpenGL rendering does use the preview range so we need to account for that when making those exports. This is also a nice chance to correct the filenames, which still used the full range.
2015-03-24Code cleanup: r_ prefix vs. _r suffixSergey Sharybin
2015-03-24Fix T44102: Mirrored objects render black with Blender Internal and Autosmooth.Bastien Montagne
Normals are not vertices, we cannot apply matrix's scale to them...
2015-03-20Correction to previous commit, initialization of needs_free got lost by ↵Sergey Sharybin
accident
2015-03-20Correct recent commitCampbell Barton
2015-03-20Avoid per-draw allocation when drawing currently rendering tilesSergey Sharybin
2015-03-20Fix race condition and bad memory access highlighting render tilesSergey Sharybin
Is was possible that interface will be refreshed at thesame time as render engine will start freeing render parts. Not sure if we can get away without RW mutex here, seems we need one way of synchronization or another..
2015-03-19Color managed luminance for shader ramp-in-energyCampbell Barton
2015-03-17Fix T44028: Vertex Colors Baking errorSergey Sharybin
Was wrong color management flag used for some bakers. Actually goes back to 7997e38.
2015-03-17Part 2 of D1082 by Troy Sobotka, remove our functions that do lumaAntony Riakiotakis
calculations and use the OCIO one instead.
2015-03-09Fix for yet another assert fail of particle dmcache index.Lukas Tönne
This is totally broken, just making sure Blender does not crash and devs can investigate other issues that are actually fixable.