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
2022-04-11Fix standalone image output not working when not running in background modehowetuft
Differential Revision: https://developer.blender.org/D14471
2022-04-11Cycles: restore basic standalone GUI, now using SDLBrecht Van Lommel
GLUT does not support offscreen contexts, which is required for the new display driver. So we use SDL instead. Note that this requires using a system SDL package, the Blender precompiled SDL does not include the video subsystem. There is currently no text display support, instead info is printed to the terminal. This would require adding an embedded font and GLSL shaders, or using GUI library. Another improvement to be made is supporting OpenColorIO display transforms, right now we assume Rec.709 scene linear and display. All OpenGL, GLEW and SDL code was move out of core cycles and into app/opengl. This serves as a template for apps that want to integrate Cycles interactive rendering, with a simple OpenGLDisplayDriver example. In general this would be adapted to the graphics API and color management used by the app. Ref T91846
2022-04-11Cycles: use SPDX license headersBrecht Van Lommel
* Replace license text in headers with SPDX identifiers. * Remove specific license info from outdated readme.txt, instead leave details to the source files. * Add list of SPDX license identifiers used, and corresponding license texts. * Update copyright dates while we're at it. Ref D14069, T95597
2022-01-05Fix T94563: Cycles standalone build error on with strict float/double castingBrecht Van Lommel
Thanks to John David for finding this.
2021-10-26Cycles: remove prefix from source code file namesBrecht Van Lommel
Remove prefix of filenames that is the same as the folder name. This used to help when #includes were using individual files, but now they are always relative to the cycles root directory and so the prefixes are redundant. For patches and branches, git merge and rebase should be able to detect the renames and move over code to the right file.
2021-10-26Cycles: changes to source code folders structureBrecht Van Lommel
* Split render/ into scene/ and session/. The scene/ folder now contains the scene and its nodes. The session/ folder contains the render session and associated data structures like drivers and render buffers. * Move top level kernel headers into new folders kernel/camera/, kernel/film/, kernel/light/, kernel/sample/, kernel/util/ * Move integrator related kernel headers into kernel/integrator/ * Move OSL shaders from kernel/shaders/ to kernel/osl/shaders/ For patches and branches, git merge and rebase should be able to detect the renames and move over code to the right file.
2021-09-30Cycles: refactor API for render outputBrecht Van Lommel
* Add OutputDriver, replacing function callbacks in Session. * Add PathTraceTile, replacing tile access methods in Session. * Add more detailed comments about how this driver should be implemented. * Add OIIOOutputDriver for Cycles standalone to output an image. Differential Revision: https://developer.blender.org/D12627
2021-09-24Cycles: some steps towards getting standalone compiling againBrecht Van Lommel
Render output and display still need to be rewritten to work with the new system.
2021-09-21Cycles: merge of cycles-x branch, a major update to the rendererBrecht Van Lommel
This includes much improved GPU rendering performance, viewport interactivity, new shadow catcher, revamped sampling settings, subsurface scattering anisotropy, new GPU volume sampling, improved PMJ sampling pattern, and more. Some features have also been removed or changed, breaking backwards compatibility. Including the removal of the OpenCL backend, for which alternatives are under development. Release notes and code docs: https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Cycles https://wiki.blender.org/wiki/Source/Render/Cycles Credits: * Sergey Sharybin * Brecht Van Lommel * Patrick Mours (OptiX backend) * Christophe Hery (subsurface scattering anisotropy) * William Leeson (PMJ sampling pattern) * Alaska (various fixes and tweaks) * Thomas Dinges (various fixes) For the full commit history, see the cycles-x branch. This squashes together all the changes since intermediate changes would often fail building or tests. Ref T87839, T87837, T87836 Fixes T90734, T89353, T80267, T80267, T77185, T69800
2021-01-26Fix Cycles standalone compilation following API changesCharles Flèche
The changes to the socket API were not applied to the standalone app. Also modify Camera.compute_auto_viewplane() to use Camera.full_width and Camera.full_height as it is not possible to publicly access Camera.width and Camera.height anymore, so the aspect ratio could be computed with stale data. Differential Revision: https://developer.blender.org/D9961
2020-06-03Fix build error for Cycles standaloneBrecht Van Lommel
This does not affect the Blender release. Ref D7915
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-01-29Cycles: delay CUDA and OpenCL initialization to avoid driver crashes.Brecht Van Lommel
We've had many reported crashes on Windows where we suspect there is a corrupted OpenCL driver. The purpose here is to keep Blender generally usable in such cases. Now it always shows None / CUDA / OpenCL in the preferences, and only when selecting one will it reveal if there are any GPUs available. This should avoid crashes when opening the preferences or on startup. Differential Revision: https://developer.blender.org/D4265
2018-12-13Cycles: Update standalone app to OIIO 2.0Sergey Sharybin
2018-07-06Cleanup: strip trailing space for cyclesCampbell Barton
2018-03-16Code refactor: move OIIO image buffer writing outside session, into callback.Guillaume Chereau
Original patch by Guillaume, modifications by Brecht. Differential Revision: https://developer.blender.org/D3102
2017-12-02Fix Cycles standalone crash when saving output, after recent refactoring.Brecht Van Lommel
2017-10-31Fix crash of standalone app after recent refactorSergey Sharybin
2017-10-24Code refactor: pass device to scene, check OSL with device info.Brecht Van Lommel
2017-03-29Cycles: Fix compilation error of app after the include directories changeSergey Sharybin
2016-12-03Cycles: Refactor Progress system to provide better estimatesLukas Stockner
The Progress system in Cycles had two limitations so far: - It just counted tiles, but ignored their size. For example, when rendering a 600x500 image with 512x512 tiles, the right 88x500 tile would count for 50% of the progress, although it only covers 15% of the image. - Scene update time was incorrectly counted as rendering time - therefore, the remaining time started very long and gradually decreased. This patch fixes both problems: First of all, the Progress now has a function to ignore time spans, and that is used to ignore scene update time. The larger change is the tile size: Instead of counting samples per tile, so that the final value is num_samples*num_tiles, the code now counts every sample for every pixel, so that the final value is num_samples*num_pixels. Along with that, some unused variables were removed from the Progress and Session classes. Reviewers: brecht, sergey, #cycles Subscribers: brecht, candreacchio, sergey Differential Revision: https://developer.blender.org/D2214
2016-11-12Fix Cycles standalone not finding CPU device after recent changes.Brecht Van Lommel
2016-08-10Cycles Standalone: Add option to set the tile size from the command lineLukas Stockner
Since the optimal values depend on the device used, this option doesn't make much sense in the XML. Therefore, it's now specified via the command line, just like the device itself.
2016-04-13Tweaks to the version string formationSergey Sharybin
Couple of things: - No need to use string streams to format the version string, we can do it at compile time and don't bother with anything at runtime. - Function declaration was wring and would have caused linking conflicts in cases when util_version.h was included from multiple places. We should have an utility function to get Cycles version so applications which are linked to Cycles dynamically can query the version, but that can't be done as an inlined function in header and would need to be a function properly exported to a global symbol table (aka, be implemented in a .cpp file).
2016-04-13Add a version number to Cycles standaloneThomas Dinges
Now Cycles has its own versioning, that is mainly interesting for external projects, which integrate the engine. We start with version 1.7.0. Reasons for that: * The engine is too mature for a 1.0 release. * We assume that Cycles inside of Blender 2.61 was version 0.1. We count upwards in 0.1 steps, therefore Cycles inside of Blender 2.77 would be 1.7. We use a common versioning scheme here, with 3 decimals for the major, minor and patch level. At the moment cycles --version can be used to display the version, easy to parse for external projects. The info will be added to the UI later aswell.
2015-06-01Cycles: Number keys 0-3 can be used in interactive mode now to set max bounces.Thomas Dinges
2015-05-20Cycles standalone, add device type in output listingMartijn Berger
2015-03-27Cycles: Code cleanup, spaces around keywordsSergey Sharybin
This inconsistency drove me totally crazy, it's really confusing when it's inconsistent especially when you work on both Cycles and Blender sides. Shouldn;t cause merge PITA, it's whitespace changes only, Git should be able to merge it nicely.
2015-01-15Cycles: Fix compilation error happened after recent render time commitSergey Sharybin
2014-12-31Cycles: Add logging to OSL and CUDA initialization/compilationSergey Sharybin
This is what was handy troubleshooting issues in the studio, plus this is exactly the same thing which would be helpful when solving issues with paths to compiled shaders and cubins for standalone repository.
2014-12-31Cycles: Fully support WITH_CYCLES_LOGGING optionSergey Sharybin
This commit generalizes logging module a little bit in making it possible to use Glog logging in standalone Cycles repository.
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-05-19Fix cycles standalone compile error of shading system enum change.Brecht Van Lommel
2014-05-04Style cleanup: indentation, bracesCampbell Barton
2014-05-03Code cleanup: style, require ; for cuda_assert, opencl_assertCampbell Barton
2014-05-03Quiet float conversion warnings when building cycles standaloneCampbell Barton
2014-04-18Cycles Standalone: Use progressive refine in background mode too.Thomas Dinges
This is only a workaround, with tiled rendering the image output has a wrong aspect ratio. (squashed image)
2014-03-26Fix for build error in Cycles standalone caused by new DeviceDrawParamsLukas Tönne
added in rB74518b28267e9b18199212fbaa3c689fa018d20c. No special bind/unbind needed for standalone viewer, so can just use a static stub in the display callback.
2014-02-15Cycles Standalone: Add more controls and optionsThomas Dinges
* P key, pauses the render * W/A/S/D for camera movement
2014-02-14Cycles Standalone: The camera now gets properly updated, when changing ↵Thomas Dinges
window size or using --width --height overwrites.
2014-02-14Cycles Standalone: Up/Down movement was inverted.Thomas Dinges
2014-02-14Cycles Standalone: Add interactive mode (I-key), to avoid accidental ↵Thomas Dinges
changes/movement. Also some code and whitespace cleanup.
2014-02-14Cycles Standalone: The camera can now be moved and rotated with LMB/RMB ↵Thomas Dinges
mouse key. ToDo: Add controls for forward/backward movement.
2014-01-25Cycles Standalone: Various changesThomas Dinges
* Change Info in header, put more important info to the left * API: Move Camera width/height to camera, add some film properties * Add ESC key to help menu
2014-01-25Cleanup: Simplify Cycles standalone OSL detection code.Thomas Dinges
2014-01-24Cycles Standalone: Add a help message, which appears when pressing the "h" key.Thomas Dinges
This is very basic for now, but can be extended with more info (available devices for example) later. Thanks to Bastien and Sergey for some help with the glRect coordinates stuff.
2013-10-26spelling: use American spelling for canceledCampbell Barton
2013-08-30Cycles / Standalone:Thomas Dinges
* Standalone can now be compiled without the GUI, making the glut dependency optional. Added WITH_CYCLES_STANDALONE_GUI cmake flag.
2013-08-27Cycles / Standalone:Thomas Dinges
* Rename test to standalone. Note: New CMAKE flag is WITH_CYCLES_STANDALONE.