Commit Graph

1930 Commits

Author SHA1 Message Date
Matt Ebb
a81b458dbd * Volume Rendering
Finally in 2.5 branch :)

Still things to do, but will continue working in here. I won't bother
repeating the commit messages from the last year or so, however I've 
written up some technical docs to help Ton/Brecht/etc review and find 
their way around the code:
http://wiki.blender.org/index.php/User:Broken/VolumeRenderingDev

That above page has some known issues and todos listed, but I'm still 
interested in bug reports.

Credits for this code:
* Matt Ebb 
(with thanks to Red Cartel/ProMotion Studios)
* Raul Fernandez Hernandez (Farsthary) for patches:
  o Light cache based multiple scattering approximation
  o Initial voxeldata texture code
  o Depth Cutoff threshold 
* Andre Susano Pinto for BVH range lookup addition
* Trilinear interpolation adapted from pbrt
* Tricubic interpolation from libtricubic
2009-08-25 06:30:09 +00:00
Matt Ebb
ea97a37383 svn merge -r 22628:22753 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender 2009-08-25 01:37:08 +00:00
William Reynish
8ed64f7854 Tiny tweaks to Display panel in image editor 2009-08-24 23:27:07 +00:00
Guillermo S. Romero
9dff2ad3d0 SVN maintenance. 2009-08-24 23:09:35 +00:00
Campbell Barton
819a0d2f77 EDL importer for the sequencer.
supports...
- audio and video edits
- fades, wipes, speed changes (video only)
- importing from multiple reels

example import from final cut pro.
http://www.graphicall.org/ftp/ideasman42/edl_in_blender_px.png
http://www.graphicall.org/ftp/ideasman42/edl_import_ui.png
2009-08-24 11:34:48 +00:00
William Reynish
ac44d73acd Made menu text more consistent, using '...' when a menu item spawns a popup or confirmation, and removing redundant starting words in submenus.
Also added notifiers for user prefs, and tweaked wave modifier layout.
2009-08-24 00:01:09 +00:00
William Reynish
3eed35ada1 Adjusted spacing of header items.
Made toggle buttons less wide, with less extra space around them
Made number widgets wider to allow larger numbers, such as the current frame field in the timeline.
2009-08-23 22:22:58 +00:00
Thomas Dinges
53f66e5c88 2.5 3DView:
Patch by Lorenzo Pierfederici (lento). Many thanks! 

* Ported some more menus to python (Pose, Particle...)
* Some cleanup and reorganization in the python file to reduce code. :)
* Cleanup of old C buttons code.
2009-08-23 22:13:56 +00:00
Campbell Barton
bb4f5801d1 revert previous change, povray rendering works again, somehow I managed to render with previous changes
(probably failed to reload the module and was using the register un-modified version)
2009-08-23 18:20:31 +00:00
Joshua Leung
19b81733cc 2.5 - Custom Shape and Bone Groups can be viewed/set on Bones again. 2009-08-23 12:53:55 +00:00
Campbell Barton
834f509c5a missed this in last commit. 2009-08-23 12:50:08 +00:00
Matt Ebb
f5711909a6 svn merge -r 22628:22714 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender 2009-08-23 03:33:33 +00:00
Matt Ebb
46aac7b4fc * Volume rendering - z transparency
This solves one of the last remaining hurdles for 
volume rendering. Previously it always used ray 
tracing to shade other objects inside or behind the 
volume. This meant that said objects would look 
aliased, unless you used Full OSA on the volume 
(which is slow!). As well as this, it meant that you didn't 
get a good alpha channel out of the volume to use for 
compositing, similar to ray refracting materials.

This commit enables z transparency for volume 
materials. Although it can be potentially less 
physically correct, in most situations there's no 
difference, and you get the benefit of nice sampling for 
other objects and an alpha channel for compositing too.
2009-08-23 02:54:30 +00:00
Campbell Barton
7a0e545c64 use class __props__ for povray settings. 2009-08-22 17:50:10 +00:00
William Reynish
580d383364 Moved mesh display options to the 3D view n-key area, next to other display options.
The DNA/RNA for these options should be changed to reflect this.
2009-08-22 11:51:26 +00:00
William Reynish
2aa2512a43 Tiny User Prefs tweaks. Also put the Save As Default button in header so it stays put. 2009-08-22 09:21:08 +00:00
Campbell Barton
fe0dfc2315 use '' for enums rather then "" 2009-08-22 08:48:01 +00:00
Campbell Barton
b20f4e46c6 remove -Wnested-externs warning for CMake/unix, since this is used a lot, if we want to remove it can be re-enabled.
fix view3d python errors with no object/edit object.
2009-08-22 05:46:03 +00:00
Nicholas Bishop
0be1e72dca 2.5/Vertex paint:
* Added operator for filling vertex colors with the brush color
* Pythonized the vertex paint menu
2009-08-22 02:27:37 +00:00
William Reynish
fc5df351b3 Material buttons tweaks
-Made Mirror and Transparency panels more consistent.
-Improved greying out, and better communicated the fact that alpha settings do work even if Ztransp/Ray Transp are not enabled. The results of low alpha and no Ztransp/Ray Transp look weird though - is this supposed to be supported?
-Added Flare panel for halo.
-Improved SSS panel.
2009-08-21 17:53:27 +00:00
Brecht Van Lommel
f2e7ca0de3 2.5: Load UI is now an operator property, and a user preference to
define what the default is, just like file compression for saving.
2009-08-21 14:33:53 +00:00
Brecht Van Lommel
1c614f6cf6 2.5: layout.itemO now returns OperatorProperties to be filled in,
when passing properties=True as argument.

Other changes:
* uiItemR, uiItemFullR, uiItemFullO now accept a flag argument rather
  than multiple different "boolean" arguments, but still exposed as
  booleans to python.
* Fix RNA to support setting PROP_RNAPTR for return values.
2009-08-21 12:57:47 +00:00
Thomas Dinges
27797a45ee 2.5:
* Deleted Help scripts, there are now operators in space_info.py. 

* Some code cleanup.
2009-08-21 11:52:20 +00:00
Joshua Leung
df61b5f9fd 2.5 - 2 Bugfixes
* Alt-S in Object Mode would crash. Was caused by modal-keymaps for Pose Mode not being cleared when not in Pose Mode. 
Also fixed what appears to have been a copy+paste error for Armature Sketching keymaps.

* Active KeyingSet menu in TimeLine header is now properly editable. Was using the wrong type of layout call to do this.
2009-08-21 11:04:33 +00:00
Joshua Leung
9125fe55fb Hook Modifier - Bone Targets
Made Hook Modifier be able to use bone targets. However, I haven't been able to verify that everything will work perfectly, since just creating a new Hook Modifier and assigning targets doesn't set hmd->indexar correctly.
2009-08-21 10:47:27 +00:00
Campbell Barton
46fb2d37e3 have texture paint use the curve rather then the falloff setting (falloff gave ugly center area of 100% opacity) 2009-08-21 07:19:06 +00:00
Nicholas Bishop
589ea76833 2.5/Paint:
* Updated texture paint UI for stroke settings.
* Removed duplicate brush blend types, just use the ones defined in imbuf instead
2009-08-21 06:23:38 +00:00
Brecht Van Lommel
1be67b60fd 2.5: Modifiers & Menus
* Popup menus now remember the last clicked item again.
* Modifier and File Format menus are now organized in multiple
  columns with categories.
