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
2008-10-28merge 17122:17206Martin Poirier
2008-10-27Fix for crash reading a peach file, chubbychestnut.blend. A do_versionsBrecht Van Lommel
conversion was reading the mtex array in a library linked material. It is however not guaranteed that direct_link_* was called on the material yet, so the array pointer is not always valid and it can crash.
2008-10-20merge 16951:17122Martin Poirier
2008-10-19source/blender/blenloader/intern/readfile.c - use memmove rather then ↵Campbell Barton
strncpy for overlapping strings. source/blender/blenlib/intern/fileops.c - zero length strings would check for a slash before the strings first char. source/gameengine/GameLogic/SCA_JoystickSensor.cpp - m_istrig_prev was not initialized source/blender/src/editmesh.c - active face pointer was not set to NULL in free_editMesh()
2008-10-12- Fix for bug #17825: baking SSS is not supported, but it didn't giveBrecht Van Lommel
proper results, should bake as if SSS was disabled. - Fix for GLSL to handle failing shadow buffer creation better. - Fix for sky/atmosphere version patch, was not doing files from 2.46 and newer.
2008-10-06merge runk 16887:16950Martin Poirier
2008-10-03 interpreted request from Carsten - make message sensor work.Campbell Barton
object message actuators needed the prefix OB when sending a message to a specific object.--This line, and those below, will be ignored-- M source/gameengine/Converter/KX_ConvertActuators.cpp M source/blender/blenkernel/BKE_blender.h M source/blender/src/buttons_logic.c M source/blender/blenloader/intern/readfile.c
2008-10-03merge trunk 16118 -> 116886Martin Poirier
2008-09-29resolve some compiler warnings with intel c/c++ compilerCampbell Barton
* subsurf code had a lot of unused variables, removed these where they are obviously not needed. commented if they could be useful later. * some variables declorations hide existing variables (many of these left), but fixed some that could cause confusion. * removed unused vars * obscure python memory leak with colorband. * make_sample_tables had a loop running wasnt used. * if 0'd functions in arithb.c that are not used yet. * made many functions static
2008-09-29Updated color calculus for sunskyTon Roosendaal
- removed ugly clamping function (it was dividing XYZ based on max of one of the values) - added option to use Exposure, this only works for brightness (Y). results look very pleasant, foggy and hazy results are possible. with exposre==0, no exposure happens for HDR extreme range skies, this is how yafray rendered it. - added menu for choosing color spaces (CIE = modern lcds) Please review! (and yes i know it's still not in World :)
2008-09-28BGE patch: create new BulletSoftBody data block to store bullet soft body ↵Benoit Bolsee
specific parameters. Previously we tried to share the parameters with the blender render soft body but there were too many differences. MSVC project files updated.
2008-09-27Auto-Keyframing (per scene):Joshua Leung
Now auto-keyframing can be enabled/disabled per scene (with the insertion mode also stored per scene). The flags used when insertng keyframes are still stored in the user-prefs. New scenes have their auto-keyframing settings initialised from the user-preferences.
2008-09-26nurbs surface resolution is now per segment rather then being distributed ↵Campbell Barton
over the whole surface. This is what 2D do alredy and makes resolution settings more like subsurf level. - This makes it impossible to have a lower resolution output then the nurbs cage, however this dosnt seem a very useful feature. - Using the do-versions from recent curve interpolation fix. Tested with these files. http://digilander.libero.it/pafurijaz/Files/Blender/Libellula.zip http://digilander.libero.it/pafurijaz/Files/Blender/Martello.zip http://digilander.libero.it/pafurijaz/Files/Blender/Punta.zip http://digilander.libero.it/pafurijaz/Files/Blender/Phones.zip http://digilander.libero.it/pafurijaz/Files/Blender/Tubo.zip http://digilander.libero.it/pafurijaz/Files/Blender/Pipe.zip http://digilander.libero.it/pafurijaz/Files/Blender/Tire.zip http://digilander.libero.it/pafurijaz/Files/Blender/Cotton.zip
2008-09-26BGE patch: local/global flag to distance contraint actuator.Benoit Bolsee
Previously the distance constraint actuator was always working in local axis. The local flag allows to cast the ray along a world axis (when the flag is not selected). The N flag works differently in this case: only the object orientation is changed to be parallel to the normal at the hit point. The linear velocity is now changed so that the speed along the ray axis is null. This eliminates the need to compensate the gravity when casting along the Z axis.
2008-09-25re-use some Blender soft body settings for Bullet game soft bodiesErwin Coumans
2008-09-25improved game soft bodies, works for objects that are using 'set smooth'Erwin Coumans
use shape matching by default for game soft bodies store soft body index for game vertices
2008-09-25BGE patch: add advanced parameters for SoftBody. Add Rasterizer.drawLine() ↵Benoit Bolsee
Python function.
2008-09-23fix for [#11744] NurbCurve Radius incorrectCampbell Barton
removed calc_curve_subdiv_radius(), curve radius is now calculated the same way as tilt. Added radius interpolation menu matching tilt interpolation, needed to add "Ease" interpolation type to keep 2.47 curves looking the same.
2008-09-22BGE patch #17483 approved: object actuator DRot reverted since Blender 246.Benoit Bolsee
2008-09-22Patch #17665 by Vladimir MarekTon Roosendaal
Fixes for solaris compiling
2008-09-21Merging fluidcontrol to trunk from rev16649 fluidcontrol branch. Code ↵Daniel Genrich
provided by Nils Thuerey.
2008-09-21Sunsky / Atmoshphere:Ton Roosendaal
- Added blending mode and factor option, so it's more clear and controllable what happens with it. Also nice for crazy effects of course! - Preview render now shows preview for it too On the todos: - have this in World buttons (as well) for quicker sky setups - review math of color clamping and scaling, this is definitely not good... but a fix will make old files look very different.
2008-09-21svn merge -r 16593:16648 ↵Daniel Genrich
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-09-21Added select grouped property (objects with shared property names will be ↵Campbell Barton
selected) (updated select group toolbox and header menu) Added 2 copy property options - Replace All and Merge All, since there was no way to remove all properties, or set all objects game properties to be the same as the active objects. Added set_ob_property(ob, prop) to property api. bugfix in python api, copyAllPropertiesTo, it didnt check for duplicates or that it wasnt copying from/to the same object.
2008-09-20== Render ==Diego Borghetti
Commit patch #7788, allow to set the render step, so it's possible make render every N frames only. The step is change in Scene buttons (F10), below start and end frame buttons. Also add a command line options (-j), so it's possible to overwrite the file step (useful for renderfarm). [ Brecht, this work with OpenGL renders and simulated the skipped frames, please double check ]
2008-09-20BGE patch: new 'Advanced Settings' button to keep special Bullet options ↵Benoit Bolsee
away from main UI. Three features that were on the main UI interface are now moved to the Advanced Settings panel: Margin, Actor (that becomes Sensor Actor) and No sleeping. Sensor Actor is now a feature: it can be turned on and off for all types of objects, and not just static objects. Select the Sensor Actor button to make the object visible to Near and Radar sensor. The button is selected by default for dynamic objects and unselected by default for static objects, to match previous behavior.
2008-09-18svn merge -r 16454:16593 ↵Daniel Genrich
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-09-17BGE patch: bullet buttons UI change after discussion with Erwin: use a drop ↵Benoit Bolsee
down instead of a series of buttons. Introduction of soft body option.
2008-09-16"Fix" for #17636 Crashing bug - won't open a fileJanne Karhu
- The cause was indeed corrupted particle settings which should have caused a deletion of the whole particle system. However the particle modifier was still left and that led to the crash. - A "fix" because there's really no way of knowing what caused the corruption of the particle settings. If anyone else gets this and can recreate I'd love to get a .blend. Now that there shouldn't be a crash anymore the symptom will be a missing particle system after file load in an object that had a particle system before.
2008-09-16Added check for failing linking of a ID_PA block.Ton Roosendaal
2008-09-14BGE patch: new Physics button and margin parameter in Logic panel. Change ↵Benoit Bolsee
subversion. The Physics button controls the creation of a physics representation of the object when starting the game. If the button is not selected, the object is a pure graphical object with no physics representation and all the other physics buttons are hidden. Selecting this button gives access to the usual physics buttons. The physics button is enabled by default to match previous Blender behavior. The margin parameter allows to control the collision margin from the UI. Previously, this parameter was only accessible through Python. By default, the collision margin is set to 0.0 on static objects and 0.06 on dynamic objects. To maintain compatibility with older games, the collision margin is set to 0.06 on all objects when loading older blend file. Note about the collision algorithms in Bullet 2.71 -------------------------------------------------- Bullet 2.71 handles the collision margin differently than Bullet 2.53 (the previous Bullet version in Blender). The collision margin is now kept "inside" the object for box, sphere and cylinder bound shapes. This means that two objects bound to any of these shape will come in close contact when colliding. The static mesh, convex hull and cone shapes still have their collision margin "outside" the object, which leaves a space of 1 or 2 times the collision margin between objects. The situation with Bullet 2.53 was more complicated, generally leading to more space between objects, except for box-box collisions. This means that running a old game under Bullet 2.71 may cause visual problems, especially if the objects are small. You can fix these problems by changing some visual aspect of the objects: center, shape, size, position of children, etc.
2008-09-14Various game engine fixes:Brecht Van Lommel
* Fix issue with add transparency mode with blender materials. * Possible fix at frontface flip in the game engine. * Fix color buffering clearing for multiple viewports, it used to clear as if there was one. * Fix for zoom level in user defined viewports, it was based on the full window before, now it is based on the viewport itself. * For user defined viewports, always use Expose instead of Letterbox with bars, the latter doesn't make sense then.
2008-09-11Bugfix: saved game engine runtimes failed to load library .blendBrecht Van Lommel
files with relative paths.
2008-09-10svn merge -r 16369:16454 ↵Daniel Genrich
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-09-05Grease Pencil - Available in Image Editor:Joshua Leung
Grease Pencil is now available in the image editor. It is important to note that the strokes drawn WILL NOT become part of the image visible at the time. Unfortunately, 'fancy' stroke drawing cannot be enabled for use with the 'Stick to View' setting here, as the scaling is wrong.
2008-09-05svn merge -r 16320:16369 ↵Daniel Genrich
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-09-05Merge of first part of changes from the apricot branch, especiallyBrecht Van Lommel
the features that are needed to run the game. Compile tested with scons, make, but not cmake, that seems to have an issue not related to these changes. The changes include: * GLSL support in the viewport and game engine, enable in the game menu in textured draw mode. * Synced and merged part of the duplicated blender and gameengine/ gameplayer drawing code. * Further refactoring of game engine drawing code, especially mesh storage changed a lot. * Optimizations in game engine armatures to avoid recomputations. * A python function to get the framerate estimate in game. * An option take object color into account in materials. * An option to restrict shadow casters to a lamp's layers. * Increase from 10 to 18 texture slots for materials, lamps, word. An extra texture slot shows up once the last slot is used. * Memory limit for undo, not enabled by default yet because it needs the .B.blend to be changed. * Multiple undo for image painting. * An offset for dupligroups, so not all objects in a group have to be at the origin.
2008-08-30Merge from trunk 16122-16307Ian Thompson
2008-08-22svn merge -r 16060:16222 ↵Daniel Genrich
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-08-22New things for particle effectors:Janne Karhu
- For newtonian particles a "self effect" button in particle extras makes the particles be effected by themselves if a particle effector is defined for this system, currently this is a brute force method so things start getting slow with more than ~100 particles, but this will hopefully change in the future. - Two new effector types: charge and a Lennard-Jones potential based force (inter-molecular forces for example). -Charge is similar to spherical field except it changes behavior (attract/repulse) based on the effected particles charge field (negative/positive) like real particles with a charge. -The Lennard-Jones field is a very short range force with a behavior determined by the sizes of the effector and effected particle. At a distance smaller than the combined sizes the field is very repulsive and after that distance it's attractive. It tries to keep the particles at an equilibrium distance from each other. Particles need to be at a close proximity to each other to be effected by this field at all. - Particle systems can now have two effector fields (two slots in the fields panel). This allows to create particles which for example have both a charge and a Lennard-Jones potential.
2008-08-18Fix for bug #17485: inter object sensor/controller/actuator links couldBrecht Van Lommel
get lost in reading libraries. The pointers were being remapped in the expand stage, but not all objects were guaranteed to be linked in at that point, so they got lost. Now it always does this in the lib linking stage for both regular and library objects.
2008-08-18a) New unified effector system by Janne (jahka) + Me (genscher): particle ↵Daniel Genrich
and cloth/sb don't use different systems anymore. b) cloth wind corrected for new system c) Wind has noise option now d) @ Bjornmose: since the old factors are gone SB doesn't need to divide by 1000 etc. anymore. I didn't want to touch your code - you might like to take a look at it :)
2008-08-17Win64 commit: first little commit to test how it compiles on other ↵Daniel Genrich
plattforms - I'll then commit the other changes if all is fine :)
2008-08-17BGE patch: New Delay sensor (derived from patch #17472) Benoit Bolsee
Introduction of a new Delay sensor that can be used to generate positive and negative triggers at precise time, expressed in number of frames. The delay parameter defines the length of the initial OFF period. A positive trigger is generated at the end of this period. The duration parameter defines the length of the ON period following the OFF period. A negative trigger is generated at the end of the ON period. If duration is 0, the sensor stays ON and there is no negative trigger. The sensor runs the OFF-ON cycle once unless the repeat option is set: the OFF-ON cycle repeats indefinately (or the OFF cycle if duration is 0). The new generic SCA_ISensor::reset() Python function can be used at any time to restart the sensor: the current cycle is interrupted and no trigger is generated.
2008-08-14Bugfix for a) Fluid ipos gone after save-load b) changing viscosity causes ↵Daniel Genrich
fluidsim to be reversed [both reported by broken] (at least 3 known bugs left)
2008-08-12Add missing stuff in new scene code to properly init skeletor params properly.Martin Poirier
Add sanity check on file load to fix old files (won't be merged in trunk).
2008-08-12Bugfix for non-compiling on msvc and mingw (reported by Matt)Daniel Genrich
2008-08-05svn merge -r 15800:15973 ↵Daniel Genrich
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-08-05Text Markers: multiple, coloured selections within a Text object with group ↵Ian Thompson
relationships. They allow portions of text to be edited as one and enable quick jumping between and editing of different areas. Flags control the behaviour and grouping of markers. At present, Ctrl+M places a marker with TMARK_EDITALL set for testing purposes. I have also split the text area event handler into separate methods for marker handling and the existing text tools. This makes the events system much easier to follow as it was getting a little hairy.
2008-08-02Merged 15771:15912 from trunkIan Thompson