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
2013-01-26Fix [#34005] blender will close immediately in debug mode on deleting objectsSergej Reich
Was silly mistake from rigidbody merge, base was used after it's been freed. Now don't free base in BKE_scene_base_remove() and rename it to BKE_scene_base_unlink().
2013-01-26Check for deletion before moving vert in dyntopo collapse edgeNicholas Bishop
Fixes [#33964] Dyntopo crash with edge collapse + undo projects.blender.org/tracker/?func=detail&aid=33964&group_id=9&atid=498
2013-01-26Motion Path calculations for objects now takes rigidbodies sim effects intoJoshua Leung
account
2013-01-25header cleanup, include BLI before BKE, also use bool for ntreeShaderExecTreeCampbell Barton
2013-01-24Fix #33953: blender crash after few steps with .exr image in compositorSergey Sharybin
Issue was caused by FILE multilayer ImBuf sharing buffers with render result, and SEQUENCE multilayer ImBufs duplicating buffers. Which is nice by it's own. But, changing image source wouldn't remove any loaded image buffers, meaning if you've got loaded FILE multilayers they'll likely became invalid. That behavior of handling multilayers on changing source was done as a fix for #24976, which is now actually not needed (removing check for multilayer doesn't change behavior at all). Just to be sure added check to RNA, so signal wouldn't be fired if source wasn't actually changed form a menu.
2013-01-24UsabilityTon Roosendaal
- Cycles materials now render in Blender Internal too, skipping the nodes. Not very useful, but at least things then show up on renders and in previews. - Node editor: if wrong shader nodes are in a tree, they draw with thene color RED ALERT headers now. (Switching render engine will show it).
2013-01-24use bool for new code.Campbell Barton
2013-01-24use inline functions for subsurf MVert,MEdge mesh array functions, also some ↵Campbell Barton
include cleanup for scons/cmake.
2013-01-24Armature rigging:Ton Roosendaal
Added more clear warning print for cases when a Proxy cannot be resolved.
2013-01-24fix for missing initialization of vert data in ccgDM_copyFinalVertArrayCampbell Barton
2013-01-24add 'deform - integrate' option to mesh-cache,Campbell Barton
This means the deformation on the input to the modifier can be re-applied ontop of the mesh cache. In practice this is most useful for using corrective shape-keys with mesh-cache.
2013-01-24rigidbody: Fix [#33971] Bullet Physics crash + patchSergej Reich
BKE_rigidbody_aftertrans_update() can be called before rigid body is validated so check before updating physics_object. Thanks to Antony Riakiotakis (psy-fi) for the initial patch.
2013-01-24style cleanupCampbell Barton
2013-01-23Fix for missing function stub when WITH_BULLET is disabled.Lukas Toenne
2013-01-23Code cleanup: move render baking code into own file.Brecht Van Lommel
2013-01-23rigidbody: Make rigid bodies kinematic during transformationSergej Reich
This allows moving rigid bodies on frame > startframe. Also rigid bodies can now be picked up and trown around while the simulation is running. Note: There is a small glitch with cancelling tansform during simulation but it's tricky to get rid of. TODO: Avoid static-static collision warnings
2013-01-23Blender 2.66 Release Cycles:Thomas Dinges
* We enter BCon3 now, ongoing module work, stabilization of new features and fixes.
2013-01-23make bullet optional againCampbell Barton
2013-01-23rigidbody: Add generic spring constraintSergej Reich
Behaves like the generic constraint but has optional spring on each axis. TODO: Add option to set rest length. Patch by Markus Kasten (markus111), thanks!
2013-01-23rigidbody: Add rigid body constraintsSergej Reich
Constraints connect two rigid bodies. Depending on which constraint is used different degrees of freedom are limited, e.g. a hinge constraint only allows the objects to rotate around a common axis. Constraints are implemented as individual objects and bahave similar to rigid bodies in terms of adding/removing/validating. The position and orientation of the constraint object is the pivot point of the constraint. Constraints have their own group in the rigid body world. To make connecting rigid bodies easier, there is a "Connect" operator that creates an empty objects with a rigid body constraint connecting the selected objects to active. Currently the following constraints are implemented: * Fixed * Point * Hinge * Slider * Piston * Generic Note: constraint limits aren't animatable yet).
2013-01-23rigidbody: Add rigid body simulationSergej Reich
Add operators to add/remove rigid body world and objects. Add UI scripts. The rigid body simulation works on scene level and overrides the position/orientation of rigid bodies when active. It does not deform meshes or generate data so there is no modifier. Usage: * Add rigid body world in the scene tab * Create a group * Add objects to the group * Assign group to the rigid body world * Play animation For convenience the rigid body tools operators in the tools panel of the 3d view will add a world, group and add objects to the group automatically so you only have to press one button to add/remove rigid bodies to the simulation. Part of GSoC 2010 and 2012. Authors: Joshua Leung (aligorith), Sergej Reich (sergof)
2013-01-23rigidbody: Add point cache supportSergej Reich
Add read/write/interpolate functions. In order to get rigid body point cache id from object it's now required to pass the scene to BKE_ptcache_ids_from_object(). Rigid body cache is drawn in the orange color of the bullet logo.
2013-01-23rigidbody: Add force field supportSergej Reich
Force fields work with rigid bodies just like they do with other simulations. Increase min and max strength of force fields so they can influence heavy rigid bodies. TODO: Adjust force field strength based on the time step taken. Part of GSoC 2010 and 2012. Authors: Joshua Leung (aligorith), Sergej Reich (sergof)
2013-01-23rigidbody: Add DNA/RNA/BKE infrastructure for the rigid body simSergej Reich
This is just the basic structure, the simulation isn't hooked up yet. Scenes get a pointer to a rigid body world that holds rigid body objects. Objects get a pointer to a rigdid body object. Both rigid body world and objects aren't used directly in the simulation and only hold information to create the actual physics objects. Physics objects are created when rigid body objects are validated. In order to keep blender and bullet objects in sync care has to be taken to either call appropriate set functions or flag objects for validation. Part of GSoC 2010 and 2012. Authors: Joshua Leung (aligorith), Sergej Reich (sergof)
2013-01-23sim: Remove "continue physics" codeSergej Reich
This was left over from 2.4x days and is not used anymore. Now simulations are always interactive.
2013-01-22Fix/workaround for GLSL textured and matcap modes for dyntopoSergey Sharybin
Currently used special checks in DM draw code, perhaps better would be simply to flush changes from PBVH to DM. Anyway, now things seems to be working OK, will check on better solution from code point of view later.
2013-01-22Bugfix #33945Ton Roosendaal
OSX: in HiDPI mode, the brush circle doubled on every use. Was caused by new code storing and setting brush sizes.
2013-01-22Matcap support in 3D Viewport.Ton Roosendaal
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-22Fix projection texture painting crashSergey Sharybin
It was caused by own mistake by not noticing externtex is used not only by render engine. Now this function uses pool passed as argument rather than using R.pool.
2013-01-22property change reporting now uses the context again, rather then checking a ↵Campbell Barton
dir() on context, hard-code common paths. eg: bpy.context.scene.render.resolution_x = 1921 bpy.context.object.data.use_auto_smooth = True bpy.context.object.active_material.diffuse_intensity = 1 bpy.context.scene.world.exposure = 0.1 also remove duplicate GS() defines
2013-01-21mesh-cache deform modifier,Campbell Barton
supports MDD and PC2 formats. see wiki docs: http://wiki.blender.org/index.php/Doc:2.6/Manual/Modifiers/Deform/Mesh_Cache
2013-01-21Fix image pool crash when acquiring buffer for NULL imageSergey Sharybin
2013-01-21fix regression in own recent commit, vertex flags were left uninitialized.Campbell Barton
2013-01-21Fixed render time regression in Blender InternalSergey Sharybin
It was caused by image threading safe commit and it was noticeable only on really multi-core CPU (like dual-socket Xeon stations), was not visible on core i7 machine. The reason of slowdown was spinlock around image buffer referencing, which lead to lots of cores waiting for single core and using image buffer after it was referenced was not so much longer than doing reference itself. The most clear solution here seemed to be introducing Image Pool which will contain list of loaded and referenced image buffers, so all threads could skip lock if the pool is used for reading only. Lock only needed in cases when buffer for requested image user is missing in the pool. This lock will happen only once per image so overall amount of locks is much less that it was before. To operate with pool: - BKE_image_pool_new() creates new pool - BKE_image_pool_free() destroys pool and dereferences all image buffers which were loaded to it - BKE_image_pool_acquire_ibuf() returns image buffer for given image and user. Pool could be NULL and in this case fallback to BKE_image_acquire_ibuf will happen. This helps to avoid lots to if(poll) checks in image sampling code. - BKE_image_pool_release_ibuf releases image buffer. In fact, it will only do something if pool is NULL, in all other case it'll equal to DoNothing operation.
2013-01-21code cleanup: style & warnings.Campbell Barton
2013-01-21Ommit extraneous check for paint tool in 3d mapping case (Only draw toolAntony Riakiotakis
uses this anyway) and avoid copying of coordinate for 3D case.
2013-01-213D mapping for projective texture painting (only for draw brush). UsefulAntony Riakiotakis
to draw with procedural textures on surface of object. 2D painting will still paint as if tiled. When we unify the paint systems, the texture sampling functions will need to be changed. Sculpt uses a slightly different system that passes both screen and 3d coordinates to the sampling function. This commit however is not too disrupting for that however so it can go in now.
2013-01-20code cleanup: remove some paranoid checks which would have crashed anyway ↵Campbell Barton
earlier on. Also some minor formatting.
2013-01-20fix own bug with uninitialized arrays in subdivide (from recent BLI_array.h ↵Campbell Barton
update) also quiet warning.
2013-01-20Delete loose edges left behind by sculpting with collapse-short-edgesNicholas Bishop
After deleting a face, check for unused edges and delete them. Fixes bug [#33891] projects.blender.org/tracker/?func=detail&aid=33891&group_id=9&atid=498
2013-01-20Update object bounding box during sculptNicholas Bishop
Fixes the sculpt object being incorrectly clipped during drawing due to an out-of-date bounding box making it seem that the object had gone outside the view. Added a BKE_pbvh function to get the top-level bounding box. In sculpt_flush_update(), where the PBVH bounds are updated, the result is copied to the object's bounding box. Fixes bug [#33790] projects.blender.org/tracker/?func=detail&aid=33790&group_id=9&atid=498
2013-01-19Skip hidden faces in PBVH BMesh ray intersection testNicholas Bishop
Moved the GPU function gpu_bmesh_face_visible() to BKE_paint and inverted the test to match equivalent tests for other mesh types: paint_is_bmesh_face_hidden(). Changed BKE_pbvh_bmesh_node_save_orig() to not save hidden faces into the triangle array. Modified the non-use-original branch of pbvh_bmesh_node_raycast() to skip hidden faces. Fixes bug #33914: projects.blender.org/tracker/index.php?func=detail&aid=33914&group_id=9&atid=498
2013-01-19style cleanupCampbell Barton
2013-01-19replace calloc with malloc for arrays that are filled in right after.Campbell Barton
2013-01-19CDDM_merge_verts() was building an index array for all loops and not using it.Campbell Barton
also use malloc over calloc since the values are filled in right after.
2013-01-19dyntopo optimization - fast path for edges with 2 faces using it, was ↵Campbell Barton
counting the edge-faces then using an iterator, instead use BM_edge_loop_pair()
2013-01-18Fix #33910: Wipe effect starts and stops to early with blur enabled.Sergey Sharybin
Made small tweaks which now limits blur width in a way it can not be wider than distance between frame boundary and wipe effect center. It eliminates weirdeness of how blur appears/disappears in cases effect fac is close to 0/1. Could be tweaked further but will require effect rewrite it seems.
2013-01-18use openmp sections for felling origindex arraysCampbell Barton
2013-01-17minor changes to view3dCampbell Barton
- BKE_camera_params_from_object now sets the lens to 35 if the object isnt a camera/lamp, without this the view3d lens would be used in camera view. - running smooth-view multiple times now stores the initial user view rather then over-writing from the current state each time re-smoothview runs. - redraw panels after smoothview finishes.
2013-01-17minor speedup for dyntopo edge queue - replace iterator with while loop.Campbell Barton