* Hook, explode, uv project modifiers have all their buttons
  again with the relevant operators implemented.
* Modifiers that can't be added by the user, or don't work on
  curves for example, are not in the menu anymore.
* Fix search menu overlapping buttons when near the bottom of
  the screen.
* Fix uv layers search menu not working in some modifiers.
* Cleanup popup menu code a bit, layout engine is used in more
  cases now instead of ugly position calculation code.
2009-08-21 02:51:56 +00:00
Nicholas Bishop
2881393fbb 2.5 Paint:
* Added airbrush and airbrush rate options to paint stroke. Works for sculpt, vertex paint, and weight paint.
2009-08-21 00:46:36 +00:00
William Reynish
ff27281f2e changed layout of PovRay radiosity panel to be more consistent with other render panels 2009-08-20 15:58:28 +00:00
Nicholas Bishop
a54af8e3ba 2.5 weight paint:
* Refactored weight paint to use the new stroke code, now does smooth stroke and stroke spacing.

Note: weight paint is failing to free it's MocNodes in 2.5, someone might want to look into that
2009-08-20 15:25:12 +00:00
Matt Ebb
8df1d6d13a * cleaning and simplification 2009-08-20 13:45:04 +00:00
William Reynish
1e0bd07522 Swapped some icons in the node editor. The Render Layers menu was using wrong icon, for example. 2009-08-20 11:38:09 +00:00
Nicholas Bishop
7dfc1317ac 2.5/Paint:
* Converted vertex paint to use the new stroke system. Now supports the same smooth stroke and stroke spacing as sculpt mode.
* Refactored the paint cursor a bit, just sculpt for now but other modes soon.
* A couple warning fixes
2009-08-20 05:13:07 +00:00
Daniel Genrich
286c2ca80b Smoke:
* cache for low res (deactivating high res for now)
* new way of view3d rendering of smoke (no longer 3 axes) -using 3dtexture now (introduced into gpu/intern)
* introducing LZO and LZMA libs into extern (makefiles missing for now)
* reducing memory usage after simulating for the frame ended (freeing temporary buffers)
* splitting smoke into 2 modifier for the cache-sake (it cannot handle more than 1 cache on the same modifier-index)
* no color on gui anymore
* fixing non-power-of-2 resolutions (hopefully)
* fixing select-deselect of domain drawing bug
* fixing drawobject.c coding style (making Ton happy) ;-)

HINT #1: If scons doesn't work -> cmakefiles are up-to-date, couldn't test scons (but i tried to mantain them, too)

CODERS HINT #1: we really need a way to disable adding all modifiers through "Add Modifiers" dropdown!

WARNING #1: before applying this commit, deactivate your SMOKE DOMAIN in your old files and save them then. You can open them then savely after that.

WARNING #2: File and cache format of smoke can be changed, this is not final!
2009-08-20 00:33:59 +00:00
Brecht Van Lommel
aace6ef551 2.5: Restored statistics in the info header.
Implementation:
* NC_SCENE or NC_OBJECT cause scene->stats to be cleared.
* NC_INFO is sent to tag info headers for redraw.
* In UI scene.statistics() creates scene->stats if it is
  NULLd, and then returns the string.
2009-08-19 12:35:40 +00:00
Matt Ebb
132277f098 svn merge -r 22450:22627 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender 2009-08-19 11:18:52 +00:00
Brecht Van Lommel
e611c4756f 2.5: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22291:22625 2009-08-19 09:35:22 +00:00
Arystanbek Dyussenov
7c786e28c4 Merge with 2.5 -r 22173:22620. 2009-08-19 09:04:49 +00:00
Campbell Barton
680f88017f updated for new transparency RNA names 2009-08-19 01:11:18 +00:00
Brecht Van Lommel
184ac26dd0 2.5: Headers
* Fix header menu spacing bug, and make it consistent for all headers.
* For consistency, always put menus first in the header, then any enums
  to switch the type of data displayed.
* Node editor header ported to python layout. Still quite a few
  operators missing to make the menus complete.
* RNA wrapped node editor, and added use_nodes property to material
  and scene.
2009-08-19 00:55:30 +00:00
Robin Allen
c9795eae45 Fixed the texture preview to work with multi-output node-based textures. 2009-08-18 19:58:27 +00:00
Brecht Van Lommel
3682624616 2.5: Game Engine
* Added Shading and Performance panels in the scene buttons,
  containing the options previously in the 2.4x game menu.
* Added show framerate/debug/physics/warnings back in game menu.
* Moved these settings from G.fileflags to scene GameData.
* Enabled Display Lists by default.
* Some other small game scene button tweaks.
2009-08-18 15:27:48 +00:00
Brecht Van Lommel
990dcd0f7f 2.5:
* Split Info and User preferences into two separate spaces.
* Renamed Buttons Window to Properties also in RNA identifiers.
2009-08-18 12:58:51 +00:00
Nicholas Bishop
ca20107edb 2.5/Sculpt:
* Added UI for rake mode
2009-08-18 01:39:49 +00:00
Nicholas Bishop
a5da26f59d 2.5/Sculpt:
* Added UI for brush stroke. Contains for now spacing and smooth stroke
* Removed Sculpt UI for airbrush -- doesn't do anything in sculpt mode
* Improved smooth stroke by using float instead of int precision, so smooth stroke is even smoother now
2009-08-18 01:19:00 +00:00
Matt Ebb
6412fe4b92 * Point density texture works again 2009-08-17 22:09:36 +00:00
Robin Allen
55b6230464 Made texture nodes accessible in the interface.
* Exposed Tex.use_nodes, Tex.nodetree, MTex.which_output in RNA
* Added node controls to texture buttons (Use Nodes and Use Output)
* Made new texture outputs have unique names by default, though unique names still aren't required.

Note: The preview window in the texture buttons only takes which_output into account when in "material" mode, and in the material half of "both" mode; the plain texture display ignores the user's output choice.

