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
2012-01-31Implemented general functions to store view context like viewport width/heightSergey Sharybin
and projection matrix, so operators which depends on such things can easily save settings in operator properties in invoke and then reuse them in exec callback. This will fix: #24767: Knife tool last operations panel doesn't cause changes even though F6 pop-up does. #27129: Problem with knife cuts/midpoint type in quad view Usage is pretty simple: - From operator template declaration function call ED_view3d_operator_properties_viewmat() to register all needed properties in operator. - From invoke callback call ED_view3d_operator_properties_viewmat_set to store all needed settings in operator properties(). - To access this settings from exec callback, use function ED_view3d_operator_properties_viewmat_get(). Additional change: added function apply_project_float() which does the same as project_float() but accepts actual values for viewport width/height and projection matrix.
2012-01-17Uv Tools branch GSOC 2011Antony Riakiotakis
========================= Documentation: http://wiki.blender.org/index.php/User:Psy-Fi/UV_Tools Major features include: *16 bit image support in viewport *Subsurf aware unwrapping *Smart Stitch(snap/rotate islands, preview, middlepoint/endpoint stitching) *Seams from islands tool (marks seams and sharp, depending on settings) *Uv Sculpting(Grab/Pinch/Rotate) All tools are complete apart from stitching that is considered stable but with an extra edge mode under development(will be in soc-2011-onion-uv-tools).
2012-01-14adjust view3d api function for getting user region to also return view3d ↵Campbell Barton
since most callers need this too.
2012-01-09fix an error rendering opengl weightpaint data wasn't working when python ↵Campbell Barton
initialized opengl render on startup (needed for testing script).
2011-12-27Factor out some generic parts of the sculpting PBVH redraw planes code.Nicholas Bishop
One function converts bounding boxes to screen space, the other converts a screen-space rectangle to 3D clipping planes. Also const-ified some parameters in the ED_view3d API.
2011-12-24replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.Campbell Barton
2011-12-24change customdata mask from an 'unsigned int' to an 'u_int64_t', since BMesh ↵Campbell Barton
branch has run out of bits
2011-11-28view3d - replace magic numbers with an enum to be used with ↵Campbell Barton
mesh_foreachScreenVert, mesh_foreachScreenEdge since it wasnt clear how the values are used. also resolved use of un-initialized variable.
2011-11-23Added method clear to most of collections which supports new/remove.Sergey Sharybin
This method not added to animation-specific structures yet/
2011-11-19Camera: some more refactoring, mostly in the function that computes the cameraBrecht Van Lommel
border, now we just get the border coordinates from comparing the viewport and camera viewplanes.
2011-11-19Camera: some more code deduplication.Brecht Van Lommel
2011-11-19Camera: more code refactoring, adding a function to create CameraParams fromBrecht Van Lommel
3d view, deduplicating the complex code for setting up the viewplane.
2011-11-18Rename bgpic.add() to bgpic.new() to correspond others collections likeSergey Sharybin
render layers, vertices groups and so. Also added bgpig.remove() function to remove specified picture.
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