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-08Fix yet another fullscreen glitchJulian Eisel
Steps to reproduce were: Toggle fullscreen->F12->F3->ESC 2x->3D View changed to Image Editor and didn't change back. Actually it doesn't work 100% as wanted since it exits the fullscreen when pressing ESC to exit Image Editor but it's hard to support all cases with such a weird spaghetti code.
2015-06-08Fix T44976: 3D View turns into an Image Editor after saving renderJulian Eisel
result Was a case of two stacked temporary fullscreens, so a quite extreme situation.
2015-06-08Cycles: Fix crash doing render preview of external OSL scriptSergey Sharybin
2015-05-28Aaaaand another fullscreen glitchJulian Eisel
Steps to reproduce were: Set a *Properties Editor* to fullscreen- >render->Info Editor is set to Image Editor instead of Properties Editor
2015-05-28Fix another fullscreen toggle glitchJulian Eisel
Steps to reproduce were: Set 3DView to fullscreen->render->toggle out of fullscreen->escape->Area doesn't change back to 3DView
2015-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-07Fix crash when rendering opengl from sequencer.Antony Riakiotakis
2015-05-06OpenGL render: Update metadata as before, for every frame written to aAntony Riakiotakis
file, since we need the updated times and frames. This was lost during stamp code refactoring. The refactoring moved the stamp when render is initialized so we would be guaranteed to have correct cameras even when saving render stills at a later time (and even if cameras were changed). For regular render this would work since render init takes care of stamp, but for openGL rendering we need to do this manually. Still not 100% correct, does not apply multiview cameras to metadata
2015-05-06Quick patch-up for opengl render metadata.Antony Riakiotakis
Camera here is incorrect for multiview (as is in real multiview render) but at least it works now.
2015-04-30Correct warningCampbell Barton
2015-04-30Better fix for T44556: Crash on the World Properties > PreviewDalai Felinto
2015-04-30Revert "Fix T44556: Crash on the World Properties > Preview"Dalai Felinto
This reverts commit 4bcc7a2ec6bf6937778a2227c7f938c50a0fafe5.
2015-04-30Fix T44556: Crash on the World Properties > PreviewSergey Sharybin
Issue was caused by de-referencing NULL pointer, rres did not have any views because nothing was rendered yet. Needs more closer look about where else such a de-reference could happen.
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-28Curves: don't use 'charidx' for regular curvesCampbell Barton
Code attempted to sync them with materials, but its not needed (and wasn't reliable).
2015-04-28Added missing update tag to recalculate data after permutating materialsGaia Clary
2015-04-28Add material slot reorder buttonsGaia Clary
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-21Fix T44465: Crash using VSE OGL render + Grease PencilJulian Eisel
Likely caused by rBd5f1b9c22233
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
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-10Fix T44329: Second part: prevent 'cachebuffer' and 'fullOSA' in preview renders.Bastien Montagne
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 partial image update during renderingSergey Sharybin
Was broken since 5d212fb.
2015-04-08Fix opengl render preview in image editor brokenAntony Riakiotakis
During multiview, invalidation of the display imbuf of the preview image was eaten by code eating elves.
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-31Fix T44077 material update fails in textured mode when VBOs are off.Antony Riakiotakis
The issue has been here since we changed drawing code for meshes to use vertex arrays instead of immediate mode when VBO was off. Basically we should now always invalidate the GPU objects regardless of the VBO setting in the preferences. The bug has been there since 2.73 at least, but what made it apparent now is that new version resets preferences and as an extension the VBO flag. Should be included in final 2.74 release
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-28Cleanup: use BKE_texture_ prefixCampbell 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-25Fix T44133 SSAO in OpenGL rendering from orthographic camera did notAntony Riakiotakis
work Safe to include in final release
2015-03-19Freestyle: pass Main struct to new/copyCampbell Barton
2015-03-17Fix T44021: Crash switching Rendering Engines while viewport rendering + ↵Sergey Sharybin
animating Make sure preview render job is cancelled before freeing the render engine associated to the viewport.
2015-03-10Fix T43831: Image Editor: Render info not displayedSergey Sharybin
Issue was caused by b62c2a9 and root of it goes to the fact that text info is stored in the "main" scene, not the currently rendering one. This is a bit annoying but making it so text and result are coming from the same scene is a bit dangerous to do now. Will re-visit this change after the release and see if it might be done in a more clear fashion.
2015-03-10Fix T43953, make opengl render work like before, basically, if we renderAntony Riakiotakis
transparent, it will render sky/transparent, regardless of the "show world setting".
2015-02-23Gooseberry request:Antony Riakiotakis
Show World will now influence if world is rendered in opengl rendering. This is a little undefined according to blender history, since sky used to always be drawn when offscreen rendering, as if "Only Render" was ticked. Since if we don't draw sky in that case there's no valid color really (and using theme colors is not so nice) we just draw transparent background.
2015-02-17RNA API: reuse property lookupsCampbell Barton
2015-02-12Viewport compositing - first codeAntony Riakiotakis
This commit introduces a few ready made effects for the 3D viewport and OpenGL rendering. Included effects are Depth of Field, accessible from camera view and screen space ambient occlusion. Those effects can be turned on and tweaked from the shading panel in the 3D viewport. Off screen rendering will use the settings of the current camera. WIP documentation can be found here: http://wiki.blender.org/index.php/User:Psy-Fi/Framebuffer_Post-processing
2015-02-11cleanup: style/indentationCampbell Barton
2015-02-03Possible NULL de-reference on fullsceen checkCampbell Barton
Also quiet some other minor warnings
2015-01-28Stacked fullscreen area support (proper implemenation)julianeisel
Adds support for stacked fullscreens. This basically means, if a user opens a temporary fullscreen mode, such as the File Browser or the Image Editor render view, from a different fullscreen, the "Back to Previous" function or the other ways to escape those temporary fullscreens don't return to the split screen layout but to the previous fullscreen he has been in. I already committed something similar (f7e844570fea862) but that was only supposed as a fix, it didn't work for the "Back to Previous" operator and the implementation wasn't really reusable. This one looks a bit nicer + makes some older hacks unnecessary :)
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-25cleanup: warnings, spellingCampbell Barton
2015-01-25Fix T43008: Support stacked fullscreen areasjulianeisel
2015-01-24BKE_image: use BKE_image_*** prefixCampbell Barton
use bools for return values and some api naming consistency.
2015-01-21BKE_screen: add BKE_screen_find_area_xyCampbell Barton
Use from eyedropper & screen operators also define SPACE_TYPE_ANY for readability.
2015-01-12Second try to fix missing previews of mat/tex/etc. in .blend files.Bastien Montagne
This time, it's a dedicated operator user has to run before saving the file. And it recursively check all IDs linked from each scene, therefore rendering materials etc. previews using a scene they are used in. Note the renderengine issue is not completely addressed this way (existing code for icon previews seems to ignore completely other engines, and IDs not linked anywhere (fake-user ones) will be rendered with current scene's engine as fallback, also you can get a material linked to an hidden object in a scene, etc.). Reviewers: sergey, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D980
2015-01-08Fix for wrong boolean flag checkSergey Sharybin
This fixes obvious overflows when checking bitflags, who knows how much undiscovered issues exists in the code still..
2015-01-07Ensure mat/tex/etc. previews are generated/saved in .blend files when ↵Bastien Montagne
enabled in userprefs. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D970
2015-01-04sequencer: don't return big values (fill pointer instead)Campbell Barton