Revision 2582e3a by Brecht Van Lommel November 25, 2009, 18:20 (GMT) |
Sculpt: fix windows compile issues, pointed out by JMS, thanks! |
Revision 55d2a56 by Brecht Van Lommel November 25, 2009, 17:51 (GMT) |
Revision 323aa65 by Janne Karhu November 25, 2009, 17:46 (GMT) |
Verlet integration method for particles (patch provided by farsthary). |
Revision 553374b by Campbell Barton November 25, 2009, 15:00 (GMT) |
selected_pchans --> selected_pose_bones, same for visible_pchans added use_ prefix to bools offset --> use_offset, tail --> use_tail for eg. |
Revision b129ccf by Brecht Van Lommel November 25, 2009, 14:59 (GMT) |
Pose Bone "Local Location" option. This is enabled by default, disabling it puts the bone location in pose space rather than local bone space. |
Revision 077edbb by Brecht Van Lommel November 25, 2009, 14:27 (GMT) |
Sculpt: external file storage for multires * This is experimental, the file format may change still! * Helps reduce memory usage, keeps .blend files smaller, and makes saving quicker when not editing multires. * This is implemented at the customdata level, currently only the multires displacements can be stored externally. ToDo * Better integration with object duplication/removal/.. * Memory is not yet freed when exiting sculpt mode. * Loading only lower levels is not supported yet. |
Revision 436969c by Brecht Van Lommel November 25, 2009, 14:13 (GMT) |
Sculpt: Fast Navigate option for multires. This will show the lowest multires level when rotating/panning/zooming the viewport, and only draw the full thing at the end, to make the viewport more interactive. |
Revision 2fd2c04 by Brecht Van Lommel November 25, 2009, 14:10 (GMT) |
Sculpt: multires UI update. |
Revision fffce6c by Brecht Van Lommel November 25, 2009, 14:07 (GMT) |
Sculpt: Multires * 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. |
Revision 134935a by Brecht Van Lommel November 25, 2009, 13:40 (GMT) |
Sculpt: Grid based PBVH * 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. |
Revision f1fa79a by Campbell Barton November 25, 2009, 13:17 (GMT) |
fix for error in sequencer ui from recent changes |
Revision a1bf207 by Brecht Van Lommel November 25, 2009, 13:11 (GMT) |
Sculpt: Subsurf * 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 |
Revision 90cc7c8 by Brecht Van Lommel November 25, 2009, 12:27 (GMT) |
Sculpt: CCGSubsurf new functions to update normals, update subdivision levels, copy coordinates from face grids, and stitch together face grids. |
Revision 9a31f37 by Brecht Van Lommel November 25, 2009, 12:04 (GMT) |
Sculpt: math lib functions * swap v2/v3 * multiply-and-add (madd) v3 * inline v3 short/float conversion |
Revision 6c881a7 by Joshua Leung November 25, 2009, 12:00 (GMT) |
AnimSys - Transform Locks + RNA: The Animation System now respects the Transform Locks too (i.e. lock x-location, etc.) when writing settings. This means that it is no longer necessary to set up "constant drivers" to make sure some values don't get accidentally animated. Internally, added a new callback for properties in RNA, which is responsible for checking if the item at some array-index is editable. This needs to be manually called for each place which uses rna to set settings for arrays (see the code changes in anim_sys.c for changes how to do this; the same thing needs to be done in the UI code too, and probably in py-api too) |
Revision e57792f by Brecht Van Lommel November 25, 2009, 11:59 (GMT) |
Sculpt: tweak to memory statistics graph, showing both % and MB. |
Revision 4c5b430 by Campbell Barton November 25, 2009, 11:47 (GMT) |
ED_armature_edit_bone_remove wasnt clearing references from other bones, only affects rna api access |
Revision b40307d by Campbell Barton November 25, 2009, 11:05 (GMT) |
add access to bone add/remove from rna. eg. bone = arm.edit_bones.new("SomeBone") arm.edit_bones.remove(bone) regify (WIP) |
Revision 50e3bb7 by Brecht Van Lommel November 25, 2009, 10:39 (GMT) |
RNA: FModifier generator coefficients wrapped, implemented by Campbell. |
Revision c410a0e by Campbell Barton November 25, 2009, 10:13 (GMT) |
rna py api, generic rna function driver_add(), now returns the driver added (or a list of drivers if all channels are set) |
|