This is because ED_preview_draw draws a Tex* and not an MTex* -- still some work to do here.
2009-08-17 18:37:58 +00:00
Nicholas Bishop
21ca9a6049 2.5 paint:
* Fixed texture paint UI
2009-08-17 15:17:45 +00:00
Nicholas Bishop
b0fe88117b 2.5 Paint:
* Updated the brush selection UI to make the slots less apparent; adding and removing brushes now directly adds and removes slots.
2009-08-17 15:05:18 +00:00
Arystanbek Dyussenov
09042ce9a5 Ported X3D exporter. 2009-08-17 14:29:29 +00:00
Thomas Dinges
f1ec842cb2 2.5 Timeline:
* Added "Only selected" Option in View menu.
2009-08-17 11:45:24 +00:00
Thomas Dinges
ddd7bfc91b 2.5 3DView:
* Ported Edit Menus to python.
Many thanks to Lorenzo Pierfederici (lento) for this patch.
2009-08-17 10:13:24 +00:00
Joshua Leung
61b2ac04e3 2.5 - Keying Sets Fixes
* Properly wrapped Keying Sets in RNA. Now the timeline header shows a popup for choosing KeyingSets instead of the nasty index button.

* Fixed bugs in Outliner code for adding/removing array elements to Keying Sets. This makes it possible to add only the x and z location settings for an object for example.
2009-08-17 07:35:38 +00:00
Campbell Barton
97db057a4c paint toolbox layout grouping 2009-08-17 07:35:23 +00:00
Nicholas Bishop
73ea51eccd 2.5/Sculpt:
* Some UI fixes suggested by broken, removed specialized Add Brush menu in favor of standard ID add button, also put a separator between brush selection and brush properties.
2009-08-17 03:16:14 +00:00
Nicholas Bishop
9d2d3a8be7 2.5 Paint:
* Converted vertex paint and weight paint to use the new Paint type
2009-08-17 02:49:31 +00:00
Thomas Dinges
5f7ed83735 2.5 Timeline:
Some fixes:
* Added missing "Layered" Button.
* Jump to last keyframe operator was called incorrect.
2009-08-17 00:22:04 +00:00
Brecht Van Lommel
d35a42d3e6 2.5: Render Api
* Add RenderResult.load_from_file to load whole multilayer exr's at once.
* Removed x/y offset from RenderLayer.load_from_file, better to encourage
  using offset in begin_result() to minimize memory usage.
* Added WITH_OPENEXR in some screen/file/image module for scons/make, exr
  was not working in some places there.
2009-08-16 22:53:15 +00:00
Thomas Dinges
2cf5b52856 2.5 Timeline:
* Finally the header and menus are done via python.
* Added RNA for sync audio. 

Note: This is just a basic working version in python. It needs more work and some layout changes.
Joshua: Feel free to adjust this further :)
2009-08-16 22:01:20 +00:00
Nicholas Bishop
afa0fa5e29 2.5 Sculpt:
* Added a new Paint type in scene DNA. This is now the base struct for Sculpt.
* The Paint type contains a list of Brushes, you can add or remove these much like material and texture slots.
* Modified the UI for the new Paint type, now shows the list of brushes active for this mode
* Added a New Brush operator, shows in the UI as a list of brush tool types to add
* Made the sculpt tool property UI smaller and not expanded, expectation is that we will have a number of preset brushes that will cover the basic sculpt brush types

TODO:
* Vertex paint, weight paint, texture paint need to be converted to this system next
* Add brush presets to the default blend
2009-08-16 19:50:00 +00:00
Campbell Barton
84758d0eb2 copy the systems python to the install dir for re-distrobution (non-osx unix), removed some unused stuff in makefiles 2009-08-16 18:14:17 +00:00
Thomas Dinges
13dcf69eee 2.5 Timeline:
* Python conversion is nearly done, still uncommented.
2009-08-16 16:15:13 +00:00
William Reynish
0e06b0bdf1 tweaked units layout 2009-08-16 15:45:27 +00:00
Thomas Dinges
406d009269 2.5:
* Removed some more old sculpt layout code.

* Fixed Channel hack in sequencer. This is now fixed in layout engine.
2009-08-16 14:38:59 +00:00
Thomas Dinges
e3b2cdc8ea 2.5 3DView Header:
* Sculpt Menu is now written in python.
* Select Menus are only for Object, Edit and Particle Mode, added code to check on that, fixed Console warnings.

* Fixed a typo in armature buttons, reported in IRC by "ebrain".
2009-08-16 12:52:57 +00:00
William Reynish
2cc64a95b5 Minor adjustments to particle buttons and particle brush panels. Use only two rows in lists, and added greying out. 2009-08-16 11:25:18 +00:00
William Reynish
1b2ebfcb61 Minor adjustments to game physics. Moved some of the name changes into RNA and moved some options around for nicer alignment. 2009-08-16 09:47:33 +00:00
Matt Ebb
fe984a6e6c volume material
* data reorganisation - uses own values now instead of reusing surface material properties (i.e. an individual density value, rather than reusing alpha) Files saved with the old system won't load up the same after this.

* improved defaults and ui
2009-08-16 06:10:31 +00:00
Campbell Barton
573678df48 - replace rna context.mode_string with an enum context.mode, that way its self documenting and is used as a string from py anyway.
- view3d use select menus use the context.mode enum value.

