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
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-03-08- Fixed trouble with rendering curves with disabled modifiers, which areSergey Sharybin
disabled for realtime displaying but enabled for rendering. - Calculate tex space for curves before modifiers applying.
2010-03-05Constructive modifiers for curves and surfacesSergey Sharybin
Used approach with creating DerivedMesh for curves whet they've got such modifiers. Available modifiers are: array, edge split, mirror, solidify, subsurf.
2010-02-15Patch: [#20408] Bugfix GLSL shading with VBOLukas Steiblys
Thank you, Andre Tibben, for the fix.
2010-02-12correct fsf addressCampbell Barton
2010-02-12(no commit message)Lukas Steiblys
2010-02-09[#21067] Weight painting doesn't work with mirror modifier enabled.Campbell Barton
2010-02-09bugfix [#21036] crash with glsl shadingCampbell Barton
VBO draw cod was assuming a buffer was allocated for drawing.
2010-02-06Fix part of #20468: material changes when switch to sculpt mode.Brecht Van Lommel
2010-02-05VBO's face index was incorrect, didnt see this break anything but was giving ↵Campbell Barton
the triangulated index (always wrong for quads).
2010-02-05[#20462] Weight painting subsurf mesh doesn't work with VBOCampbell Barton
- backbuf colors were ignored with VBO's, disable since to make this work with VBO's it would need to re-bind a color array, then restore the previous one after.
2010-01-06Fix #20519: shrinkwrap modifier doesnt work with subsurface modifier.Brecht Van Lommel
Fix #20516: subsurf modiefier+pressing add for smoke sims results in crash. Fix retopo not working correct on subsurf mesh. Various deforming modifiers were not correctly taking into account that a derivedmesh is not necessarily a CDDerivedMesh, made utility functions for this now.
2010-01-04Sculpt:Brecht Van Lommel
* Fix #20482: grab brush + size pressure sensitivity don't work together, disabled the pressure sensitivty for that case now. * Fix for smooth brush messing up mesh sometimes, smooth factor is now clamped to reasonable range. * Fix #20449: smooth brush + mirror modifier could crash.
2009-12-14Fix #20345: weight paint crashes with armature modifier without object.Brecht Van Lommel
Also fixes: * Weight paint subsurf drawing. * Missing pointer endian conversion in paint brushes. * Use of unitialized variable in screen version patch. * Multires modifier without mdisps layer crash.
2009-11-25Sculpt: Fast Navigate option for multires. This will show the lowest multiresBrecht Van Lommel
level when rotating/panning/zooming the viewport, and only draw the full thing at the end, to make the viewport more interactive.
2009-11-25Sculpt: MultiresBrecht Van Lommel
* Displacement coordinates are now stored differently, as a grid per face corner. This means there is duplication of coordinates, especially at low subdivision levels, but the simpler implementation justifies it I think. * ToDo: conversion of existing multires files (2.4x or 2.5x), loading them may even crash now. * Editmode preservation/interpolation code also has not been updated yet. * Multires now works on the CCGDerivedMesh grids instead of CDDerivedMesh, which should be more memory efficient. * There are still bad memory peaks (if you're using 32bit) when subdividing or propagating displacements. Though at least there should be no huge memory blocks allocated, which windows is now to have trouble with. * Still found some weird spike artifacts at lower multires levels, some also happening before this commit. Perhaps computation of tangents needs to be tweaked more. * Multires modifier now has viewport, sculpt and render levels. Also the levels have been made consistent with subsurf, previously the same level of subdivision was one less for multires. * Both multires and subsurf modifier now can have their subdivision level set to 0 for no subdivision.
2009-11-25Sculpt: Grid based PBVHBrecht Van Lommel
* PBVH can now be created contain both from face grids or standard meshes. The former is much quicker to build for high res meshes. * Moved some drawing code into pbvh (mostly for the frustum test). * Moved ray intersection code into pbvh. * GPU buffers also can be built from either mesh or grids now. * Updated sculpt code to work with this. The ugly part is that there is now a macro for iterating over vertices, to handle both cases, and some duplicated code for e.g. undo. * Smooth brush does not work yet with grids.
2009-11-25Sculpt: SubsurfBrecht Van Lommel
* Now uses the CCG DerivedMesh also in object mode, used to be edit mode only. * Create CD_ORIGINDEX layer on demand, to save memory. * Removed ss_to_cdderivedmesh function, and instead create ccgdm and then convert that to cddm, to avoid code duplication. * Added and implement DerivedMesh interface functions to obtain face grids. * Store edge/face flags more memory efficient. * Export CCGDerivedMesh struct in BKE_subsurf.h
2009-11-11Sculpt: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r24330:24483
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-10Math LibBrecht Van Lommel
* Pre-conversion commit removing old arithb.c code, this will not compile, next commit fixes that.
2009-11-06Sculpt: WIP brush behavior changesBrecht Van Lommel
* Draw/Inflate/Layer now keep working on the original mesh coordinates and normals from when the stroke started. This helps avoid the mesh blowing up, but can still be better. The old behavior is still available as "Accumulate" in the UI. * This requires some more memory usage for the BVH, would like to find a way to avoid that. * Smooth falloff is now the default. * Spacing is now enabled by default, with a value of 7.5. * Anchored now stores normals per node to save some memory.
2009-11-04Sculpt: don't create DM face normals in sculpt mode, only update them ifBrecht Van Lommel
they exist already, to save memory.
2009-11-04Sculpt: updating normals now no longer uses the vert-face map, to save memory.Brecht Van Lommel
The weak point now is the thread-safe atomic access to normals from multiple threads, did not seem to be a bottleneck in my tests but I don't really trust it to be fast.
2009-11-04Sculpt: derivedmesh no longer created CD_ORIGINDEX layer when thereBrecht Van Lommel
is no modifier, saving some memory.
2009-11-02Sculpt: Multithreading & PBVH ChangesBrecht Van Lommel
* Sculpting, normal update and bounding box code is now multithreaded using OpenMP. * Fix a number of update issues: normals on node boundaries, outdated bounding boxes, partial redraw, .. . There's probably still a few left, but should be better now. * Clicking once now does a single paint instead of two (was also painting on mouse up event). * Smooth shading now is enabled for the full mesh when the first face uses it (so it can be tested at least). Implementation Notes: * PBVH search can now be done either using a callback or bt gathering the nodes in an array. The latter makes multithreading with OpenMP easier. * Normals update code is now inside PBVH, was doing it per node before but should do all faces first and only then vertices. * Instead of using search modes + 1 modified flag, now nodes get 4 flags to indicate what needs to be updated for them, found that this makes it easier for me to understand the code and fix update bugs. * PBVHNode is now exposed as an abstract type, I think this makes it more clear what is happening than having it's data passed as part of callback functions. * Active_verts list was replaced by looping over nodes and the vertices inside them. However the grab brush still uses the active_verts system, will fix that later. * Some micro-optimizations, like avoiding a few multiplications/divisions, using local variables instead of pointers, or looping over fewer vertices to update the bounding boxes.
2009-10-28Moved the PBVH from sculpt session to DerivedMesh/CDDM.Nicholas Bishop
* Multires sculpting appears to work now * PBVH gets recalculated in some cases where it shouldn't, haven't looked into this yet
2009-10-27Commit of the sculpt patch (#19672). Further development will be in this ↵Nicholas Bishop
branch until we merge to trunk.
2009-10-13Various warning fixesNicholas Bishop
2009-10-03imbusy GSoC'09 branch merge (Vertex Buffer Object support)Lukas Steiblys
2009-08-212.5/Multires:Nicholas Bishop
* Fixed multires subdivision of a sculpted object. Accidentally broke this when I fixed removing a multires modifier.
2009-08-202.5 Multires:Nicholas Bishop
* Fixed a memory corruption bug when deleting a multiresmodifier, was hanging on to a bad pointer. Reported on IRC by lusque
2009-07-01RNABrecht Van Lommel
* Mesh.add_geometry, Mesh.update and make indices editable. This is without checking if they are valid still, no time now to implement this. * Also fix warnings in rna_ui.c, and a bug in CDDM_calc_edges. Example code: co = [0.0, 0.0, 0.0] + [1.0, 0.0, 0.0] + [0.0, 1.0, 0.0] + [1.0, 1.0, 0.0] faces = [0, 1, 2, 0] + [1, 3, 2, 0] mesh.add_geometry(4, 0, 2) mesh.verts.foreach_set("co", co) mesh.faces.foreach_set("verts", faces) mesh.update()
2009-06-07Multires/2.5:Nicholas Bishop
Attempt to make multires updating a little cleaner by assuming that no update needs to be performed, and only doing the update when the modified flag is set (either by sculpting or using some other tool that needs an update.)
2009-04-022.5: weight paint mode fix for corrupted layer data, and addedBrecht Van Lommel
a customdata layer specifically to store weightpaint colors instead of abusing the vertex colors layers.
2009-01-06Got rid of old multires code, brought in multires modifier from Nicholas Bishop
soc-2008-nicholasbishop branch. Note: any old code with multires_test() or multires_level1_test() can just be deleted, not needed by the multires modifier.
2009-01-042.5Ton Roosendaal
Think global, act local! The old favorite G.scene gone! Man... that took almost 2 days. Also removed G.curscreen and G.edbo. Not everything could get solved; here's some notes. - modifiers now store current scene in ModifierData. This is not meant for permanent, but it can probably stick there until we cleaned the anim system and depsgraph to cope better with timing issues. - Game engine G.scene should become an argument for staring it. Didn't solve this yet. - Texture nodes should get scene cfra, but the current implementation is too tightly wrapped to do it easily.
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-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-07-25Fluid control: WIP commit before weekend, not working is crashing on the ↵Daniel Genrich
first 3 frames
2008-06-09Revision 15045 merged from apricotMartin Poirier
---------------------------------- Small fix to derivedmesh for snapping: don't create origindex for editmesh derivedmesh since it's not being filled correct anyway.
2008-02-24Fix for a recent bugfix, could crash automatic vertex weighting,Brecht Van Lommel
forgot to do NULL pointer check.
2008-02-24-> Bevel tools and Bmesh kernelGeoffrey Bantle
The following is a commit of Levi Schooley's bevel code and the bmesh library it depends on. The current editmode bevel has been replaced with a new per edge bevel function. Vertex beveling is also availible. To set weights for the modifier to use, use the ctrl-shift-e shortcut on either edges or vertices. Recursive beveling is turned of for the time being.
2008-02-21Fix for bug #8321: crash with fluidsim in shaded draw mode.Brecht Van Lommel
2007-11-27ParticlesBrecht Van Lommel
========= Merge of the famous particle patch by Janne Karhu, a full rewrite of the Blender particle system. This includes: - Emitter, Hair and Reactor particle types. - Newtonian, Keyed and Boids physics. - Various particle visualisation and rendering types. - Vertex group and texture control for various properties. - Interpolated child particles from parents. - Hair editing with combing, growing, cutting, .. . - Explode modifier. - Harmonic, Magnetic fields, and multiple falloff types. .. and lots of other things, some more info is here: http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite http://wiki.blender.org/index.php/BlenderDev/Particles_Rewrite_Doc The new particle system cannot be backwards compatible. Old particle systems are being converted to the new system, but will require tweaking to get them looking the same as before. Point Cache =========== The new system to replace manual baking, based on automatic caching on disk. This is currently used by softbodies and the particle system. See the Cache API section on: http://wiki.blender.org/index.php/BlenderDev/PhysicsSprint Documentation ============= These new features still need good docs for the release logs, help for this is appreciated.
2007-04-29dont use tface hide or select anymore, since maintaining 2 sets of ↵Campbell Barton
hide/select data for each face is annoying. using mface->flag for both. Also found that the cdDM_drawMappedFaces and cdDM_drawFacesTex_common could get normals mixed up when rendering hidden faces. because hidden/invisible faces used continue without advancing to the next normal.
2007-04-27- support for fake verse edges (subsurf modifier should work now)Jiri Hnidek
- edges are generated from verse faces - no support for lose edge! - informations about edges aren't sent to verse server (other applications can't share edges with blender) - better sending/receiving vertex position
2007-04-04moved source and text to american spellingCampbell Barton
* colour -> color * centre -> center * normalise -> normalize * modelling -> modeling
2007-01-09Fix for bug #5606:Brecht Van Lommel
Subsurf modifier displays normals wrong with mixed smooth and solid faces.