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-19Remove Blender Internal and legacy viewport from Blender 2.8.Ton Roosendaal
Brecht authored this commit, but he gave me the honours to actually do it. Here it goes; Blender Internal. Bye bye, you did great! * Point density, voxel data, ocean, environment map textures were removed, as these only worked within BI rendering. Note that the ocean modifier and the Cycles point density shader node continue to work. * Dynamic paint using material shading was removed, as this only worked with BI. If we ever wanted to support this again probably it should go through the baking API. * GPU shader export through the Python API was removed. This only worked for the old BI GLSL shaders, which no longer exists. Doing something similar for Eevee would be significantly more complicated because it uses a lot of multiplass rendering and logic outside the shader, it's probably impractical. * Collada material import / export code is mostly gone, as it only worked for BI materials. We need to add Cycles / Eevee material support at some point. * The mesh noise operator was removed since it only worked with BI material texture slots. A displacement modifier can be used instead. * The delete texture paint slot operator was removed since it only worked for BI material texture slots. Could be added back with node support. * Not all legacy viewport features are supported in the new viewport, but their code was removed. If we need to bring anything back we can look at older git revisions. * There is some legacy viewport code that I could not remove yet, and some that I probably missed. * Shader node execution code was left mostly intact, even though it is not used anywhere now. We may eventually use this to replace the texture nodes with Cycles / Eevee shader nodes. * The Cycles Bake panel now includes settings for baking multires normal and displacement maps. The underlying code needs to be merged properly, and we plan to add back support for multires AO baking and add support to Cycles baking for features like vertex color, displacement, and other missing baking features. * This commit removes DNA and the Python API for BI material, lamp, world and scene settings. This breaks a lot of addons. * There is more DNA that can be removed or renamed, where Cycles or Eevee are reusing some old BI properties but the names are not really correct anymore. * Texture slots for materials, lamps and world were removed. They remain for brushes, particles and freestyle linestyles. * 'BLENDER_RENDER' remains in the COMPAT_ENGINES of UI panels. Cycles and other renderers use this to find all panels to show, minus a few panels that they have their own replacement for.
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.
2018-04-05Remove workspace object mode, reverts changes w/ 2.8Campbell Barton
This caused too many problems syncing object modes with multiple objects/windows/workspaces, see: D3130 for details.
2018-02-14GPU: use alpha blend that works for drawing to transparent buffer.Brecht Van Lommel
It's unlikely to ever be intentional to square the source alpha, as happens with glBlendFunc, so this changes the blending throughout the code.
2018-02-06Object Mode: Use eval_ctx mode for drawing, paint & modifiersCampbell Barton
2017-11-23Cleanup: Rename ViewLayer *sl > ViewLayer *view_layerDalai Felinto
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-05-24TexFace removal part 2Campbell Barton
- Derived-mesh drawing. - All non UV members of TexFace structs. MTexPoly is now redundant but keeping with a dummy member, will check on complete removal later.
2017-05-19Remove unused functions after WITH_LEGACY_OPENGL cleanupDalai Felinto
2017-05-19Remove reference to WITH_LEGACY_OPENGLDalai Felinto
We only keep this as a way to get GPU_stubs to run, in case we want to do a throughout cleanup in the codebase and want code using legacy calls to fail to build.
2017-05-19Remove reference to SUPPORT_LEGACY_MATRIXDalai Felinto
Since the change to core profile this is no longer supported.
2017-04-27OpenGL: early exit from functions that don't mix with core profile Mike Erwin
These parts will not be part of final viewport, but are called indirectly during the transition. To avoid runtime errors on core profile, exit early -- functions effectively do nothing. I put the early exits inside the functions to avoid cluttering the code that calls these. But (long term) the calling functions need to change. Basic shader's detect_options function was unused and full of old, so I deleted it. Part of T51164
2017-04-27OpenGL: stop enabling GL_TEXTUREMike Erwin
Texturing is always enabled in GLSL. Simply use a sampler in the shader. Replaced gpu_generate_mipmap with glGenerateMipmap since the former just Enabled/Disabled the texture target and called the latter. Part of T51164
2017-04-24Convert BaseLegacy to Base (part)Luca Rood
2017-04-19Comment out places which are using texture matrix mode for core profileSergey Sharybin
There is only two places which are using texture matrix mode: - Tiled tface support. - Texture shading mode for texture mapping. Both cases are subject for reconsideration: it is likely that we'll be getting rid of tface, which means game properties like tiles needs to be revisited anyway. As for texture shading it is using basic shader which is also not supported by core profile anyway.
2017-03-27OpenGL: use old API for texture matrixMike Erwin
New matrix API does not support texture matrices. Not sure what the final code will look like, but this at least avoids interference with new ModelView matrix. Marked each line with TEXTURE so they can be disregarded during searches. Related to T49450
2017-03-22OpenGL: convert to new matrix API (part 5)Mike Erwin
Pretty sure source/blender is now finished, with all legacy matrix calls confined to gpu_matrix.c. This was the easy part, but doing it first makes the next part much easier. TODO and XXX notes describe what is left. glMatrixMode is still in place, since the new API does not share this concept of modes. Similar for glOrtho and glFrustum which I'll tackle very soon. Part of T49450
2017-03-02Remove all instances of OBACT from drawobject.c and related changesDalai Felinto
2017-03-02Remove tons of OBACTDalai Felinto
There are now only referenced in: * drawobject.c * particle_edit.c * space_image.c (a single case to be handled on workspace branch) * rigidbody_constraint.c (to be handled in the following commit)
2016-08-25Fix T48788: Diffuse color in BI Textured Solid mode is not updating properly ↵Sergey Sharybin
in Sculpting mode Was caused by 6276726, so for the time being revert the optimization part of change.
2016-08-02Viewport: Make lights in local view behave like BI and CyclesJulian Eisel
Ignore that lights are not included in local view, always render them if they are on the correct layers. BI and Cycles do this as well.
2016-07-22Cleanup: pass pointer to texture draw stateCampbell Barton
2016-07-02Cleanup: styleCampbell Barton
2016-06-30Fix T48728, part 2: Vertex colors not shown in texture modeSergey Sharybin
2016-06-29Correction to previous commit: Only skip colors for texture paintSergey Sharybin
This way we avoid regression of sculpt mode shading. Hopefully now it's all fine.
2016-06-29Fix T48728: Vertex colors not shown in texture modeSergey Sharybin
Regression caused by own changes to make texture paint more efficient from workflow point of view. Now the idea is to use vertex color outside of paint mode, so we don't break any compatibility here.
2016-06-10GPU: use basic-shader for line-stippleCampbell Barton
2016-06-09Flat shading for basic shaderAlexander Romanov
The purpose of the patch is to replace deprecated glShadeModel. To decrease glShadeModel calls I've set GL_SMOOTH by default Reviewers: merwin, brecht Reviewed By: brecht Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1958
2016-06-08GPU: fix texface image w/ basic-shaderCampbell Barton
2016-05-22Use previous shading mode for border render in viewportSergey Sharybin
This way we can have border rendered part in the viewport and have everything else material/texture shaded.
2016-05-13Fix T47652: Texture shading mode fails to update material colorsCampbell Barton
2016-02-11Fix T47389: WPaint + texture entirely transparentCampbell Barton
2016-02-02Cleanup: rename uvflag -> flag for dm drawingCampbell Barton
Was called both, however this isn't mainly for uv's so just call 'flag'. Also remove redundant NULL check.
2016-02-02Partial Fix T47221: Sculpt Hide fails w/ texture drawingCampbell Barton
Support for skipping hidden faces in sculpt mode w/ texture drawing.
2016-01-27World textures displaying for viewport in BI.Alexander Romanov
This patch supports "Image or Movie" and "Environment map" types of world texture for the viewport. It supports: - "View", "AngMap" and "Equirectangular" types of mapping. - Different types of texture blending (according to BI world render). - Same color blending as when it lacked textures (but render via glsl). {F207734} {F207735} Example: {F275180} Original author: @valentin_b4w Regards, Alexander (Blend4Web Team). Reviewers: sergey, valentin_b4w, brecht, merwin Reviewed By: merwin Subscribers: campbellbarton, merwin, blueprintrandom, youle, a.romanov, yurikovelenov, AlexKowel, Evgeny_Rodygin Projects: #rendering, #opengl_gfx, #bf_blender:_next Differential Revision: https://developer.blender.org/D1414
2016-01-25Fix T47218: OpenGL render with missing alpha, due to recent OpenGL refactoring.Brecht Van Lommel
Patch by Ralf Hölzemer.
2016-01-03Get rid of yet another instance of DM_DRAW_OPTION_NO_MCOLAntony Riakiotakis
Logic here is weird. Generally, textured drawing overrides material color unless material uses object color instead? It doesn't make sense, material color is a material color whatever the circumstance. Repeating: idea as always is to push all those options out of per- polygon callbacks and make decisions such as color enable in the higher level functions.
2016-01-03Get rid of three needless instances of DM_DRAW_OPTION_NO_MCOL.Antony Riakiotakis
It would be good to get rid of this entirely, ideally decision about mcols can be taken at material level and not done per face. More work needs to be done for that to work though.
2015-12-12Cleanup: style/spellingCampbell Barton
2015-12-08OpenGL: split off framebuffer, shader and texture code into separate files.Brecht Van Lommel
2015-12-06OpenGL: rename simple shader to basic shader.Brecht Van Lommel
2015-12-06OpenGL: isolate fixed function lighting in simple shader code.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-12-06OpenGL: pass flag to indicate of drawMappedFaces needs to use normals.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-11-28OpenGL: rename GPU_enable_material to better indicate it's binding shaders.Brecht Van Lommel
2015-11-27OpenGL: fix cycles texture draw mode not respecting double sided lighting.Brecht Van Lommel
2015-11-25OpenGL: GLSL always supportedMike Erwin
In gpu lib: - GPU_glsl_support() always returns true - internal cleanup & comments Outside gpu lib: - remove check from various code, remove the “else” path - sprinkled a few C99-isms We can remove GPU_glsl_support() when BGE stops calling it.
2015-11-12Fix T46749: Texture paint & shadeless mode failsCampbell Barton
Using shadeless did nothing in texture-paint mode. (regression in 2.76)
2015-10-28Cleanup: warning/styleCampbell Barton
2015-10-28Follow up to previous commit, proper fix for T46284, incorrect TextureAntony Riakiotakis
shading in Texture paint mode and cycles
2015-10-28Revert "Fix T46284: Texture paint, wrong shading mode"Antony Riakiotakis
Should fix T46616 but will reintroduce T46284. The second, original bug needs different handling This reverts commit 904db487a7b14c31282fe0284612159a836657cd.