- if selectmenu in dir(bpy.types) # creates a list of 1400+ strings, does a lookup and throws them away, better avoid this for redrawing.
2009-08-16 03:40:00 +00:00
Thomas Dinges
9bd5b486fb 2.5 3DView Header:
* "Object" Menu is now written in python.
2009-08-15 22:28:48 +00:00
Thomas Dinges
2b3d2b72ea 2.5 3DView:
* Renaming of edit mode context types. 
* Code cleanup.
2009-08-15 20:21:49 +00:00
Thomas Dinges
0ce5163cc0 2.5 3D_View:
Patch [#19031] (2.5) python menus for the view3d header
by Lorenzo Pierfederici (lento). Thanks!

* Added CTX_data_mode_string() to find out in which mode we're in.
* Added some "select" menus as a test.

This patch makes it basically possible to wrap the 3D View menus to python.
2009-08-15 19:40:09 +00:00
Brecht Van Lommel
3da40611d9 2.5: Material buttons
* Transparency is now it's own panel, with a boolean toggle
  + enum for z/ray transparency (following mockup made by
  William). Also had to change DNA flags for this.
* Disabled radiosity a bit more in render engine, it still had
  some effects like auto autosmooth.
* Make some sliders in material buttons percentages in RNA.
* Some other small tweaks in layout and naming.
2009-08-15 19:35:03 +00:00
Campbell Barton
f27bee3d21 had support for single triangular brush commented when it works ok.
thanks to j michaelson for pointing out.
2009-08-15 19:28:28 +00:00
Brecht Van Lommel
9059639df4 2.5: Screen/Scene New/Delete operators.
Implementation Note:
* Moved the scene copy/unlink code back into blenkernel, with
  the exception of the copy single user stuff which is still in
  object_edit.c.
* Uses SCREENDELETE notifier like SCREENBROWSE, seems only clean
  way to do this now.
2009-08-15 16:43:03 +00:00
Thomas Dinges
efc4624e8a 2.5 Physic Buttons:
Patch by nudelZ. Thanks.
* Some layout and code cleanup.
* Made Collision Panel use Modifier Layout with Add/remove Operator.
2009-08-15 14:16:50 +00:00
Thomas Dinges
9c45a27fb8 2.5 Sequencer:
* Added Marker Operator Buttons in Menu, although they don't show up inside the Sequencer yet.

* Code Cleanup.
2009-08-15 13:06:21 +00:00
Matt Ebb
34dc95f7ee svn merge -r 22423:22450 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender 2009-08-15 07:40:22 +00:00
Nicholas Bishop
c6e041f125 2.5/Paint modes:
* Moved brush curve preset operator out of sculpt to paint_utils
* Added a button to the curve panel to set the preset
2009-08-14 04:45:29 +00:00
Thomas Dinges
ec00cec3e8 2.5 Timeline:
* Added some menus and buttons. Still uncommented.
2009-08-13 22:10:50 +00:00
Nicholas Bishop
972224b9e1 2.5/Sculpt:
* Moved the brush texture settings to MTex/TextureSlot. The mapping settings now show up in the texture panel, pretty much like they do for textures used with materials.

TODO:
* Tiled mode should not show Z size setting
* Add a locked mode so that texture size can be changed uniformly like in 2.4x
2009-08-13 20:05:36 +00:00
Thomas Dinges
e8d9e0823e 2.5 Timeline:
WIP Commit, still uncommented.
* Adeed some RNA properties for Playback.
* Start of Python File.
2009-08-13 16:59:52 +00:00
Daniel Genrich
94d359c9bc Some changes to smoke ui (path by nudelZ) - this divides the panel in normal and advanced options 2009-08-13 14:27:35 +00:00
Arystanbek Dyussenov
44ddff5c51 - 3ds importer working (without the "scale to size" option)
- changing object.matrix now updates object.loc/rot/scale
- added bpy.data.add_lamp()
2009-08-13 11:14:06 +00:00
William Reynish
5a3bd23e8e Accidentally made the game collision bounds panel display itself when Blender Render was selected as the renderer. 2009-08-13 09:30:36 +00:00
Campbell Barton
d916c25616 - moved unit settings from user prefs into the scene.
- use the scene context for the unit settings since there isn't a better place for it currently.
- added 'chain' to imperial units
- set more rna props to be distances and angles.
2009-08-13 07:37:41 +00:00
Matt Ebb
5a21bc578c * First commit merging 2.4-based sim_physics in to volume25 branch.
Integration is still very rough around the edges and WIP, but it works, and can render smoke (using new Smoke format in Voxel Data texture) --> http://vimeo.com/6030983

More to come, but this makes things much easier to work on for me :)
2009-08-13 05:21:25 +00:00
William Reynish
44ca632ce7 Added game soft body settings, and cleaned up layout there slightly.
Also converted some other percentage properties to use sliders, and a few other small layout tweaks.
2009-08-12 22:16:47 +00:00
Daniel Genrich
fb7c9d5a0d Smoke:
* New feature: "Dissolve Smoke" - Idea by nudelZ
2009-08-12 17:32:02 +00:00
Arystanbek Dyussenov
6a056e4717 - converted 3ds exporter to 2.5 API
- added Object.is_visible() RNA function to determine if an object is on the visible layer of active scene
2009-08-12 16:37:05 +00:00
William Reynish
7ca23e0ef6 Put back sequencer type icons, and moved the type menu, separating it from the menus. 2009-08-12 14:39:57 +00:00
William Reynish
7ffbaa6631 Sequencer UI layout tweaks.
There was a mix in the layout of these panels; some were single column, some dual column. All these n-key sidebars seem to work best with single column layouts to minimize wasted space, so made all the panels fit that paradigm.

Also included a bunch of labels and a bit of layout cleanup.
2009-08-12 14:21:43 +00:00
Janne Karhu
b221c0e2e6 New point cache file format:
- HEADER (beginning of each file)
	* general header:
		+ 8 char: "BPHYSICS"
		+ 1 int: simulation type (same as PTCacheID->type)
	* custom header (same for sb, particles and cloth, but can be different for new dynamics)
		+ 1 int: totpoint (number of points)
		+ 1 int: data_types (bit flags for what the stored data is)
- DATA (directly after header)
	*totpoint times the data as specified in data_types flags

- simulation type
	soft body = 0, particles = 1, cloth = 2
- data types (more can be added easily when needed)
	data		flag		contains
	----------------------------------------
	index		(1<<0)		1 int	(index of current point)
	location	(1<<1)		3 float
	velocity	(1<<2)		3 float
	rotation	(1<<3)		4 float	(quaternion)
	avelocity 	(1<<4)		3 float	(used for particles)
	xconst		(1<<4)		3 float	(used for cloth)
	size		(1<<5)		1 float
	times		(1<<6)		3 float (birth, die & lifetime of particle)
	boids		(1<<7)		1 BoidData
	
Notes:
- Every frame is not nescessary since data is interpolated for the inbetween frames.
- For now every point is needed for every cached frame, the "index" data type is reserved for future usage.
- For loading external particle caches only "location" data is necessary, other needed values are determined from the given data.
- Non-dynamic data should be written into an info file if external usage is desired.
	* Info file is named as normal cache files, but with frame number 0;
	* "Non-dynamic" means data such as particle times.
	* Written automatically when baking to disk so basically a library of particle simulations should be possible.
- Old disk cache format is supported for reading, so pre 2.5 files shouldn't break. However old style memory cache (added during 2.5 development) is not supported. To keep memory cached simulations convert the cache to disk cache before svn update and save the blend.
- External sb and cloth caches should be perfectly possible, but due to lack of testing these are not yet enabled in ui.
	
Other changes:
- Multiple point caches per dynamics system.
	* In the future these will hopefully be nla editable etc, but for now things are simple and the current (selected) point cache is used.
	* Changing the amount of cached points (for example particle count) is allowed, but might not give correct results if multiple caches are present.
- Generalization of point cache baking etc operator & rna code.
- Comb brushing particle hair didn't work smoothly.
2009-08-12 09:54:29 +00:00
Campbell Barton
23e0571853 added time units, currently only used when metric or imperial are enabled.
long/short units...
day,d,  hour,hr,h,  minute,min,m, second,sec,s,  millisecond,ms,  microsecond,us

Also may fix some bugs that were reported.

Note, to convert fps to time evil_C needs to be used to get the scene.
2009-08-12 05:20:16 +00:00
Campbell Barton
b2a77852ff user interface units, off by default.
- currently only distances work.
- user preferences, edit section to set the units and scale.
- option to display pairs (nicer for imperial display?)
- support for evaluating multiple comma separated values eg: 2',11" ..or.. 5ft, 4mil
- comma separated expressions/values accumulate 1+1,2**3,4cm/3
- attempted fast conversion from a value to a string so button drawing isn't too slow.

* imperial long/short *
- mile, mi
- yard, yd
- foot, '
- inch, "
- thou, mil

