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
path: root/intern
AgeCommit message (Collapse)Author
2012-01-23Fix compilation error caused by code cleanupSergey Sharybin
2012-01-23Carve booleans: corrected copyright headerSergey Sharybin
2012-01-23Carve booleans: code and style cleanupSergey Sharybin
2012-01-23Fix #29934: New Carve library can't execute boolean operations in some casesSergey Sharybin
Issue was caused by left boolean operand consist of several intersecting manifolds which make Carve triangulator confused and which can't be resolved in general case. Added mesh pre-processing before actual applying boolean operator on it. This preprocessing applies union operation on intersecting manifolds of the same object so intersection edge loop with second object wouldn't confuse tesselator and correct result would be returned. Detecting of intersecting manifolds is based on AABB intersection check which leads to some extra union operation called, but it's possible to speed things up from Carve side so union operation of two not intersecting meshes would work faster. Additional condition for running union for manifold is this manifolds intersects AABB of second operand, so mesh topology wouldn't be changed at all in areas where there's definitely no intersection between operands. It might be improved so only manifolds which actually intersects second operand would be joined together, but it'll slow things down a bit and prefer to do it only if it'll be really a problem. Additional change is fixed memory leak when boolean operation fails to run - it was missed "delete" call if exception happens in Carve library. From side effects of this change might be named boolean operation between suzanne and another object: suzanne is consist of three intersecting open manifolds, so this new meshes preprocessing leads to missed eyes in result because of failure of merging two open manifolds. Don't think making suzanne work for all setups should really be a goal, it's a bit crappy mesh for CSG algorithms.
2012-01-23Fix for compilation error when using scons and carve is disabledSergey Sharybin
2012-01-23Cycles Textures:Thomas Dinges
* Remove the "Use nodes" button, the TextureOutput node was never ported to trunk from the cycles branch.
2012-01-23Cycles UI:Thomas Dinges
* Use full width for the world sample as lamp properties
2012-01-23Committing patch "[#27676] Change window size/resolution in realtime" by me.Mitchell Stokes
Description: This patch allows the user to change the size of the window (or the resolution in fullscreen mode) using the new bge.render.setWindowSize() method. This only works in the Blenderplayer since it doesn't make a whole lot of sense for the embedded player.
2012-01-22Fix #29935: missing cycles update/crash when removing world datablock form ↵Brecht Van Lommel
scene.
2012-01-22Fix missing shadows with cycles world sample as lamp option, my mistake inBrecht Van Lommel
tweaking patch.
2012-01-20use property definitions more consistant with other addons in trunk. (no ↵Campbell Barton
functional change)
2012-01-20Sample as Lamp option for world shaders, to enable multiple importance sampling.Brecht Van Lommel
By default lighting from the world is computed solely with indirect light sampling. However for more complex environment maps this can be too noisy, as sampling the BSDF may not easily find the highlights in the environment map image. By enabling this option, the world background will be sampled as a lamp, with lighter parts automatically given more samples. Map Resolution specifies the size of the importance map (res x res). Before rendering starts, an importance map is generated by "baking" a grayscale image from the world shader. This will then be used to determine which parts of the background are light and so should receive more samples than darker parts. Higher resolutions will result in more accurate sampling but take more setup time and memory. Patch by Mike Farnsworth, thanks!
2012-01-19added support for the 3Dconnexion SpaceMouse Pro -- tested on Linux w/ ↵Mike Erwin
spacenavd, Macs need latest driver (Intel only (grumble)), Windows should be good as well but have not tested
2012-01-19Fix small code issue pointed out by nico_ga, was doing negation on unsigned ↵Brecht Van Lommel
type, didn't seem to break anything though.
2012-01-19allow building without xinput againCampbell Barton
2012-01-18Fix #25581: No pressure sensitivity in sculpt modeSergey Sharybin
Tablet mode (stylus/eraser) wasn't properly set when pen was already hovering over tablet surface when opening blender (i.e. in cases when blender was opened using stylus tap). Issue resolved by setting tablet mode when handling tablet's motion event too.
2012-01-18ghost tests weren't building and added some comments to ghost docs.Campbell Barton
2012-01-17misc small changes and bmesh support for testing scriptCampbell Barton
2012-01-17Compilation error when using mingw+sconsSergey Sharybin
Error was caused by boost library (which doesn't seem to be working with Cycles too when compiling with mingw). Switched mingw to use TR1 unordered collections. Also, there was re-declaration of strcasecmp when mingw is used. Additional changes are related on using own process spawning when BF_TOOLSET is set to mingw. Seems to be working fine now (i've got too long command line error) and no warning are supressing now (as it was told in comment for commented own process spawning).
2012-01-16Carve booleans library integrationSergey Sharybin
================================== Merging Carve library integration project into the trunk. This commit switches Boolean modifier to another library which handles mesh boolean operations in much stable and faster way, resolving old well-known limitations of intern boolop library. Carve is integrating as alternative interface for boolop library and which makes it totally transparent for blender sources to switch between old-fashioned boolop and new Carve backends. Detailed changes in this commit: - Integrated needed subset of Carve library sources into extern/ Added script for re-bundling it (currently works only if repo was cloned by git-svn). - Added BOP_CarveInterface for boolop library which can be used by Boolean modifier. - Carve backend is enabled by default, can be disabled by WITH_BF_CARVE SCons option and WITH_CARVE CMake option. - If Boost library is found in build environment it'll be used for unordered collections. If Boost isn't found, it'll fallback to TR1 implementation for GCC compilers. Boost is obligatory if MSVC is used. Tested on Linux 64bit and Windows 7 64bit. NOTE: behavior of flat objects was changed. E.g. Plane-Sphere now gives plane with circle hole, not plane with semisphere. Don't think it's really issue because it's not actually defined behavior in such situations and both of ways might be useful. Since it's only known "regression" think it's OK to deal with it. Details are there http://wiki.blender.org/index.php/User:Nazg-gul/CarveBooleans Special thanks to: - Ken Hughes: author of original carve integration patch. - Campbell Barton: help in project development, review tests. - Tobias Sargeant: author of Carve library, help in resolving some merge stoppers, bug fixing.
2012-01-16patch [#29856] UTF-8 copy&paste for Win32 GHOSTSv. Lockal
2012-01-16Cycles: add option to cache BVH's between subsequent renders, storing the BVH onBrecht Van Lommel
disk to be reused by the next render. This is useful for rendering animations where only the camera or materials change. Note that saving the BVH to disk only to be removed for the next frame is slower if this is not the case and the meshes do actually change. For a render, it will save bvh files to the cache user directory, and remove all cache files from other renders. The files are named using a MD5 hash based on the mesh, to verify if the meshes are still the same.
2012-01-14remove api from addon bl_info, was never used.Campbell Barton
2012-01-12Fix #29860: cycles musgrave scale input not working correct.Brecht Van Lommel
2012-01-12Cucumber - AA for blenderplayer and fullscreenDalai Felinto
.............................................. svn merge ^/branches/soc-2011-cucumber -r 38968,38970,38973,39045,40845 Notes: ====== * we replaced fullscreen by playerflag in DNA_scene.types.h. So no doversion here, I think this is a small reversion can't see any potential problem in forcuing users to re-check fullscreen. If the file is really old (<250) it will doversion though; * (for after commit) it would be nice to gray out the width/height when desktop=True * for a rainy day: it would be nice to have other ghost modes (e.g. screensaver) to support desktop + MSAA as well. It's not a huge deal given that I don't even know if anything else work (apart from windowed, fullscreen and embed) but it doesn't hurt to have it updated as well. * there is something strange with outliner. I think space_outliner merge-info is not in sync with the ^/ folder. It's probably a wrong merge early in cucumber. Commit Logs: =========== # 40845 by dfelinto remove desktop and fullscreen properties. They are both part of playerflag now also I removed the fullscreen from the DNA completely. I don't think we need doversion that.. #39045 by kupoman The Desktop option is now greyed out when fullscreen is not checked rather than disappearing from the UI completely. #38973 by kupoman Adding a checkbox to the UI to allow the full screen Blender Player to use the current desktop resolution instead of the resolution setting. #38970 by kupoman Multisampling now works in a fullscreen Blender Player. #38968 by moguri Committing a patch from Mitchell Stokes (Moguri) to include a setting in the UI for the Blenderplayer multisampling.
2012-01-11Fix #29848: cycles not respecting dupli group visible layers, also exposedBrecht Van Lommel
DupliObject.hide property in API now.
2012-01-11Fix: cycles CPU device not being used when it should be on some multi-GPUBrecht Van Lommel
configurations.
2012-01-11Added mode-getting functions for GHOST under X11 (GNU/Linux).Alex Fraser
Enabled xvidmode by default in cmake. Patch approved by Campbell.
2012-01-11This patch implements mode switching (resolution changing) for full-screen ↵Alex Fraser
games. Hopefully, this should be platform agnostic. Requires WITH_GHOST_SDL. This patch contains code from Quake 2 and bzflag. Tracker: [#29839]
2012-01-11patch [#29853] UTF-8 copy&paste for X11 GHOSTCampbell Barton
2012-01-09Cycles: multi GPU rendering support.Brecht Van Lommel
The rendering device is now set in User Preferences > System, where you can choose between OpenCL/CUDA and devices. Per scene you can then still choose to use CPU or GPU rendering. Load balancing still needs to be improved, now it just splits the entire render in two, that will be done in a separate commit.
2012-01-09Cycles: show elapsed time for F12/background render.Brecht Van Lommel
2012-01-09Cycles: small tweak to checker texture, scale rather than add with epsilon,Brecht Van Lommel
looks a bit better on all sides of a mesh.
2012-01-08Cycles: checker texture node, patch by Thomas.Brecht Van Lommel
2012-01-06Fix #29760: cycles border render issue on 32 bit linux.Brecht Van Lommel
2012-01-04Cycles: device code refactoring, no functional changes.Brecht Van Lommel
2012-01-02Fix #29695: cycles particle emitter not being properly hidden.Brecht Van Lommel
2012-01-02Fix #29740: missing cycles viewport update with animated node socket values.Brecht Van Lommel
2012-01-02Fix #29755: cycles crash with array modifier that can produce material indicesBrecht Van Lommel
that are out of bounds.
2012-01-02Fixes two crashers for games, with GHOST under SDL:Alex Fraser
- Fixes SDL fullscreen mode for game engine (blenderplayer). Mode switching (resolution changes) not supported yet though. - Fixes embedded game engine exit. See patch tracker [#29748].
2012-01-02Mode switching for GHOST under X11: adds the ability to change screen ↵Alex Fraser
resolutions in the blenderplayer on GNU/Linux. Code ported from Quake 2.
2011-12-31Cycles code refactoring: change displace kernel into more generic shaderBrecht Van Lommel
evaluate kernel, added background shader evaluate.
2011-12-31Fix for compilation error when compiling dualcon with mingwSergey Sharybin
2011-12-31option to build without remesh modifier for cmake and sconsCampbell Barton
2011-12-31workaround for error building with clang and quiet some warnings building ↵Campbell Barton
without libmv.
2011-12-31Add remesh modifier (dual contouring).Nicholas Bishop
This patch adds a new remeshing modifier. The algorithm is based on the paper "Dual Contouring of Hermite Data", and the implementation was contributed to Blender by Dr. Tao Ju. The contributed code is in intern/dualcon, and was modified to compile under gcc and work on 64-bit systems. Files not needed for Blender were removed and a small C wrapper was added in order to interface it with Blender. The rest of the patch is just standard modifier stuff. Reviewed by Sergey, code review link: http://codereview.appspot.com/5491053/ The remesh icon was contributed by Zafio: http://blenderartists.org/forum/showthread.php?240751-Request-for-modifier-icon/page2. Thanks to everyone in that thread for the icon proposals and discussion. Documentation and examples on the Blender wiki: http://wiki.blender.org/index.php/User:Nicholasbishop/RemeshModifier In case the history is needed for anything, check the remesh-modifier branch of this git repository: https://gitorious.org/~nicholasbishop/blenderprojects/nicholasbishop-blender
2011-12-30style edits for function declarationsCampbell Barton
2011-12-30Fix: cycles camera dof object with non-uniform scale gave incorrect distance.Brecht Van Lommel
2011-12-29bugfix: [#29711] Cycles - HSV Node - Hue Change BugDalai Felinto
* Adding hue instead of removing it. fmod doesn't work as % when it comes to negative numbers: fmod( 1.3, 1) == 1.3 % 1 == 0.3 fmod(-0.3, 1) != -0.3 % 1
2011-12-29add UNLIKELY / LIKELY util defines to help optimize iterators that are ↵Campbell Barton
called a lot, only defined for gcc at the moment. also some cmake formatting edits.