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-07-12soc-2008-mxcurioni: merge with trunk - rev 15540Maxime Curioni
2008-06-29NDOF bugfixes 14402 & 14403 by ettore PasquiniJean-Luc Peurière
2008-06-14fix for ndof inconsistencies, bug #13954Jean-Luc Peurière
patch provided by Ettore Pasquini
2008-06-10-> Stack corruption in viewline in viw.cGeoffrey Bantle
viewline() would write past the end of an array allocated on the stack causing crashes. Fixed this. Martin, could you take a look at this?
2008-06-09Revision 14894 merged from apricotMartin Poirier
---------------------------------- Arith: - axis angle to quat conversion function - short to float / float to short normals conversion function (eventually, we could go over the go and replace copy/pasted code everywhere) - ray triangle intersection (to complement the line triangle intersection function) View: - viewray / viewline (get near plane point under mouse and ray normal/far point) Particles: - extract viewline from brush_add function
2008-06-05Bugfix: [#13619] Transform Rotate and Scale StrangeMartin Poirier
view: noclip version of int and float projection. Also project from behind the view's position and return coherent values for near clipping transform: use the above functions for 2d center and helpline drawing NOTE: the result for centers behind the camera (in perspective) isn't 100% perfect in the case of rotations because they always use the centered view vector as rotation axis and not the one aligned with the 2d center. Changing this would not be desirable anyway. At least it's predictible now.
2008-05-30bugfixCampbell Barton
* scene.object.context and scene.object.selected had broken get_item funcs so scene.object.context[i] returned the wrong object. * aligning the view to an object (numpad*key), did not disable the ortho view grid. * long standing problem where opening a relative image would fail with no message. BLI_convertstringcode was returning a path with /../../'s that need to be cleaned before the path could be read, the path was also invalid from unix shell so its not a blender path reading problem.
2008-05-18temptative fix for the ndof bugJean-Luc Peurière
if vd.dist is null at a wrong time, retore to last known good value
2008-05-13last commit had a typo, also adjusted teh and colour instancesCampbell Barton
2008-05-01fix for [#10148] 3D preview render does not update on mouse rotate and panCampbell Barton
(own fault when replacing magic numbers)
2008-04-27remove old particle system.Campbell Barton
also removed quat, dquat, and sumohandle from the Object struct since they aren't used anywhere.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2008-04-16replace magic numbers with constants for (G.vd->persp), view naming was also ↵Campbell Barton
using persp as a flag which worked but isnt correct.
2008-03-30[#7289] Orbit around selected in edit mode goes crazy with no verts selectedMartin Poirier
[#8784] orbiting around selection bug + a few kind of a must features (partial fix) As suggested by Ton, keep last center and use that when nothing selected. I don't really like it though as it wouldn't work ok when changing scene or when using a different 3D view and is somewhat non trivial to explain (it's not the last selection, it's the last used orbiting center).
2008-03-27Fixed compiler warnings. (unused vars)Joshua Leung
2008-03-25patch only to redraw on mouse move, broke continues zoom.Campbell Barton
2008-03-23[#8717] ZOOM with CTRL+mouse drag (consumes all cpu)Campbell Barton
patch from André Pinto to stop zoom from redrawing when the mouse didnt move.
2008-03-21update to trunk r14199ndofJean-Luc Peurière
2008-03-21Fixed bug #8514, sculpt: pivot last and undoNicholas Bishop
Undoing in sculpt mode correctly returns to previous pivots now.
2008-03-14resolved conflict state with HEAD r14096Jean-Luc Peurière
blenderbuttons still bad not let this compile
2008-01-182 new timeoffset buttons in the animation panel "Ofs" and "Rand"Campbell Barton
Useful when animating many objects falling at different times (for instance).
2008-01-18Routine purge of compiler warningsJoshua Leung
2008-01-14menu generation read and wrote to the same memory with sprintf(), use ↵Campbell Barton
INIT_MINMAX in a few more places and centerview didnt take into account some bone tips in editmode.
2007-12-27== Sculpt ==Nicholas Bishop
Fixed bad level calls in sculptmode.
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-11-11dropped some unused lines, if that was some new feature witch I no found ↵Joilnen Leite
mentions in svn logs please to commit for trunk when ready
2007-10-09* Patch #6877: Zoom to Mouse PositionMatt Ebb
by Fahrezal Effendi (exavolt) This adds an additional preference to the view and controls section, which uses the mouse's position as the centre of the zoom when zooming in the 3D View with Ctrl-MMB or the mouse wheel. It's very nice for big scenes, thanks Fahrezal! A nice todo would be to add this for 2D views as well.
2007-09-10Changes to "Face Select" modeCampbell Barton
* Does not indicate that UV's exist, nor does it add UV's when used. * Only accessible for texturepaint, vertexpaint and weightpaint from a button in the header (Paint Selection Mask) * Not accessible from the mode menu, this is only an option that applies to paint modes. This dosnt effect DNA, face select (G_FACESELECT) can be enabled at any time but is only used when paint modes are enabled. Other changes * UKey is uv unwrap in editmode, Ukey for undo was editmode only anyway. * UVCalc in editmode adds a UV Layer if there is not one alredy. * texture draw in editmode does not draw the face dots (they are get in the way of texturing) * some missing updates were added. * removed manipulator from when paint modes are enabled since the manipulator is not drawn in the 3d view.
2007-09-07[#7299] Orbit around selected causes panning to be reversedMartin Poirier
The actual "bug" is much more general than simple viewmove. In fact, any time the center (for viewmove, or transform, or ...) on which initgrabz is called was behind the camera (in perspective, then), all mouse motion where reversed. What I added is a special handling case that reverts those situation to the default case (center = viewport offset). This changes the behavior for those case to something much more predictable/useable, but I doubt anyone expected it to work incorrectly, so I'd say that's alright. This covers other cases than transform and viewmove (which are the only ones I really tested), but I don't expect breakage elsewhere. If anyone disagrees with the change, feel free to offer a better solution.
2007-08-31Some cleanup of the ndof functions:Martin Poirier
Moving filterNDOFvalues and getndof to editscreen.c/BIF_mywindow.h (this might not be the best spot but it matches table/mouse functions) Adding missing function definition in include files and fix declaration mixup (void functions used as int, short pointer used as float pointer) New NDofInput model for transform (reusable externally in the future): Handles ndof events, accumulates values and enables remapping and rescaling values to fit any axis combinaison into a float[3] (this could be extended in the future, also, it doesn't support out of order axis right now). Compatible with "gears" (Ctrl key) New transform context for pure NDof input transform (entered when using Transform mode on the device). In this mode, transform "transactions" are automatically confirmed when the device returns to its rest position Rotation on Z triggers a rotation (axis is perpendicular to the screen as usual, constraints works as expected) Rotation on X/Y triggers trackball rotation Translation on X/Y/Z triggers translation (doesn't support constraints correctly). The device can also be used during a "normal" transform operation. In this case, there is no auto confirm but button 1 (right) can be used to confirm while button 2 is used to clear the NDof input (back to mouse input). NDof support was added to translation, rotation and trackball (as previously mentionned) but also to Tilt (same as rotation) and Push/Pull (move device along Z axis). This is a bit preliminary work, so everyone should feel free to comment and send suggestions. NOTE: this commit also merges revision 11523 from the trunk
2007-08-16ettore patch for correct rotation in turntable modeJean-Luc Peurière
2007-07-31transform mode commitJean-Luc Peurière
you can now translate or rotate a selected object in the third method. either in object or edit mode. Note : the method is not ideal, as we create a full transform loop for each component of the transform. However it is this way handled in same way as other means of input
2007-07-30fix mix of declaration and instructions (it would choke MSVC) and add missingMartin Poirier
return type.
2007-07-30tweak of parameters following Martin reportJean-Luc Peurière
also update view type so that grid follow
2007-07-29more work on the ndof system.Jean-Luc Peurière
turntable code should work reasonabilly well now. fly code need works but is no more insane on Os X. transform object is not present here. if you find the movements a bit slow, you can speed it in the preferences up to 2x in the view & controls panel. button1 (left) of the device let you switch between the 3 modes. button2 let you switch between unconstrained and dominant mode. the plugin must be named 3DxNdofBlender.plug and be placed in a folder named plugins in same folder as executable check no scaling is done in the plugin please check it works ok on 3 platforms
2007-07-22commiting new viewmovendof code from sfgorosJean-Luc Peurière
as this is not working code for me, and i've not investigated yet why, i protected it with a define in view.c line 566 USE_NEW_NDOFMOVE comment this line to use old code
2007-06-13first workable version on Os XJean-Luc Peurière
work only in non camera mode in 3D view need the external plug-in to be compiled separately line 894 of ghostwinlay.c must be replaced with values adapted at your system see mailing list for features planned and how to use
2007-05-29adding the initial patch updated to 2.44 in ndof branchJean-Luc Peurière
notes : it compiles but is non functional lacks the platform specific changes in ghost ( i cant test windows) lacks the code for plug-in. the platform specific code will be added when we sync with Ettore work the plug-in itself cannot be added here
2007-05-08SSS fixes:Brecht Van Lommel
- Radius R, G, B sliders had too small number increase on clicking. - Preview render now renders with higher SSS error setting to speed it up a bit. - bug #6664: 3d preview render had artifacts. re->viewdx/dy wasn't set then, which is needed to estimate the area of each point. Have set this now, not in the nicest way, there is some bit duplicated code, but I don't want to refactor existing code with the chance of breaking it at this point. - bug #6665: grid like artifacts with parts rendering. The two extra pixels around parts used for filtering were used as well, leading to double points.
2007-04-30* Only reset local view near camera clipping to 0.1 if it was previously ↵Matt Ebb
larger. i.e. if I'm zoomed in working on something zoomed in close with a short near clipping distance, don't suddenly clip off my work when I enter local view.
2007-04-20adding a python function for cleaning strings (for filenames and export ↵Campbell Barton
names) BPySys.py - used fotr obj and fbx export. view.c - missed one smoothview/camera. Brigg's hide object patch didnt change the object selection flag, other minor changes also.
2007-04-19moving from camera view with home and astrix keys now uses smooth view (This ↵Campbell Barton
should be the last one). Fix for own error from a wile ago Numpad-Astrix would set to size view of selected faces, rather then front.
2007-04-19recent smoothview update broke pan in camera view, some vars used in the ↵Campbell Barton
function needed to be used after, reverting this change.
2007-04-19remove warnings from last commit.Campbell Barton
smooth view now works for change between cameras, smooth view now blends the lens angle too.
2007-04-17maving too many objects for the select buffer would crash blender.Campbell Barton
added checks for an error value returned from view3d_opengl_select so as not to act on bad data. also the error message didnt display because of where it was, delayed the error so it displays right.
2007-04-14update to center view.Campbell Barton
- Dont do anything if no verts or faces are selected (used to zoom into 0,0,0) - use the centers of dupli objects (should eventually use their bound boxes), much nicer when dealing with many dupli-objects
2007-04-121 liner, dont go closer then the clipping when centering the view ↵Campbell Barton
(PADPERIOD) - make centering on a vert a lot more useful
2007-04-11mesh_wire, fixed error with zero area edgesCampbell Barton
Holding Ctrl flips the align view in editmode. (patch from BeBraw)
2007-04-09Use smoothview For * (align to object) and editmode align to selected.Campbell Barton
2007-04-09smooth view transformations, set the smoothview value to about 250 and the ↵Campbell Barton
view animates when you switch between side, top etc.