* metric long/short *
kilometer, km
meter, m
centimeter, cm
millimeter, mm
micrometer, um
nanometer, nm
picometer, pm
2009-08-11 18:53:01 +00:00
Thomas Dinges
cf23d1948f 2.5: User Preferences:
* Code cleanup. Note: This file doesn't follow the UI code guidelines due to some more complex layout structure. 
Will think about this special case.

* Added new Sound Options into the System settings.
2009-08-11 18:19:09 +00:00
Brecht Van Lommel
8dd523a154 2.5: Fixes
* Disable shaded mode for now, it cause too many crashes combined
  with preview render, will be fixed properly later.
* Make 3d view toolbar region a bit wider. Ideally this would not
  be needed, but the sculpt/paint buttons just don't fit otherwise.
* Revert change to icon/text spacing in buttons, it breaks text
  editing and clipping. Will properly fix this later so changing
  the spacing can be done centrally.
* Fix for grease pencil simplify stroke python error. Now button
  is hidden (as in 2.4), but still available through outliner.
* Fix for memory leak in UI code, when using ctrl+Q menu.
* Fix submenu > icon being drawn on some buttons where it was not
  needed.
2009-08-10 20:57:12 +00:00
Joerg Mueller
a27cc1adf0 2.5 audio cleanup:
* Removed CD Actuator
* Removed bSample and bSoundListener
* Removed SoundSystem
* Removed -noaudio parameter
2009-08-10 15:39:11 +00:00
Arystanbek Dyussenov
675936b42c - ran 2to3 on export_3ds.py, import_3ds.py and export_x3d.py
- added operators and menu items for ^
2009-08-10 13:49:55 +00:00
William Reynish
90e2ffd538 IK constraint and armature modifier layout tweaks 2009-08-10 12:17:12 +00:00
Campbell Barton
6c951fbb98 adding back button evaluation so you can do 1/60, 90*0.1 etc as well as dimension conversion 1km-10cm+4ft
Note...
- Python3.1 you don't need to add the .0 for divisions anymore (was esp annoying for button eval)
- Simple dimension input, imperial mi/yd/ft/in, metric km/m/cm/mm,  Later could display these values and have a pref for scene scale, atm it assumes 1BU == 1m.
2009-08-10 11:58:53 +00:00
Campbell Barton
7440fee85c remove python2.x support 2009-08-10 00:07:34 +00:00
Nicholas Bishop
c1ca2ab5dc Sculpt/2.5:
* Added toolbar UI for setting "anchored" mode
* Added a "persistent" mode for the layer brush; basically you can keep sculpting on the same layer between strokes when this is on. There's a button to reset the base so you can add another layer on top of that, and so on.
This feature was suggested by Blenderer on BA, thanks!

Note, I think these options could use better names in the UI, but I couldn't really think of anything very descriptive, suggestions welcome
2009-08-09 17:21:40 +00:00
Daniel Genrich
07bd579fc1 Smoke: little fix to ui 2009-08-09 12:50:39 +00:00
Campbell Barton
d53e82cbca povray integration
- declare materials and reference them later
- support ray-transp filter setting
- blobs pigment wasn't working right
2009-08-09 07:09:32 +00:00
Daniel Genrich
d48ca69985 Smoke: decoupling of wavelet #2, new noise strength option on gui, fftw3 option in place for cmake, scons yet uncommited 2009-08-09 01:30:32 +00:00
Thomas Dinges
c4c0753dcc 2.5 Button Files:
* Cleanup of smoke and texture files to match guidelines. 
* Made "Curve" Panel in Toolbar Closed per default.
2009-08-08 17:21:34 +00:00
William Reynish
e213d4078b Improved layout of voronoi texture. There was some strange empty space. 2009-08-08 14:17:55 +00:00
Arystanbek Dyussenov
d1f22f6ce3 Copied 3DS, X3D scripts to release/io naming them after [import|export]_[format].py scheme. 2009-08-08 11:44:56 +00:00
Arystanbek Dyussenov
8fa528cef8 Added Object.find_armature() to find armature connected to object. Previously this was BPyObject.getObjectArmature() 2009-08-08 11:33:34 +00:00
Thomas Dinges
039d4d427b 2.5 3D View Toolbar:
Brush Panel:
* Separated the code for different modes, easier to maintain.
* Only settings which are used in the current paint mode are shown now.
2009-08-07 19:16:59 +00:00
William Reynish
0ce86b0a76 Added material game physics options in RNA and layout.
Thanks to the new render API system these options don't clutter up the layout when you're not doing games.
2009-08-07 19:14:49 +00:00
Thomas Dinges
1311b2f78b 2.5: 3D View Toolbar:
* Added some greying out and hiding for disabled/non available settings.
* Some layout tweaks.
* Added "Flip Direction" for Sculpt, this is the "Add, Sub" Option from 2.49, this time as a boolean. Off = Add, On, Sub.
2009-08-07 09:45:48 +00:00
Campbell Barton
bc093b4cc4 svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22205:22290 2009-08-07 04:41:15 +00:00
Dalai Felinto
77d79ffb5d BGE: removing remaining reference to sce->world->gravity/physics/... (it's all in sce->gm now) + Dome UI changes
UI changes: splitting dome options for different dome modes (eg angle doesn't work for envmap mode)
if anyone wants to tweak that, feel free to do it.

* I put a remaining to bring setEyeSeparation + Focal Length to the Stereo GUI. I'm still not sure what would be the default parameters for that, and that will require other changes (eg remove the flag m_setfocallength and m_seteyesep). For so far only a label remind :)
2009-08-07 03:06:32 +00:00
Campbell Barton
917fce65a6 Povray
* Sun lamp type export (known as parallel lights in povray)
* Native support for blenders metaballs, currently exports
 - ball and ellipsoid types
 - radius, stiffness
 - ellipsoid xyz scale
 - negative elements
 - single material (like blender)

Renamed rna props.
 elem.sizex -> size_x
 mball.last_selected_element ->  mball.active_element

minor changes to UI scripts.
2009-08-07 01:05:33 +00:00
Thomas Dinges
0ac90cabe1 2.5 Mesh Draw Options: [WIP]
* Added RNA for Mesh Draw Options.
* Added "Draw" Options into the Mesh Data Tab, needs check for Edit Mode.

* Fixed a typo in DNA.
2009-08-06 23:34:14 +00:00
Campbell Barton
042fe910aa - fix for a crash in readfile.c, thanks Roelf for finding.
- add media option for povray
- remove unintentional line from modifier script
2009-08-06 23:19:05 +00:00
Campbell Barton
a791cfc5d3 [#19206] Fix MD2 Vertex Normal Export
from Calvin Loncaric (marvinx03)

[#18965] Blender Load and Run need fully qualified specs
[#18966] getMaterials not used
from Roger Wickes (roger)
2009-08-06 22:24:14 +00:00
Thomas Dinges
e84e6664c2 -Use getattr() now for constraints too. :)
-Deleted old Buttons C code for RIGIDBODYJOINT constraint.
-"Realtime" Icon for Modifer was different in Template and RNA, i changed the Icon in RNA to match the template version, which is an eye instead of a cube.
2009-08-06 18:31:25 +00:00
Daniel Genrich
2fd0263602 smoke: decoupling high-res, introducing reset for heat+gravity, fixing another obstacle problem 2009-08-06 16:50:02 +00:00
Daniel Genrich
65cf500fdc smoke gui: refining the new simulation panel ui
(thanks to nudelZ for this patch)
2009-08-06 15:55:42 +00:00
Thomas Dinges
f10647e203 2.5 Smoke:
Moved the Smoke Buttons into the Physic Tab.
2009-08-06 14:23:48 +00:00
Campbell Barton
d608d33583 output the origin for each map node.
thanks to j michaelson for the patch
2009-08-06 13:30:23 +00:00
Campbell Barton
07ed542187 pedantic changes to python UI scripts
- SOFTBODY -> SOFT_BODY
- Use getattr() with enum value to get the modifier function rather then a lot of elif's
2009-08-06 13:15:23 +00:00
Arystanbek Dyussenov
01eedc5046 - OBJ importer now reads most of the test files. Had to copy BPyMesh.ngon function to OBJ import code
- added MeshEdge.fgon property, not using it yet
- fixed in bpy_rna.c to correctly read arrays returned from RNA functions
2009-08-06 12:22:50 +00:00
Arystanbek Dyussenov
59abddc202 - added Mesh.add_material function
- tweaked OBJ importer. It reads primitive files (cube, cone, etc.)
2009-08-05 12:01:42 +00:00
Arystanbek Dyussenov
bf90970eca - OBJ exporter now copies images
- added OBJ, FBX scripts to File -> Export, File -> Import menus
2009-08-05 09:49:59 +00:00
Arystanbek Dyussenov
7586990ace - modified BKE_get_image_export_path so that it writes relative path if src file = dest file returning 2 in this case
- modified unit tests for ^ firstly
- incorporated Image.get_export_path into FBX exporter script
2009-08-05 07:59:49 +00:00
Arystanbek Dyussenov
2065c5cf60 Merge with 2.5 -r 21756:22173. 2009-08-03 14:06:47 +00:00
William Reynish
9ae77b0eff UI tweaks
-Removed shadows from most UI items. The shadow settings are unfortunately not really useful, because you can't set them for individual items. There was a lot of black text with black shadows, which really only makes the text look fuzzy. For shadows to improve clarity, they should be the opposite color of the text label, not the same color.

-Tweaked material layout, with clearer grouping in Ray Mirror and Ray Transparency panels.

-Added icons in the texture type menu to signify which textures are procedural and which ones are images, and plugins.
2009-08-03 10:54:02 +00:00
Matt Ebb
acd4b4732b * Fix makefiles once more, change tabs to spaces 2009-08-03 05:21:13 +00:00
Matt Ebb
851fac055c * unzip osx python modules on make release, too 2009-08-03 04:55:32 +00:00
Daniel Genrich
262a76812e Smoke:
a) fixing domain boundaries
b) fixing flow gui (no more velocity there - taken from particles)
c) Outflow available (deletes smoke from scene)
d) deactivating other noise options for now
e) base for render/preview settings 
f) fixing collisions to be working again
2009-08-02 23:30:44 +00:00
Matt Ebb
05a97747dc Small tweaks to scene buttons (checkboxes in the right column) 2009-08-02 21:46:35 +00:00
Janne Karhu
dc75023f6f Softbody now uses the new pointcache code.
Note: Rna access to softbody point cache is through softbody modifier although the point cache is in softbody settings. This is to make it similar to cloth.

