Commit Graph

233 Commits

Author SHA1 Message Date
Ton Roosendaal
e11d22a6b7 Matcap support in 3D Viewport.
Full log is here:
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability#Matcap_in_3D_viewport

Implementation notes:

- Matcaps are an extension of Solid draw mode, and don't show in other drawmodes.
  (It's mostly intended to aid modeling/sculpt)

- By design, Matcaps are a UI feature, and only stored locally for the UI itself, and
  won't affect rendering or materials.

- Currently a set of 16 (GPL licensed) Matcaps have been compiled into Blender. 
  It doesn't take memory or cpu time, until you use it.

- Brush Icons and Matcaps use same code now, and only get generated/allocated on
  actually using it (instead of on startup).

- The current set might get new or different images still, based on user feedback.

- Matcap images are 512x512 pixels, so each image takes 1 Mb memory. Unused matcaps get 
  freed immediately. The Matcap icon previews (128x128 pixels) stay in memory.

- Loading own matcap image files will be added later. That needs design and code work 
  to get it stable and memory-friendly.

- The GLSL code uses the ID PreviewImage for matcaps. I tested it using the existing
  Material previews, which has its limits... especially for textured previews the
  normal-mapped matcap won't look good.
2013-01-22 11:18:41 +00:00
Joshua Leung
2e18f7ff93 Updating icons to 2.5.08 (see [#33448])
Thanks Wolter van der Velde for adding the (most of) the missing Force Field
icons
2013-01-21 11:25:04 +00:00
Campbell Barton
c87fed669b correct 2 issues with startup.blend
- scroll bars were not in info space
- bake bias was 0.0, changed to 0.001 as it is for new scenes
2013-01-06 15:59:14 +00:00
Nicholas Bishop
fc442dbd51 Add DNA/RNA/BKE infrastructure for dynamic-topology sculpt mode
* Add a detail_size field to the Sculpt struct, two new sculpt flags,
  and a Mesh flag for dynamic-topology mode; that's it for file-level
  changes needed by dynamic topology

* Add RNA for the new DNA field and flags

* Add a new icon for dynamic-topology created by Julio Iglesias. TODO:
  update the icon for the new SVG icon format

* Add a SculptSession function for converting from BMesh to Mesh,
  handles reordering mesh elements and setting face shading
2012-12-30 18:27:33 +00:00
Ton Roosendaal
80bcc20835 Updated icon svg and bitmaps. Now has the movieclip editor again :) 2012-12-20 12:56:46 +00:00
Bastien Montagne
be67de7cab More tweaks to WeighVG icon 2012-12-19 16:48:06 +00:00
Campbell Barton
17c5c9935c icon update [#33448] Adding Vector Sources for Icons
from:	Blender ICONS - v.2.5.08 (GPL).svg

also updated the shell script.
2012-12-19 14:57:01 +00:00
Ton Roosendaal
8168fba972 Icons now draw good again!
- Exported via Inkscape a 16 and 32 pixel bitmap version
- Use these as mipmap levels for OpenGL texture drawing.
- Changed code to get right sizes for drawing icons - better than last week's method.

Todo:

- Custom icons don't work yet (old one)
- Missing icons in the svg
- The .sh script for inkscape needs changed to support this
  (now do manual saving)
2012-12-18 19:35:54 +00:00
Ton Roosendaal
3c2b5e7fc0 Blender icons now are in the 21st century too!
Default size for bitmap now is 32x32 pixels. Code change for higher densities is easy,
all under review. Let's first check this!
2012-12-18 15:10:54 +00:00
Bastien Montagne
9064f0cb51 Adding Amharic (i.e. ethiopic) glyphs. 2012-12-18 09:03:21 +00:00
Bastien Montagne
c1976dfd28 Added WeightVG modifier icon to svg file (and tried enhance it slightly). 2012-12-18 08:50:22 +00:00
Campbell Barton
dd582e0308 set compositor background scale to 1.0 2012-12-16 09:41:39 +00:00
Campbell Barton
16003d2738 commands to convert svg-to-png as shell scripts (just for convenience), and center prvicons.svg so the resulting image is sized properly. 2012-12-14 15:17:53 +00:00
Joshua Leung
455693a6ea SVG Icons: Frame Next/Prev (used for Motion Tracker controls) 2012-12-14 01:52:08 +00:00
Joshua Leung
31ee55ef23 SVG Icons: Back to screen icon 2012-12-14 01:40:09 +00:00
Joshua Leung
370c0ce09f SVG Icons - Ported over some of the animation related icons
* Made SVG versions of the NLA solo (star) icons. These are much nicer than the hack 'n slash bitmap versions, but could still do with some polish. The svg is too heavy to do fine tweaks here.

* Ported over the mute/graph-visible icons
* Recreated Drivers icon

* Moved Blender icon from AD1/DA1 to AD16/DA16, as per the trunk icon sheet
2012-12-14 01:34:11 +00:00
Campbell Barton
60800669d5 patch [#33448] Adding Vector Sources for Icons
add additional icons to the svg.
2012-12-13 23:18:38 +00:00
Campbell Barton
b120e649f2 remove unrelated text 2012-12-13 12:52:12 +00:00
Campbell Barton
97bea740f8 svg source files from jendrzych, v. 2.5.06
split SVG in two to match the PNG's.

Original URL: http://pixel-sized.blogspot.nl/2012/05/two-years-of-absence-here.html#more
2012-12-13 11:54:39 +00:00
Brecht Van Lommel
cb2ad513bb Splash template XCF file for Gimp. 2012-12-11 08:01:05 +00:00
Brecht Van Lommel
cc551ed218 Splash screen for 2.65, created by Jordan Schur. 2012-12-10 14:01:08 +00:00
Campbell Barton
4f3fdb8d5a R/G/B icons in node space backgroud channel selector all had same color wheel icon which didnt make much sense. 2012-12-03 13:01:07 +00:00
Campbell Barton
25b7d35484 fix/workaround [#33309] small + in few windows
text/image/compo were missing '+', toggling adds them.
2012-11-28 09:10:27 +00:00
Campbell Barton
24c94eb61c changes to startup.blend
- Set render tile size to 64x64 pixels
- Set default lamp area size to 0.1 (see commit 52012)
2012-11-21 08:59:25 +00:00
Antony Riakiotakis
347b257131 Custom icon for triangulate modifier. 2012-11-19 23:35:38 +00:00
Andrea Weikert
ecda79a8b8 == file browser ==
[#33080] Backup icons - further integration
Contributed by Georg Kronthaler, many thanks!

* enables display of correct file icon on splash screen and in Open Recent menu
* exposes filter_backup in the python api
* enables setting BLENDERFILE_BACKUP as active filter in file browser from wm_operators.c (and from .blend in case this setting will be saved in the future)
* adds a comment to slightly misleading function name file_is_blend_backup()
* Updates icon for backup files to be more consistent with icon for .blend files
2012-11-06 20:29:14 +00:00
Andrea Weikert
8a6797d6a9 == file browser ==
PATCH: [#32989] Activate backup files filter in File Browser
Contributed by Georg Kronthaler, many thanks!
(I just moved the icon to a different place reserved for file browser icons)

* enables the filtering of backup files in the file browser
* adds a 'filter backup files'-icon to the filter buttons
* adds new icons for backup files in list and thumbnail view
* enables file preview for the backup files
2012-10-27 18:31:52 +00:00
Campbell Barton
eab6d5bf72 made mistake of saving last startup.blend on my second monitor, looks like this stores absolute position and messes up using '-p' argument.
also add file menu to '3D View Full', since we had quite a few complaints there was no obvious way to get back out of the screen.
2012-10-24 15:38:38 +00:00
Campbell Barton
69f0a3164b - enable GPU mipmap generation by default (Sergey and I wanted to change this before but it was too close to release).
- set opengl-solid display for the sequencer preview.
2012-10-24 03:35:43 +00:00
Daniel Genrich
cb634b9100 Google Summer of Code project: "Smoke Simulator Improvements & Fire".
Documentation & Test blend files:
------------------
http://wiki.blender.org/index.php/User:MiikaH/GSoC-2012-Smoke-Simulator-Improvements

Credits:
------------------
Miika Hamalainen (MiikaH): Student / Main programmer

Daniel Genrich (Genscher): Mentor / Programmer of merged patches from Smoke2 branch
Google: For Google Summer of Code 2012
2012-10-10 13:18:07 +00:00
Campbell Barton
ea3db4a71a resize info header (was too much white space) 2012-10-08 10:50:18 +00:00
Sergey Sharybin
29898418c8 Artifacts on splash are resolved. 2012-10-03 14:16:07 +00:00
Brecht Van Lommel
9b34237c09 Fix for last color management commit, wrongly assumed aces_to_rec709.spimtx was in svn. 2012-09-25 15:24:06 +00:00
Brecht Van Lommel
ed47d89d7f Color management: change reference space from Linear ACES to Linear. This will
have no effect on the end result, because it is only an intermediate space and
scene_linear was already set to Linear. It does avoid some unnecessary matrix
transforms which should be a bit faster, and it makes it more clear what's
happening.
2012-09-25 12:43:50 +00:00
Sergey Sharybin
0b155618a4 Color Management: wrong register was used for color space for None display 2012-09-25 09:03:11 +00:00
Sergey Sharybin
765865c3b1 Update startup.blend to store proper default theme
(there were several differences on color theme stored in startup.blend
and colors after restoring them by Reset to Default Theme button).

Should be no other changes.
2012-09-24 17:57:14 +00:00
Campbell Barton
ade0541b78 remove mask layer from default cube 2012-09-21 07:21:35 +00:00
Sergey Sharybin
b93da9b01e Color Management, Stage 1: Initial OpenColorIO library integration
This commit integrates support of OpenColorIO library into build systems.

It also contains C-API for OpenColorIO library which could be used by Blender.

CMake has got find rules familiar to OpenImageIO's one which makes it easier
for build system to find needed libraries and includes. Scons only could use
explicitly defined paths to libraries and includes.

C-API would be compiled and Blender would be linked against C-API and OpenColorIO
but it wouldn't affect on Blender behavior at all.

OpenColorIO could be disabled by setting up WITH_OCIO to Off in CMake and
setting WITH_BF_OCIO in Scons.
2012-09-15 10:03:17 +00:00
Bastien Montagne
d6a68ea850 New i18n font file for Blender, now including Hebrew charset! 2012-09-07 17:59:45 +00:00
Sergey Sharybin
a39329be5c Fix #32313: freetype fails to load PFB builtin font
File was incorrectly generated form C data.
2012-08-12 10:03:33 +00:00
Campbell Barton
f2d06dc257 default player was still set to 2.4x, default to internal (thought this was changed in previous commit). 2012-08-11 18:58:30 +00:00
Campbell Barton
ce1c516d2a rename full viewport and disable manipulator 2012-08-11 18:54:45 +00:00
Campbell Barton
b97fc46abc remove all remaining data files from source, now all are converted at build time.
note: this is currently very slow in cmake, will address this next.
2012-08-11 15:24:31 +00:00
Campbell Barton
90f443bb86 generate brush icons C files at build time. 2012-08-11 14:40:09 +00:00
Campbell Barton
5f341a846b startup.blend and preview.blend are now converted to C at build time.
made some changes to startup.c
- change default player to internal since its working now.
- added new screen for full screen 3d viewport (nice for demo's and navigating)
- disable cursor depth option (was enabled by default because of re-used flag)
2012-08-11 12:26:43 +00:00
Campbell Barton
7a760b4804 generate COM_OpenCLKernels.cl.h automatically at build time, this allows editing COM_OpenCLKernels.cl and rebuilding and means we dont have to have both files in svn.
updates made to cmake and scons.
2012-08-09 19:59:36 +00:00
Campbell Barton
98e6912480 style cleanup 2012-06-19 22:17:19 +00:00
Jeroen Bakker
de7fe937ff * Added OpenCL kernel for bokeh blur
* Uncomment COM_OPENCL_ENABLED from COM_defines.h to test
2012-06-08 09:17:07 +00:00
Nicholas Bishop
d9ce31104f Add skin modifier icon created by Julio Iglesias.
Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
2012-05-22 15:19:13 +00:00
Nicholas Bishop
450bb3afcb Add new mask-brush icon from Julio Iglesias. 2012-05-10 20:35:12 +00:00