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-07-16StudioLight: Fix codestyleClément Foucault
2018-07-16Matcap: Fix missing pixel on preview iconsClément Foucault
2018-07-10GPUTexture: Refactor of texture creation & new featureClément Foucault
- Texture creation now requires explicit data type. - GPU_texture_add_mipmap enable explicit mipmap upload. - GPU_texture_get_mipmap_size can be used to get the size of a mipmap level of an existing GPUTexture - GPU_texture_read let you read back data from a gpu texture.
2018-07-10Cleanup: styleCampbell Barton
2018-06-29Workbench: Spherical Harmonics testsJeroen Bakker
Added a compile directive in order to test SH4 in stead of SH2Win. For now I disabled SH4, it is a bit more clear, but has a small performance impact. Will check later for a better approach
2018-06-25Cleanup: code styleCampbell Barton
2018-06-22StudioLight: Better APIJeroen Bakker
In stead of a single refresh function that re-init the whole system. The API now supports adding and removing. Which will be much faster and less flickering of missing icons when adding/removing lights
2018-06-22StudioLight: Only apply windowing when SH level is 2Jeroen Bakker
It does not make much sense for the other levels
2018-06-22Studiolight: Spherical Harmonics WindowingJeroen Bakker
Apply Windowing on the Spherical Harmonics result. This would lead to better results.
2018-06-21CodeStyle: CommentsJeroen Bakker
2018-06-21Code cleanup: Added newlineJeroen Bakker
2018-06-21Missed warning is previous commitJeroen Bakker
2018-06-21Studiolight: Calculation of irradiance bufferJeroen Bakker
The calculation of the irradiance buffer was slow. Now it is only calculated when it is being used (background_alpha > 0.0) this solves the freeze when switching to LookDev mode. Also changed the default calculation to use the Spherical Harmonics calculation. This is able to generate the irradiance buffer fast, but is less accurate. As the irradiance buffer is only used for visual guidance speed is more important than accuracy. Added compile directive to switch between the implementations. (see STUDIOLIGHT_IRRADIANCE_METHOD) Disabled caching the irradiance buffer when STUDIOLIGHT_IRRADIANCE_METHOD_SPHERICAL_HARMONICS is used as it is not needed.
2018-06-20Studiolight: Spherical harmonicsJeroen Bakker
Compile time option to reduce the level of the SH
2018-06-20Studiolight: fixed diffuse lightingJeroen Bakker
- Orientation of the cubemap were not conform cycles and eevee - one side of the cubemap was flipped, so one side was overlit and the other side was to dark.
2018-06-20Cleanup: strip spaceCampbell Barton
2018-06-20Studiolight: removed raise conditionJeroen Bakker
Happened when deleting many studiolights at the same time when the previews were still beging calculated in the background. Added a free function callback that is filled when the preview is being generated. This free function will then kill the preview job This patch also removes icons that are not valid anymore so the user cannot accidentally render an icon where the studiolight is invalid. In the end we should use a add/remove function in the studiolight as currently icons are recalculated too much.
2018-06-19Studiolight: Temp Mutex issueJeroen Bakker
This is a temp fix for a better system. Currently the studiolights can be referenced by a WM_job and being freed via the API. This can happen when removing a studiolight via the interface. As the studiolight has no relation with the job, it is hard to detect if it is still being used. I tried with a Mutex and a Thread Queue but they were failing. So the current temp fix is to keep the studiolights in memory until you close blender. This Must be fixed ASAP! I added this fix so normal cases can workish.
2018-06-19Studiolight: Background Generation of iconsJeroen Bakker
2018-06-19Studiolight: Add SH2 cacheJeroen Bakker
- the result of the SH2-coeffiecients are stored in a bin file (3*9 floats). As the file is a local file we do not care about the architecture. - solved issue that also for internal lights the irradiance file were stored. We don't want that as it could be in a not accessible location
2018-06-18Cleanup: code-styleCampbell Barton
2018-06-18Studiolights: Radiance icons were inverted.Jeroen Bakker
2018-06-18Workbench: increased Quality of the diffuse lighting modelJeroen Bakker
- implemented Spherical Harmonics L2 for diffuse shading. TODO: caching the precalculated harmonics so it won't take soo long to open the popover
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: codestyleCampbell Barton
2018-06-17Custom Hdri: Use same AntiAliasing as MatcapsClément Foucault
2018-06-17StudioLights: Fix preview icon.Clément Foucault
Use same antialiasing method as the matcaps and fix the normal computation.
2018-06-17Matcap: Make matcap preview the same size as the other StudioLightsClément Foucault
2018-06-17Matcaps: Add AntiAlias alpha mask to icon preview.Clément Foucault
2018-06-17Studio Light: Fix typoClément Foucault
2018-06-15Cleanup: code styleCampbell Barton
2018-06-15T55486: use GPU_R11F_G11F_B10F for MatcapsJeroen Bakker
2018-06-14Cleanup: styleCampbell Barton
2018-06-14T55406: Flip MatcapJeroen Bakker
- Icon represent the flipped matcap in the shading menu - Added template_icon to display any icon in scale.
2018-06-12StudioLight: Use texel size as input sizeJeroen Bakker
Bettter light distribution for diffuse shading
2018-06-12Studiolight: add rim lighting to the default light setupJeroen Bakker
2018-06-12Studiolight: Disabled irradiance iconsJeroen Bakker
2018-06-12Studiolight: Bumped the radiance buffer to RGBA16FJeroen Bakker
Fixes issue reported at https://devtalk.blender.org/t/lookdev-ibl-result/890/3
2018-06-12Studiolight: cache irradiance bufferJeroen Bakker
2018-06-08Studiolight: Segment when using float based matcapsJeroen Bakker
2018-06-08Workbench: UI for custom studio lights/matcapsJeroen Bakker
- all known image types are supported - BpyAPI for studiolights added - added open user pref operator in shading menu - possible to add multiple files in a single run For now refreshing studio lights will free all studiolights and reinit the whole mechanism. This can be improved by only freeing deleted, reset updated and add new custom studiolights. details to show currently only shows the path we perhaps want to add other information also
2018-06-05Cleanup: styleCampbell Barton
2018-06-05Workbench: Matcaps T55291Jeroen Bakker
- users can use their own matcaps .config/blender/2.80/datafiles/studiolights/matcap/ folder - upto 100 matcaps can be loaded - color of the matcap is influenced by the color of the material/single color etc. To show the plain matcap use single color at 1.0 - chosing a matcap is at lighting level (flat/studio/matcap) - matcap only possible in solid mode - also works for X-Ray mode As the old matcaps are still in used by the clay engine I didn't remove it yet.
2018-06-01Cleanup: whitespaceCampbell Barton
2018-06-01Workbench: Updated the internal light to have a bit of back lightingJeroen Bakker
2018-06-01Cleanup: long linesCampbell Barton
2018-06-01Fix building for workbench in windows (BLI_INLINE)Dalai Felinto
2018-06-01Workbench: Material specific settings for the specularJeroen Bakker
- Uses the roughness setting of the basic eevee material - renamed gloss_mir to roughness - set default of roughness to 0.25 - renamed ray_mirror to metallic - cleaned up material rna (BI mirror struct) - use BLINN phong model - normalize incoming/outgoing specular light - when using camera oriented studiolight, the SolidLight will be used for specular highlights - EXPERIMENT: when in world oriented studiolight only the shadow direction will be used. - change the settings of the internal light to make scenes more readable
2018-05-30Cleanup: style/whitespaceCampbell Barton
Also use 'uint'.