Bugfix: Softbody rna was trying to get "ob->soft->softflag" instead of the correct "ob->softflag".
2009-08-02 19:39:33 +00:00
Thomas Dinges
08d4b96317 2.5 3DView:
* Removed redundant color picker panels from the Properties Panel.
* Deleted some old C Buttons Code. (Background Image, Weight Paint, View and the Color pickers.)
* Added missing Particle Mode Buttons into the Toolbar. They need a check if the system is editable or not. 
* Pose Mode Panels in Toolbar were not working due to wrong context. Fixed.
2009-08-02 16:44:32 +00:00
William Reynish
c5f0be6d99 Mistakingly removed check for old Python in material buttons in previous commit.
Added it back, plus some smaller layout tweaks.
2009-08-02 11:36:12 +00:00
William Reynish
41b72408a9 Added ramp input and blend settings in RNA and layouts. 2009-08-02 01:00:15 +00:00
William Reynish
2c642d1373 Further improved shape keys UI.
Made value slider stretch to the entire width of the panel, useful for added precision. 

Also used greying out when shapes are locked.
2009-08-01 17:50:51 +00:00
Joshua Leung
78bbe5c479 2.5 - Giving shapekeys UI a bit of attention
* Separated value and range sliders for the value into two separate rows. Value comes before the range settings since it's used more often, and is drawn as a slider instead.

* Tweaked ranges for the sliders so that they will work sanely.
2009-08-01 06:03:08 +00:00
William Reynish
fe850bd163 Changed texture layers list to display as a proper list. This makes the order clearer, and you can see names. The list always displays its full length though, because texture layers are pre-populated with all 18 texture layers. Would be nice if this was eventually more dynamic, resembling the way you add/remove material indices. 2009-07-31 16:19:26 +00:00
Thomas Dinges
fb52042375 2.5 Field Panels:
* Attempt to make it a bit more consistent. ;-)
2009-07-31 15:36:14 +00:00
Daniel Genrich
50ea547176 Fields UI: Several attempts to follow UI guide and other things leaded to a really confusing UI (on the left):
http://666kb.com/i/bb49zl2t6ojvk7tax.png
We tried now to connect top-down with left-right, having top-down for the big picture (like already used in textures panel).
Other fields still missing. Approved by William, another small fix ("type" in one row) suggested by DingTo (not visible in the screenshot).
2009-07-31 14:38:42 +00:00
Ton Roosendaal
65cb64665a 2.5
Check for old py in UI scripts. Temp fix that'll go when the move
to Py 3.1 is definite! :)
2009-07-31 08:07:41 +00:00
Matt Ebb
6aed229cc0 * Updated icon sheet, thanks jendryzch! 2009-07-31 02:16:07 +00:00
Campbell Barton
9561d34dbb changes to defaults for sequencer strip adding 2009-07-30 20:22:55 +00:00
William Reynish
a39192f243 Separated metaball size values, and hid inapplicable values depending on metaball type. 2009-07-30 18:32:20 +00:00
Thomas Dinges
2f79219c07 2.5 Smoke:
* Put Smoke Modifier in the right alphabetical order in RNA and py file.
* Some small naming changes.

