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
path: root/source
AgeCommit message (Collapse)Author
2009-08-12New point cache file format:Janne Karhu
- 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-12Set the clickstep for unit buttons to each click moves 1 unit.Campbell Barton
2009-08-12- was displaying 1cm as 10mm because of double precission problem.Campbell Barton
- typing in numbers without any units will use the units displayed before editing the value. - fixed some errors
2009-08-12fix for errors evaluating user input when units are disabledCampbell Barton
2009-08-12added time units, currently only used when metric or imperial are enabled.Campbell Barton
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-11- missing a decref for new pytypesCampbell Barton
- remove needless strlen
2009-08-11user interface units, off by default.Campbell Barton
- 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-11Added libsamplerate.a in MakefileTon Roosendaal
The structure for names where this lib is could need fix... will need feedback from other make users. Also Python lib in svn is wrong, intel lib???
2009-08-112.5Ton Roosendaal
Makefiles to get new AUD stuff to compile (OSX 10.3 PPC) It uses lib/samplerate, which gets committed soon too
2009-08-11SVN maintenance.Guillermo S. Romero
2009-08-11Smoke: fix problem with more than 1 domain + collision and flow groups - ↵Daniel Genrich
reported by nudelZ aka "Master of Smoke"
2009-08-11Animation Editors: Code Cleanup Part 1 - DrawingJoshua Leung
Finally started refactoring the drawing code for animation editors so that all the drawing (of the channels/names list) is done using standardised code for all the editors. A little specialised system for this has been made, and is now used for DopeSheet and Graph Editor drawing. This should make it easier to add new channel types with less effort. Protect/mute toggles are now always clamped to the right-hand edge of the channels list. So you can now make the list wider to view longer names fully. However, since the mouse-handling hasn't been fixed yet, this won't always work. TODOs: * make mouse-click handling code use this system too, simplifying things to 1-2 lines of code there. Maybe this could be made to use UI widgets instead at a later date? * NLA still needs to be ported to this system
2009-08-11fix for using subtype units that are not defined as a part of types. eg.Campbell Barton
prop= RNA_def_property(srna, "cursor_location", PROP_FLOAT, PROP_XYZ|PROP_UNIT_LENGTH);
2009-08-11fixed mistake made when changing rna prop definition functions, made povray ↵Campbell Barton
custom props fail.
2009-08-11RNA: subtypes and unitsBrecht Van Lommel
* Reviewed subtypes, making them more specific and adding new ones. * Subtypes now have an associated type of units (length, area, volume, mass, rotation, time, velocity, acceleration). These are not used yet anywhere. * Centralized code that decides the name of array items based on subtype (XYZ, RGB), was copied in 3 places. * RNA_def_float etc functions still need to be update, will do this later together with another change.
2009-08-11RNA: make curve and metaball update functions consistent withBrecht Van Lommel
others, these cannot assume the existence of an edit object or active object.
2009-08-112.5: FixesBrecht Van Lommel
* 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-112.5: UI, tweaks to curve mapping template to fit betterBrecht Van Lommel
in 3d view panel, and resize properly.
2009-08-112.5: Small optimization in color management code to avoid doingBrecht Van Lommel
computation with doubles instead of floats, about 2x faster.
2009-08-10Stop changing the includes!Joerg Mueller
2009-08-10Add missing include dir to MakefileDiego Borghetti
2009-08-10Sculpt/2.5:Nicholas Bishop
* Fixed clay brush to work more like the original patch. It should now correctly limit the depth being added or subtracted.
2009-08-102.5 audio cleanup:Joerg Mueller
* Removed CD Actuator * Removed bSample and bSoundListener * Removed SoundSystem * Removed -noaudio parameter
2009-08-10missing include for fluidCampbell Barton
2009-08-10Smoke:Daniel Genrich
* bugfix for crash when loading smoke files more once on linux/mac * could also fix occasional explosions * code cleanup
2009-08-10patch from Stukfruit in IRCCampbell Barton
2009-08-10adding back button evaluation so you can do 1/60, 90*0.1 etc as well as ↵Campbell Barton
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-10fix for build problem with audiospace and implicit declaration.Campbell Barton
2009-08-10Change linux makefiles to use system wide python lib.Guillermo S. Romero
2009-08-10Wrap message with " as the ' was giving issues.Guillermo S. Romero
2009-08-10Add initial support in Makefiles for audaspace.Guillermo S. Romero
Note: removed hardcoded path in include directive. Check other build systems.
2009-08-10remove python2.x supportCampbell Barton
2009-08-10fix crash caused by stroke selectionMartin Poirier
2009-08-102.5: Sound branch merge!Joerg Mueller
See mailing list for additional information.
2009-08-09Sculpt/2.5:Nicholas Bishop
* 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-09fftw + smoke: fifxing define (making it work with scons)Daniel Genrich
2009-08-09- fix error in last commitCampbell Barton
- added better error feedback when registering operators fails. - added some python benchmark timers (prints on exit), times number of times py scripts run, average time and total % of time running py scripts.
2009-08-09Smoke: Daniel Genrich
* WITH_BF_FFTW3 flag --> fftw3 scons + cmake settings refined. * Disabled by default since mac + win32 libs missing. Works already on win64 + linux (with installed fftw3 libs)
2009-08-09- report errors on rna name collisions (does not check parent type yet)Campbell Barton
- minor cleanup for Py/C api functions that define rna properties from python.
2009-08-09Smoke: decoupling of wavelet #2, new noise strength option on gui, fftw3 ↵Daniel Genrich
option in place for cmake, scons yet uncommited
2009-08-09Smoke: fixing collision objects again (bug introduced in decoupling commit) ↵Daniel Genrich
- thanks to nudelZ for reporting
2009-08-08Improved layout of voronoi texture. There was some strange empty space.William Reynish
2009-08-072.5 3D View Toolbar:Thomas Dinges
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-07Added material game physics options in RNA and layout. William Reynish
Thanks to the new render API system these options don't clutter up the layout when you're not doing games.
2009-08-07bpy_context_set and bpy_context_clear to replace a number of functions (some ↵Campbell Barton
were not always called causing bugs). fix for a leak when trying to run a text with a syntax error too.
2009-08-07smoke: Daniel Genrich
- Bugfix: a bit too fast ;-) Better do it right too (problem with res > 150) - fixing high res view button which disappeared sometimes - fixing tooltip
2009-08-07fix for crash while appending data. (missing NULL check for newlibadr return ↵Campbell Barton
value)
2009-08-07svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22205:22290Campbell Barton
2009-08-07gameObject -> blenderObject mapping was being created but wasnt needed.Campbell Barton
Added utility func tag_main for (un)tagging every ID in a Main database with LIB_DOIT.
2009-08-07BGE: removing remaining reference to sce->world->gravity/physics/... (it's ↵Dalai Felinto
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 :)