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
2011-11-07Camera tracking integrationSergey Sharybin
=========================== Commiting camera tracking integration gsoc project into trunk. This commit includes: - Bundled version of libmv library (with some changes against official repo, re-sync with libmv repo a bit later) - New datatype ID called MovieClip which is optimized to work with movie clips (both of movie files and image sequences) and doing camera/motion tracking operations. - New editor called Clip Editor which is currently used for motion/tracking stuff only, but which can be easily extended to work with masks too. This editor supports: * Loading movie files/image sequences * Build proxies with different size for loaded movie clip, also supports building undistorted proxies to increase speed of playback in undistorted mode. * Manual lens distortion mode calibration using grid and grease pencil * Supervised 2D tracking using two different algorithms KLT and SAD. * Basic algorithm for feature detection * Camera motion solving. scene orientation - New constraints to "link" scene objects with solved motions from clip: * Follow Track (make object follow 2D motion of track with given name or parent object to reconstructed 3D position of track) * Camera Solver to make camera moving in the same way as reconstructed camera This commit NOT includes changes from tomato branch: - New nodes (they'll be commited as separated patch) - Automatic image offset guessing for image input node and image editor (need to do more tests and gather more feedback) - Code cleanup in libmv-capi. It's not so critical cleanup, just increasing readability and understanadability of code. Better to make this chaneg when Keir will finish his current patch. More details about this project can be found on this page: http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2011 Further development of small features would be done in trunk, bigger/experimental features would first be implemented in tomato branch.
2011-11-05misc doc editsCampbell Barton
- remove recently added sphinx reference workaround. - tested doxygen, correct some warnings, set tab width and added pymathutils group. - added convenience target 'make doc_doxy'
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-19edits to radish before merge with trunkCampbell Barton
- removed some unused functions. - renamed vars to make more sense paint_vertex.c 'flags' --> 'lock_flags' - some odd modifications were made in unrealted, commented code, copy these back from trunk. - rename vertex_group_fix 'cp' property to 'accuracy' - make style more consistant with trunk. - remove 'Radish' comments.
2011-09-18Split do_weight_paint_vertex() to isolate the simple case.Jason Hays
Added a tool-tip to the "fix deforms" op. Removed code markers: "Radish"
2011-09-18Changed the branch code markers to say "Radish" in response to a review.Jason Hays
They weren't & aren't meant to show ownership, they just help me navigate my related code.
2011-09-13quiet compiler warningsCampbell Barton
2011-09-13svn merge -r39558:39800 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-27fix [#28373] "Lock camera to view" doew not work with 3D-mouse Campbell Barton
2011-07-05Added Selection support to weight paint.Jason Hays
"Started" putting in wp's circle select, but it isn't there yet.
2011-06-09[#27615] Box select of mesh object disabled or translated due to curve objectCampbell Barton
ED_view3d_init_mats_rv3d was calling glMultMatrixf() which was mostly harmless but could also lead to confusing bugs (2 reported previously). Looked into this and every call to ED_view3d_init_mats_rv3d except for object drawing, doesn't need this so made a second version of ED_view3d_init_mats_rv3d - ED_view3d_init_mats_rv3d_gl which does the matrix multiplication, remove confusing checks in selection code.
2011-05-23fix [#27462] Linked Object (camera) can be moved by Lock Camera to ViewCampbell Barton
2011-05-23fix view3d_persp_mat4, which gave incorrect translation, rename to ↵Campbell Barton
ED_view3d_to_m4. added doxygen docs.
2011-05-21view3d function naming, no functional changes.Campbell Barton
2011-05-20use consistant arguments to ED_view3d_win_* funcs, a single float vector ↵Campbell Barton
rather then 2 floats.
2011-05-20function rename to give clearer meaning that they change from window to 3d ↵Campbell Barton
coordinates. some functions had vague names, I even ended up re-writing some of these functions by accident! also added doxy comments. * ED_view3d_win_to_3d (was window_to_3d) * ED_view3d_win_to_delta (was window_to_3d_delta) * ED_view3d_win_to_vector (was window_to_3d_vector / viewvector) * ED_view3d_win_to_segment_clip (was viewline) * ED_view3d_win_to_ray (was viewray)
2011-05-20simplify window_to_3d_vector() and call it from viewline()Campbell Barton
also update python view function to match.
2011-05-19change window_to_3d to take screen coords as floats.Campbell Barton
2011-05-18window_to_3d() wasn't working at all (only used by grease pencil/path ↵Campbell Barton
conversion), now works in ortho and perspective view, initgrabz() is no longer needs to be called first.
2011-05-18there wasn't a good way to know if a RegionView3D was perspective or not ↵Campbell Barton
(without having the View3D too and checking its camera values), added struct member 'is_persp', set with the view matrix.
2011-05-15fix for user reported issuesCampbell Barton
- camera object movement was missing a notifier - auto perspective now works when rotating the view. - shift+b now zooms.
2011-05-14option to have the view controls apply to the camera view (and camera object).Campbell Barton
- follow rotate/pan/zoom/dolly operators. - auto-depth preference works. - smooth view navigation supported. - view selected, all & numpad operator work too. TODO - deal with camera transform locked axis - find a way to move/zoom the frame while the camera is locked (if it turns out to be a problem).
2011-05-14view3d api edits, no functional changes.Campbell Barton
rename v3d functions * view3d_to_ob -> ED_view3d_to_object * view3d_apply_ob -> ED_view3d_from_object * view3d_apply_mat4 -> ED_view3d_from_m4 Changed ED_view3d_to_object() not to temp modify the view rotation and don't overwrite the objects recalc.
2011-05-13rename setcameratoview3d to view3d_to_ob & add to ED_view3d.h so others can use.Campbell Barton
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-04-30use camera render argument to avoid temp overwriting the scene camera.Campbell Barton
also fix for mistake with rendering stars from previous commit.
2011-04-28fix [#27193] view/camera/set active object as camera sometimes "disabled" in ↵Campbell Barton
gui (grayed out) When in quad split view, operators that only apply to the unlocked region can now be accessed from menus and when the mouse is over a locked view. Applied to: - VIEW3D_OT_object_as_camera - VIEW3D_OT_view_persportho - VIEW3D_OT_view_orbit - VIEW3D_OT_viewnumpad
2011-04-26- fix for player linkingCampbell Barton
- added notes to release todo's. - renamed view3d view transform matching functions. - added assert in edge split modifier to make a certain bug easier to spot.
2011-04-25rna apiCampbell Barton
- allow RegionView3D.view_matrix to be set. - RegionView3D.view_rotation was inverted. - add C function view3d_settings_from_mat() note, intentionally removed NULL checks, double checked this is ok with callers.
2011-04-21bugfix [#27091] Add new vertex at wrong position ( ↵Campbell Barton
bpy.ops.mesh.dupli_extrude_cursor() ) 2 Ctrl+Click on mesh or curve view was using the selected points location or the cursors. if either of these was behind the view it would add the point at (0, 0, 0). now fallback to the view orbit pivot, added this option as an argument to view3d_get_view_aligned_coordinate().
2011-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-04-05utility function for getting the vector direction the mouse is pointing in a ↵Campbell Barton
perspective view.
2011-03-13[#26482] Solidify / Animation Opengl render. no texture.Campbell Barton
workaround for view3d datamask not being correct on opengl render.
2011-03-08fix bug [#26315] Background and 3D view mistakes Campbell Barton
The bug is caused by a fix for [#22111], commits r29356, r28545. exiting localview would set the rv3d->view but use the original rv3d->viewquat.
2011-03-07bug [#26329] Project Paint not workingCampbell Barton
we cant ensure that a requested buffer can be allocated so report opengl errors when failing to allocate the buffer (rather then printing to console). this is common enough and generic error isn't too helpful to users.
2011-03-02replace references to old arithb libraryCampbell Barton
2011-02-21doxygen: editor entryNathan Letwory
2011-02-02fix [#25684] Grease pencil strokes with "Surface" option attach erratically ↵Campbell Barton
to curves. added new functions - view_autodist_depth_segment() - plot_line_v2v2i(), which takes a callback and plots x/y points.
2011-01-18Bugfix [#25684b] Surface and Stroke options are not working with UseJoshua Leung
Sketching Sessions. Fix for secondary issue noted in this bug report. Some of the code for the fancy 3d view sketching options needed to be moved around so that there is a clearer "paint/sketch session" and "stroke" separation between various stages. There's still some more stuff that needs to be done here before I think it's totally cleaned up.
2011-01-02Spelling fix: itterator->iteratorSergey Sharybin
2010-12-23Fix for multiple modifier stack calculations per frame.Campbell Barton
Since 2.5x blender has been using CD_MASK_BAREMESH for updating objects since object_handle_update() no longer has access to G.curscreen to calculate the mask from viewports. The problem with this is after an initial calculation, CD_MASK_MTFACE may be required on draw, so it would recalculate the modifier stack multiple times per frame. One case which caused this is armature animated mesh with texface in a dupligroup. Fix this by having customdata_mask member in the scene, this isn't great design but at least fixes the bug and only changes a few files.
2010-12-04remove shadowed definitions but keep them as zero this time.Campbell Barton
2010-11-26bugfix [#23118] Blender freezes when combing hair - OS X path changes related?Campbell Barton
- glReadPixels() was running to get the depth on each pixel, this works fine one some cards but was locking up on OSX. - Replace glReadPixels() call with a single call to view3d_update_depths() right after view3d_validate_backbuf(), so the depths are only read once. - Unrelated to the changes above, but should improve performance: view3d_validate_backbuf() was being called on every redraw while combing, now only call once when combing starts.
2010-11-08fix for glitches with quad-split view.Campbell Barton
- Home or Numpad Period with smoothview disabled were not syncing up the other views. - Disabling clip only disabled clip syncing but left clip enabled for all views. - Clip was being calculated for every update even when not enabled. - The perspective view was being used to copy settings from when changing box & clip settings, resetting the distance each time. Now use one of the aligned views instead.
2010-11-05centralize function for calculating pixel size. (no functional changes)Campbell Barton
2010-10-27keep the view centered with camera shift, camera view grease pencil ↵Campbell Barton
intentionally ignores shift.
2010-10-21fix [#24339] Auto Depth, makes viewport lag.Campbell Barton
The problem is the opensource nvidia nouveau drivers are slow running glReadPixels(), was hanging on memcpy(). However for autodepth its not needed to update the entire 3D view depths, so added view3d_update_depths_rect() to get the depths for a smaller area.
2010-08-27ED_view3d_draw_offscreen_imbuf_simple and ED_view3d_draw_offscreen_imbuf now ↵Campbell Barton
accept the imbuf flag so they can get the float buffer from opengl directly.
2010-08-25bugfix [#22819] Grease Pencil: OpenGL render incorrect if view mode, OK with ↵Campbell Barton
cursor mode also made drawing in camera view stick to the camera border (belated durian request), useful for animation review without worrying about screensize moving the overlay about.
2010-08-10header re-shuffle, some headers contained unneeded refereces to other ↵Campbell Barton
headers, better include inline with the C files that need them