Commit approved by Genscher. :)
2009-07-30 16:38:00 +00:00
Daniel Genrich
58c88bcf76 BF2.5: First commit of smoke code.
Not working: 
a) rendering (since volumterics branch is not merged yet)
b) moving collision objects of any kind
c) saving of collision objects (because that's what I am working on)
d) pointcache
e) A bunch of other things I already know of 

So please do not report any bugs on this one yet :-)
2009-07-30 15:00:26 +00:00
Matt Ebb
1b26fe50c3 * More lamp tweaks, meant to commit this last night 2009-07-30 13:56:39 +00:00
Matt Ebb
224ec40e45 * Some nicer icons for the render still/ animation buttons 2009-07-30 13:35:32 +00:00
Campbell Barton
ec4904a9fe Support for povray radiosity settings, adjust in scene panel. 2009-07-30 11:05:45 +00:00
Thomas Dinges
248fa8ec54 2.5 Buttons:
* Material buttons didn't import. Fixed.
* Removed Path label from Fluid panels.
2009-07-30 10:38:46 +00:00
Thomas Dinges
d56466747d 2.5 Part 3 of Layout Code Cleanup:
* More cleanup to match new coding guidelines.
http://wiki.blender.org/index.php/Dev:Py/Blender2.5/Layouts/Guidelines

* Replaced some if's with proper elif's.
* Removed some unnecessary code.
Note: Please don't use inconsistent assign names like colsub, subcol1 etc. anymore!
2009-07-30 10:11:19 +00:00
William Reynish
249c5fcddc World UI
Cleaned up AO influence controls. These buttons had no labels, and were aligned strangely. Also made mist intensity a slider, since it's a percentage.
2009-07-30 08:30:57 +00:00
Campbell Barton
ade8f5197a Engine specific panel's
- All of this is in python and easy to change.
- each panel class has a set() of compatible engines.
- this set is checked for the poll function
- external engines can add themselves to this panels compatible engines
eg.
 buttons_world.WORLD_PT_mist.COMPAT_ENGINES.add('POVRAY_RENDER')

I tried doing this by subclassing each panel and replacing only the poll function to reference 'POVRAY_RENDER' but it became fairly complicated and meant registering many of the same panels under different names.

Added mist support to povray.
2009-07-30 08:10:10 +00:00
Campbell Barton
239b78c637 - include operator commands in tooltips (needs sanitizing for transform operators, there are massive :|)
- WM_operator_pystring can now be used with an operator type and properties (rather then a wmOperator instance)
- removed menus from file selector
2009-07-29 23:12:30 +00:00
William Reynish
992382ddb3 Even more metaball layout changes.
Added icons in menu, moved type setting at top of panel. Need to make the size widgets only show the relevant options.
2009-07-29 20:56:22 +00:00
Thomas Dinges
2621dd90e3 2.5 MetaBalls:
* Layout tweaks by nudelZ. Thanks!
2009-07-29 18:44:54 +00:00
Thomas Dinges
fa7a2091f1 2.5 MetaBall Buttons:
* Code and layout cleanup.
2009-07-29 17:15:17 +00:00
Matt Ebb
198d996934 * a few more small lamp panels tweaks 2009-07-29 14:17:15 +00:00
Jiri Hnidek
9547fc48ac - Fix some things I missed in my last commit
- Change name of OBJECT_OT_object_add operator
 - Use new OBJECT_OT_object_add operator in space_info.py
2009-07-29 14:07:51 +00:00
Matt Ebb
2ee51efd6b * Reverted some superfluous button alignment. The
'Align' should not be overused, it gets quite ugly (and 
loses communication impact) when used between 
buttons of different types. Dependencies should be 
shown via layout and greying out.

These lamp panels still needs some cleaning up too...
2009-07-29 13:33:14 +00:00
Jiri Hnidek
f75005c2a8 2.5 MetaBalls
- It is possible to work with MetaBalls in edit mode now
 - Added basic UI to the button window (feel free to change it :-))
 - Header menus should work
 - Undo & redo should work
 - Removed global variable editelems and lastelem (moved it to the MetaBall struct)
 - All tools from old editmball.c was converted to the operators
 - Added lastelem to the RNA
 - Experimental: mb->editelems is only pointer at mb->elems or NULL (depends on Mode). ListBase of MetaElems is not duplicated in edit mode.

Tested with scons at Linux and mac OS X

TODO:
 - Recalc data after Undo or Redo
 - Solve issue with basic MetaBall and Python UI script (only base MetaBall object influence Wiresize and Threshold)
 - Fix orientation of manipulator in "Normal mode"
2009-07-29 12:35:09 +00:00
Campbell Barton
cacc5f782a - console remove doubles with command history
- povray file removal was uncommented
2009-07-29 00:37:37 +00:00
Campbell Barton
b073fe336c - UVs weren't exported correctly.
- check for user quit while povray is parsing the file.
- detect if povray cant parse the file and exit the render loop.
2009-07-28 19:32:46 +00:00
Brecht Van Lommel
8cf4ef091c 2.5: various one-liner fixes
* Image window only show game properties in game mode.
* Fix image window render info drawing wrong with alpha enabled.
* Win32 editmode cursor now uses a different one than the system
  cursor, that one is barely visible, especially in the new theme
  colors.
* Center text in operator header print.
* Fix sequencer unlock shortcut key.
* Fix uv layer / vertex color active render button now graying out.
* Workaround to get default zoom level 1:1 again for new buttons
  (will try to fix properly later, is due to scrollbars).
2009-07-28 18:59:36 +00:00
Brecht Van Lommel
801d44a09e 2.5: Materials and textures can now be assigned again
even if not slot for them is available.
2009-07-28 18:54:02 +00:00
Daniel Genrich
561db001cc PovrayRenderEngine: Should now work with win32 and win64 povray installations 2009-07-28 17:22:49 +00:00
Thomas Dinges
f4f3a9b08b 2.5 Lamp Buttons:
* Some layout tweaks and fixes by nudelZ.
2009-07-28 11:04:08 +00:00
Thomas Dinges
9cbdf73cf0 2.5 Part 2 of Layout Code Cleanup:
* Cleanup of Modifier and Text Data Panels. 
* Made some small layout tweaks.

* Added missing RNA properties for Cast Modifier.
2009-07-28 06:26:10 +00:00
Campbell Barton
0b3eb956c4 wrote images with the wrong extension (still ran), but is confusing. 2009-07-28 06:12:58 +00:00
Campbell Barton
37b49492a8 simple povray render integration.
Supports...
- camera/lamp/mesh object types
- meshes with modifiers applied, normals/uv/vertex colors
- materials, reflection, transparency
- spot/area/point lamps, samples, raytrace options
- scene render size, AA setting

Details...
- Doesn't need any 3rd party modules.
- Runs povray from the subprocess module, updating the image from a TARGA.
- Currently no UI panels or support for custom settings.

