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
2018-04-17Removing Blender Game Engine from Blender 2.8Dalai Felinto
Folders removed entirely: * //extern/recastnavigation * //intern/decklink * //intern/moto * //source/blender/editors/space_logic * //source/blenderplayer * //source/gameengine This includes DNA data and any reference to the BGE code in Blender itself. We are bumping the subversion. Pending tasks: * Tile/clamp code in image editor draw code. * Viewport drawing code (so much of this will go away because of BI removal that we can wait until then to remove this.
2017-10-16Workspace: Move engines to workspace and Properties Editor cleanupDalai Felinto
Engine is not stored in WorkSpaces. That defines the "context" engine, which is used for the entire UI. The engine used for the poll of nodes (add node menu, new nodes when "Use Nodes") is obtained from context. Introduce a ViewRender struct for viewport settings that are defined for workspaces and scene. This struct will be populated with the hand-picked settings that can be defined per workspace as per the 2.8 design. * use_scene_settings * properties editor: workshop + organize context path Use Scene Settings ================== For viewport drawing, Workspaces have an option to use the Scene render settings (F12) instead of the viewport settings. This way users can quickly preview the final render settings, engine and View Layer. This will affect all the editors in that workspace, and it will be clearly indicated in the top-bar. Properties Editor: Add Workspace and organize context path ========================================================== We now have the properties of: Scene, Scene > Layer, Scene > World, Workspace [Scene | Workspace] > Render Layer > Object [Scene | Workspace] > Render Layer > Object > Data (...) Reviewers: Campbell Barton, Julian Eisel Differential Revision: https://developer.blender.org/D2842
2017-09-02Merge branch 'master' into blender2.8Campbell Barton
2017-09-02Cleanup: use title caps for labelsCampbell Barton
Also consistent quoting (single quotes for enums, text uses double).
2017-06-01Merge branch 'master' into blender2.8Sergey Sharybin
2017-06-01Cleanup: use row() sub-layout to expand enum properties horizontalyraa
2017-05-19Remove use_display_lists optionCampbell Barton
2017-03-19Moving classes to separate listing broke panel orderCampbell Barton
Although this wasn't so obvious since it only showed up for factory settings and in the preferences window. Panel display order depends on registration order, Sorry for the noise. On the bright side we no longer need to move classes around to re-arrange panels.
2017-03-18PyAPI: remove bpy.utils.register_module()Campbell Barton
In preparation for it being removed, see: T47811
2017-01-27UI: Move Scene Game Properties to the Scene Tab (was in world)Aaron Carlisle
2017-01-19UI: Fix capitalization inconsistencyAaron Carlisle
2017-01-05Make button span the full width of the properties editorAaron Carlisle
2016-07-28Use COMPAT_ENGINES instead of RenderEngine.use_game_engine for panel poll ↵Mitchell Stokes
methods This mostly affects physics panels. Any engines relying on RenderEngine.use_game_engine flag to show/hide panels will need to be updated. The COMPAT_ENGINES technique is how we usually deal with this. One issue with use_game_engine is that I cannot find a way to set it; it appears only the BGE can set it. This means (without this commit) external RenderEngines cannot get rid of the default physics panels. The RE_GAME flag (the C flag behind use_game_engine) is pretty hacky and we should look into removing its usage where possible.
2016-07-04Environment lighting for the GLSL modeAlexander Romanov
Environment lighting (aka ambient) is a key component of any renderer. It's implemented like the Environment lighting of BI render for Approximate Gather mode. It support "Sky Color" and "White" Environment lighting modes. It would be great if the user could see actual lighting conditions right in the Blender viewport instead of waiting for the renderer to complete the final image, exporting for external renderer or for a game engine. Before: {F113921} After: {F113922} Example file: {F319013} Original author: valentin_b4w Alexander (Blend4Web Team) Reviewers: valentin_b4w, campbellbarton, merwin, brecht Reviewed By: brecht Subscribers: panzergame, youle, duarteframos, AlexKowel, yurikovelenov, dingto, Evgeny_Rodygin Projects: #rendering, #opengl_gfx Differential Revision: https://developer.blender.org/D810
2016-04-05Expose new Recast partitioning methods for navmesh generationReinier de Blois
This patch depends on D1747, which upgrades the Recast version. It exposes the new Recast partitioning methods in the navmesh generation. Reviewers: campbellbarton, moguri Reviewed By: moguri Projects: #bf_blender Differential Revision: https://developer.blender.org/D1748
2015-10-12Cleanup: RNA naming, use 'max' as a suffixCampbell Barton
2015-10-11BGE: Adding a Max Jumps value to the character physic windowThomas Szepe
Actually we only have a Python API that allows to change the max jumps value. The patch also allows non programmers to change the maximum numbers of jumps. Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77 Reviewed By: lordloki, moguri Projects: #game_engine Differential Revision: https://developer.blender.org/D1302
2015-08-10BGE: Fix T33564: UI obstacle panel disable for character and no collision ↵Porteries Tristan
objects.
2015-06-28BGE: added clamping of angular velocity.Sybren A. Stüvel
Angular velocity clamping was missing from the BGE. It is implemented similarly to the linear velocity clamping. It is needed to be able to drive physical simulations of systems that have a limited rotational speed. Reviewed by: campbellbarton, panzergame, ton Differential Revision: https://developer.blender.org/D1365
2015-05-17Cleanup: pep8Campbell Barton
2015-05-14BGE: Add 'Lock Translation' for dynamic objectsThomas Szepe
The XYZ translation lock was missing for dynamic object. Reviewed By: panzergame
2015-05-03BGE: Fix: Activate collision mask/group in UI.Porteries Tristan
2015-04-22Cleanup: pep8, spellingCampbell Barton
2015-04-18BGE: New Draw debug shadow box for sun lampPorteries Tristan
New Check option "Show Shadow Box" in shadow panel of sun lamp to get feedback about which objects project shadows. Minor tweaks by Campbell Barton and Jorge Bernal Reviewers: moguri, sybren, kupoman, dfelinto, lordloki, campbellbarton Reviewed By: lordloki, campbellbarton Subscribers: sergey, lordloki Projects: #game_engine Differential Revision: https://developer.blender.org/D1149
2015-03-24BGE: World color management fixThomas Szepe
This patch will fix the color management for the mist and global ambient color. It will remove the old "Color Management" switch in the BGE "Render > Shading" panel and will use the "Display Device" setting in the "Scene > Color Management" panel instead. Reviewers: moguri, brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D154
2015-03-22BGE: New hysteresis offset to improve LOD level transitionsJorge Bernal
This change introduces a new hysteresis parameter that it will be added or subtracted to/from the LOD distance to avoid popping when a LOD object moves close to the LOD transition continuously. Then, we have the following: - a new LOD Hysteresis setting per scene (default 10%) which is located in Scene context --> Level of Detail panel. This scene parameter also will active/deactive the scene hysteresis. - and a new LOD Hysteresis setting per object (default 10%) which is located in Object context --> Levels of Detail panel. The LOD hysteresis setting per object (if active) will overwrite the hysteresis setting per scene value. For the new blends: the hysteresis setting per scene would be active by default and the per object would be inactive by default. For the old blends: both hysteresis settings (per scene and per object) would be inactive by default. A quick way to take advantage of this feature for old blends would be to activate the hysteresis parameter in the scene context -> Level of Detail panel Reviewers: campbellbarton, kupoman, moguri Reviewed By: kupoman, moguri Subscribers: nonamejuju, lordodin Differential Revision: https://developer.blender.org/D957
2015-02-28gameengine physics: moving collision filtering inside the collision panel ↵Ines Almeida
and relabeling some parts
2015-02-19gameengine physics: removing compound option for character controllersInes Almeida
Cherrypicking c31d921 onto 117edbb Conflicts: release/scripts/startup/bl_ui/properties_game.py
2015-02-13BGE: Remove translation and rotation constrains subpanel from dynamics typeJorge Bernal
The translation and rotation locks subpanel was not used by dynamic physics type to avoid inestability in the application of forces and/or torques. Therefore it is better to remove it from UI (for dynamics) to avoid misunderstandings. Reviewers: moguri, dfelinto, campbellbarton Reviewed By: campbellbarton Subscribers: panzergame Differential Revision: https://developer.blender.org/D1090
2015-01-29BGE: Remove duplicated audio panel from Render contextJorge Bernal
This commit removes the audio panel from Render context as it exists a similar panel in Scene context. Also, it gives to the Distance Model a similar UI layout as it was in the removed render->audio panel
2015-01-29cleanup: pep8Campbell Barton
also remove empty class parenthesis
2013-12-18Code cleanup: Game Engine related panels belong into properties_game.py.Thomas Dinges
2013-12-09Game Engine: Option to record static objects animationJames Yonan
2013-09-16partial bugfix: [#36501] Blenderplayer can not change video resolution in ↵Dalai Felinto
Mac OSX OSX support for native desktop resolution changing is not simple as for Windows or Linux. The 'fix' here is at the interface level only. Refer to the original bug report for the suggested native workaround, test patch and problems.
2013-07-30BGE: Adding vsync control. Users can enable vsync, disable vsync, or use ↵Mitchell Stokes
adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.
2013-06-27pep8 cleanupCampbell Barton
2013-05-17partial revert of commit 54126 - (BGE UI: removing " use_occlusion_culling" ↵Dalai Felinto
from the ui) bug reported by Eloy Felix over email Apparently there are some files that will perform better with "use_occlusion_culling" off. For now the UI option can return. Technically this could make into 2.67a, but the string is not localized (it'll be in English). Not sure what is more important here: - consistent UI OR to expose in the UI an option some people need
2013-04-23rna attribute consistency edits, use common prefix for booleans.Campbell Barton
2013-01-27BGE UI: removing "use_occlusion_culling" from the uiDalai Felinto
(and marking rna as deprecated) I talked with Benoit Bolsee and Mitchell Stokes and they both agreed that the feature should be removed. In case someone was actually using it the rna is still available. But next release we remove both the rna, the DNA and the flag in the code. I did a simple benchmark with tons of cubes, and the DBVT culling (use_occlusion_culling=True) always perform better than when it's off. Even when no occluder objects are in the scene.
2013-01-16style cleanupCampbell Barton
2012-12-24BGE: "Fix" for issue [#33663] "Objects Share Materials / Textures When ↵Mitchell Stokes
Grouped In SingleTexture / MultiTexture Mode" reported by Josiah Lane (solarlune). This commit adds a UI option in the Render properties to enable the new material caching in the converter. This caching can cause problems with Singletexture and Multitexture materials when texface is being used to handle materials. By default this option is enabled and users with broken games have two options: 1) Fix up their materials so they are properly using textures 2) Disable the material caching and take a speed hit during conversion time Regardless of the setting, caching is always enabled for GLSL materials.
2012-12-19BGE: Some as of yet unmerged work I did in the Swiss branch. These changes ↵Mitchell Stokes
include: * Cleaning up the conversion code to avoid a per-face material conversion. Materials are now stored in buckets and only converted if a new material is found. This replaces some of Campbell's earlier work on the subject. His work wasn't as thorough, but it was much safer for a release. * Shaders are only compiled for LibLoaded materials once. Before they could be compiled twice, which could really slow things down. * Refactoring the rasterizer code to use a strategy design pattern to handle different geometry rendering methods such as immediate mode, vertex arrays and vertex buffer objects. VBOs are added, but they will be disabled in a following commit since they are still slower than vertex arrays with display lists. However, VBOs are still useful for mobile, so it's good to keep them around. * Better multi-uv support. The BGE should now be able to handle more than two UV layers, which should help it better match the viewport.
2012-10-30BGE: Adding support for Bullet's collision masks. Each object now has a ↵Mitchell Stokes
collision mask and a collision group. Object A and object B collide if object A's groups is in object B's mask and object B's group is in object A's mask. In other words, the group defines what the object is (collision wise) and the group defines what the object can collide with. The majority of this patch was provided by Kupoman with some edits from me and heavy testing by z0r.
2012-08-08Accidentally did a commit when I wanted to revert... (ignore my last revision)Mitchell Stokes
2012-08-08(no commit message)Mitchell Stokes
2012-07-29style cleanupCampbell Barton
2012-07-29User Interface Scripts:Thomas Dinges
* Code cleanup, removed unneeded code. * Style cleanup, don't break lines to early (unless marked as pep8-80 or pep8-120 compliant) * Keep 1 line after layout declaration empty.
2012-07-05style cleanupCampbell Barton
2012-06-21Fix for [#31792] "Character Physics type not detected by near sensor" ↵Mitchell Stokes
reported by Mikko-Pentti Eronen. Near sensors only pick up "actors," but objects with character physics did not have the actor option displayed. By setting the character physics object to actor, it can be picked up by the near sensor. However, it collides with the near sensor, which sounds like bug [#31701]
2012-05-30BGE #30734: add support for physics linear and angular thresholds and ↵Benoit Bolsee
deactivation time from python and GUI. ======================== The linear and angular thresholds set the speed limit (in m/s) and rotation limit (in rad/s) under which a rigid body will go to sleep (stop moving) if it stays below the limits for a time equal or longer than the deactivation time (sleeping is disabled is deactivation time is set to 0). These settings help reducing the processing spent on Physics during the game. Previously they were only accessible from python but not working because of a bug. Now the python functions are working and the settings are available in the Physics panel of the World settings when using the Blender Game render engine. Python API: import PhysicsConstraints PhysicsConstraints.setDeactivationLinearTreshold(float) PhysicsConstraints.setDeactivationAngularTreshold(float)