This could be used as an example for other scripts.
2009-07-28 05:51:38 +00:00
Thomas Dinges
e52dbadcff 2.5 Lamp Buttons:
* Layout Fix for shadow panel.
2009-07-28 05:26:01 +00:00
Campbell Barton
fe881aa7ad - lamp UI was missing y samples for rectangle area lamps
- returned ID types from RNA funcs didnt get their ID's assigned which crashed in some cases (still not working for members of ID types).
- ob.create_remder_mesh() wasnt assigning any materials.
2009-07-28 01:06:56 +00:00
Thomas Dinges
09fd0a5e48 2.5 Part 1 of Layout Code Cleanup:
* Again, some layout code cleaning. 
* Made assignments more consistent. 

I started to write code guidelines in the wiki:
http://wiki.blender.org/index.php/LayoutFiles-Code_Guidelines

Matt/William: You are welcome to change them or add new infos, I will continue on improving them as well in the next few days.
2009-07-27 20:39:10 +00:00
Campbell Barton
eb40d8ef0f render api utility function to initialize a render layer from an image rather then loading through python.
lay = result.layers[0]
	lay.rect_from_file("somefile.png", part.x, part.y)

If the source image is bigger then the render layer x/y offsets can be used to choose the part of the image use.
2009-07-27 18:50:10 +00:00
Campbell Barton
9dc819a56d readonly face normal option eg.
me.faces[0].normal
2009-07-27 18:17:21 +00:00
Andrea Weikert
cbb9dfaab8 2.5 file browser
* operator for create new directory activated (IKEY)
* operator for rename (works on files and directories so far) (CTRL+LMB)

Note: fail to rename is rather quiet, no message popup, just doesn't rename if it can't.
So far checked that (On Windows Vista) rename fails on system directories, which I think acceptable.

Note: I removed the code that (silently) deletes file if I rename file to an existing one. Considered harmful :)
2009-07-26 18:52:27 +00:00
Campbell Barton
4741137fc9 misc py/rna changes
- running a script from a file now uses the PyRun_File(FILE *, ...) rather then PyRun_String("exec(open(r'/somepath.py').read())"...), aparently FILE struct on windows could not ensured to be the same between blender and python, since we use our own python on windows now it should be ok.

- generating docs works again (operator update for py style syntax broke them)

- python operator doc strings was being overwritten

- added rna property attribute "default" to get the default value of a property, not working on arrays currently because variable length arrays are not supported.
2009-07-26 18:18:14 +00:00
Thomas Dinges
b666f55e0e 2.5 Layout files:
* Removed __idname__ from all panels. 
Note: Operator classes still need that id. Don't remove it there.
2009-07-26 16:31:48 +00:00
Joshua Leung
4e024a1e6e 2.5 - 'Reset' buttons for Limit Distance and Stretch To Constraints 2009-07-26 11:57:27 +00:00
Thomas Dinges
3e5f46ebf9 2.5 Various fixes:
* Small code and layout cleanup in 3DView Side Panels.
* Added missing redraw notifier for changing world datablock and cursor location.
2009-07-26 08:53:23 +00:00
Campbell Barton
a934773475 - console scrollback userpref
- copy coperator for the console (Ctrl+C and from the menu)
2009-07-26 04:31:46 +00:00
Campbell Barton
117fdd8072 * projection paint options in the toolbar
* renamed  __no_header__ -> __show_header__
2009-07-26 03:54:17 +00:00
Brecht Van Lommel
756488fbe2 2.5: Painting
Various fixes for painting, sculpting and particle edit, still
much to be done...

* Move RNA paint and sculpt structs into rna_sculpt_paint.c,
* Added Particle Edit RNA.
* Some tweaks to existing Paint RNA.

* Put texture paint and particle edit object in context.

* Fix some errors in the brush layout, properly doing None
  checks, fixing some wrong property identifiers.
* Added tool enum for texture paint and particle edit in panels.

* Allow editing brush textures in the texture buttons, still with
  a stupid toggle, ideas for how to make the connection better are
  welcome.
2009-07-25 22:31:02 +00:00
Brecht Van Lommel
5d240af42b 2.5: fix for use background image toggle in 3d view, it didn't
allocate the right data.
2009-07-25 22:22:47 +00:00
Thomas Dinges
c543eca36e 2.5:
* Fixed a typo in User preferences. 

* Add a use_ prefix for some projection paint booleans in RNA.
2009-07-25 21:33:43 +00:00
Brecht Van Lommel
eb80ce4d7f 2.5: Materials
* Diffuse/specular ramps works again.
* Wire is now a material type next to Surface and Halo.
* Removed Volume material type option until it is actually there.
* Some button layout tweaks.
2009-07-25 21:31:17 +00:00
Campbell Barton
1b14243405 svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r20937:21899
missing commits from peter 20942, 21165, 21170, 21174, 21597
these files still need manual merging

source/blender/makesdna/DNA_sequence_types.h
source/blender/src/sequence.c
source/blender/src/seqeffects.c
source/blender/src/editseq.c
source/blender/include/BSE_sequence.h
2009-07-25 20:59:09 +00:00
Thomas Dinges
90a08b1c78 2.5: Object Buttons File:
* Renamed the file for consistency.
2009-07-25 19:59:18 +00:00
William Reynish
a13341bed1 Added Ztransp (renamed Z Buffer) option in rna and layout. Also added diffuse and color ramps, although a bug in the RNA prevents these from working unless you load an old file with them already enabled. 2009-07-25 12:22:22 +00:00
Thomas Dinges
5815cfd53b 2.5 Smooth/Flat Shading:
* Added operators in Toolbar for Object Mode too. (Mesh only).
I think it should be there too, going into edit mode and select all just to change the shading of the whole mesh is not good. ;-)
2009-07-25 10:42:23 +00:00
Joshua Leung
020a34b9de 2.5 - Restored most of the remaining Armature/Pose Operators
* Armature:
- added: fill, merge, separate
- renamed: duplicate, align

* Pose:
- added: apply pose

* Armature Edit menu has been converted to use operators/layout now
2009-07-25 05:11:28 +00:00
Campbell Barton
f7b90c0f41 - report header buttons were not drawing.
- shift+b in the console would do border zoom (rather then upper case B), fixed by making v2d's border zoom check if the v2d's zoom is locked.
- blender in debug mode registers all operators, useful for testing.
2009-07-24 23:07:18 +00:00
Thomas Dinges
a93619a8c4 2.5 3DView View Panel:
* Added Lines option.
* Made some settings use alignment. 

Logs: Of course i meant 4-Split in last commit message ;-)
2009-07-24 22:33:09 +00:00
Thomas Dinges
a1403f7fbb 2.5 3DView Properties Panel:
* Some Code cleanup.
* Added 3-Split Operator into the panel and some options (which don't work yet)
* Added RNA for RegionView3D lock and box options.
2009-07-24 22:09:30 +00:00
Thomas Dinges
4f3ee918c1 2.5 3DView Toolbar:
* Some Code and tiny layout cleanup.
2009-07-24 21:01:41 +00:00