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-12-04add define for deprecated DNA struct members: DNA_DEPRECATED,Campbell Barton
this means use of deprecated struct members gives a warning. - makesdna.c preprocessor skips this. - DNA_DEPRECATED_ALLOW is used so readfile.c can do versioning without warnings. - this exposes some use of deprecated struct members, will deal with this after.
2011-11-30option to disable/enable individual background imagesDalai Felinto
*** use-case: "I have 10 reference images that overlap each other and every time I want to see one, I need to change the transparency of all the others. therefore it would be nice to have a little button by each menu to allow enable/disabling individual background images" To avoid subversioning bump I created a define that is negative (DISABLED) and of course a rna that is a boolean_negative. Talked with Campbell and he actually prefers this way over do_version, so there it goes.
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-02RenderEngine api: support for viewport rendering, details here:Brecht Van Lommel
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/RenderEngineAPI * This adds a Rendered draw type in the 3D view, only available when the render engine implements the view_draw callback. * 3D view now stores a pointer to a RenderEngine. * view_draw() callback will do OpenGL drawing instead of the viewport. * view_update() callback is called after depsgraph updates.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-08-25Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport ↵Mitchell Stokes
and BGE" by me. Description from the tracker: "It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."
2011-07-26experimental onscreen rotation guideMike Erwin
2011-07-22tweaked ephemeral ndof data typesMike Erwin
2011-05-20make api functions for converting rv3d->camzoom, so the odd logic for this ↵Campbell Barton
isn't inlined all over.
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-15remove some unused view3d members & added RV3D_VIEW_USER define.Campbell Barton
Aligorith: replaced v3d->keyflags with ANIMFILTER_KEYS_LOCAL since v3d->keyflags couldn't be set anywhere and wasn't initialized.
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-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-08remove unused RegionView3D retopo pointer and set quat printing to const args. Campbell Barton
2011-02-17DNA header files are now grouped under the same module. No further ↵Nathan Letwory
documentation done.
2011-01-17remove/comment unused defines, also zero FileGlobal.filename to quiet valgrind.Campbell Barton
2011-01-15remove/comment unused defines.Campbell Barton
2010-12-23remove View3D.customdata_mask, since its stored in the scene now there is no ↵Campbell Barton
need for each view to store every views combine data mask.
2010-12-22bugfix [#25335] crash with file, console told me to report! svn 33836Campbell Barton
view rotate precision was lost over time, make view3d rotate normalize rv3d->viewquat. note, this no longer crashes blender, just prints. also commented some RegionView3D struct members.
2010-11-30misc small changes.Campbell Barton
- commented unused View3D->flag's - popup dialog now centers over the mouse - only overwrite image alpha with render settings on save if saving the render result.
2010-11-21fix for RNA ranges exceeding the range of the type (INT_MAX used on short's ↵Campbell Barton
for eg).
2010-11-16bugfix [#24746] Align Camera to View locks 3D Editor in Camera Perspective ViewCampbell Barton
2010-10-31Lock to CursorNathan Letwory
Patch by Dan Eicher. In 3dview properties you can enable this. Rotating view then uses cursor as pivot point. Note that with this option enabled just relocating the 3d cursor also changes the 3dview. Sebastian König: "Now the 3d cursor is actually useful" (sitting next to me while applying patch at bconf hostel)
2010-10-19use unsigned int for all layers.Campbell Barton
2010-10-02set the view3d used layer to be an unsigned int, mask out localview layers ↵Campbell Barton
to avoid flag mismatch when checking if it changed.
2010-10-02make fly mode border draw into a area drawing callback rather then using a ↵Campbell Barton
flag (no functional change).
2010-09-11- camera max zoom limit was inconsistentCampbell Barton
- camera pan now follows the mouse
2010-08-25simplify pass drawing, give each pass its own list, avoids some context ↵Campbell Barton
switching. - also fixes a problem where xray+transp+alpha1.0 objects wouldnt draw at all. - the patch worked by adding twice but this leaked memory. - solve by adding the xraytransp object to the xray list if the alpha is 1.0
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-16draw option to only display what is rendered, used for sequencer, opengl ↵Brecht Van Lommel
drawing by default. since we use preview renders a lot the empties & armatures can get in the way also. (commit 27511 by Campbell from render25 branch)
2010-03-09Fix [#21145] Preferences: Solid OpenGL lights viewport updateMatt Ebb
2010-02-12correct fsf addressCampbell Barton
2010-02-01Fix #20891: opengl animation render could mess up the view.Brecht Van Lommel
The problem was that wmPushMatrix/wmOrtho/.. and similar functions did not work well for offscreen rendering. It would have been possible to make a fake subwindow for this, but I decided to just remove this extra layer as it does not seem to have much purpose and has been quite confusing when trying to fix other bugs. The relevant matrices are already stored in RegionView3D so there will be no increase in calls to glGetFloat, which may have been a performance reason to use this system in the past.
2010-01-20patch from Bjørnar Hansen (anachron)Campbell Barton
Multiple background images displaying each on a different axis. Changes made from the original patch. - Use an enum rather then multiple booleans. - Reduced the space taken up by the user interface. - Made the image template compact display not show fields & premul options. - Added readfile.c lines so old blendfile images are loaded. - Option to hide BGpic UI (like modifiers & constraints) - Use the index rather then a bgpic from the context for the remove operator. note: could be good to use 1 image for both left+right, for eg, but for this to work as intended we would need to add image flipping depending on the axis so left this commented out for now.
2009-12-29Make manipulator axis fade away and become invisible when perpendicular to ↵Martin Poirier
the screen. Move some more vars to RegionView3D from View3D Also remove some code no longer used.
2009-12-27Partial fix for [#20166] Snap to grid issuesMartin Poirier
Move gridview (the actual drawn grid size, including adaptation to zoom) to RegionView3D from View3D. This solves the transform increment bug but not the Snap Menu bug (context is not set to the correct rv3d when executing operator from menu).
2009-12-17Fix #20374: Limit selection to visible would not work anymore after trying toBrecht Van Lommel
select once but not selecting correctly, due the need backbuffer flag not being reset correctly in the 3d view.
2009-11-25Sculpt:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24483:24889
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-21[#19930] Nurb CV select is failing because of view clippingCampbell Barton
- the clipping test function was using the rv3d->viewmatob where it needed to use the object matrix. - added a local clipping member to rv3d, the clipping planes in object-space, avoids many matrix multiplications when testing verts or clipping pixels when projection painting.
2009-10-28Gimbal Transform orientationsMartin Poirier
Will use rotation gimbal axis when an object or bone set to Euler rotation mode is selected (global axis otherwise) Use case: being able to do rotations that only affect one animation curve in the 3d view instead of just in the curve editor. I'm committing this right now despite what follows because it's already useful as is. Known bug: manipulator arrows can look slightly skewed (not really a big problem), but more importantly, rotation circles for the rotation manipulator are skewed and will not perfectly reflect the rotation axis (it will still use the correct one though). That will be fixed shortly. To do: This orientation should act like Local, where each object/bone uses its own orientation and not just the one of the active object/bone. Note: Saved files with custom orientations might end up with other orientations selected when being opened up. I don't think it's that useful to make a do_version for that, but I can if warranted.
2009-10-27- Right click menu can open links directly to API reference docs (rna and ↵Campbell Barton
operators) - Generated and uploaded api docs - http://www.blender.org/documentation/250PythonDoc - Added Edit docs menu item & operators as discussed with Mindrones, Brecht, Stani & Letterip @ bconf, needs some web backend. python operator can aparently use xml/rpc to upload docstrings. - Added operator invoke function - context.manager.invoke_props_popup(self.__operator__, event) this calls a popup for invoke by default (which intern calls execute()) - Own recent commit to game framing applied to non-camera views too. - v3d->persp is deprecated but still used in some places. - Transforming strips could overlap 1 frame if moving them below frame 0 - Transforming overlapping strips could go into an eternal loop (though overlapping strips should not exist)
2009-09-22- removed View3D->localview since it wasnt set on entering localview (making ↵Campbell Barton
many tools fail, add objects for eg.), check localvd instead. - Accent (`) key now sets all layers (like in 2.4x) - added Alt+C keybinding for converting object types.
2009-09-18Keymaps now have a poll() function, rather than adding/removingBrecht Van Lommel
their handlers based on notifiers, which is simpler and more reliable. This fixes for example editmode or uv edit keymaps not working when creating a new 3dview or image space.
2009-07-082.5Ton Roosendaal
Brought back the basics for transform manipulators. Martin will hook it all up to new transform system. Some notes: - Still uses G.moving - BIF_do_manipulator() is called as a View3D Operator I've tested selecting handles, added a print to confirm - BIF_GetTransInfo() returns a dummy struct now, just to get it running. - Marked some other issues with XXX
2009-05-31* started wrapping 3d view space in RNAMatt Ebb
2009-05-182.5Ton Roosendaal
Text drawing in 3D window fixed, using BLF default font (yes, nice AA'ed fonts too :) Solved it by gathering all strings that needs to be drawn for an object, and then draw in end of object drawing, in pixelspace. Also cleaned up some of the code for projecting 3d coords, much nicer now (mat stored in region-view3d)
2009-04-272.5Martin Poirier
Fix repeat crash with transform. Just remove stupid twmat, don't need to cache results in view3d. Made it more safe too.
2009-02-192.5Ton Roosendaal
Assorted smaller fixes: - Fix: modal keymaps for editmode in view3d were not set again when you copy areas or go fullscreen. - Improved "redo last op" (F6) to search back in history for a redoable operator. Operator also used wrong pupmenu type. - On creating new FCurve editor, the channel rainbow colors are set correct. - EditMesh: fixed code for Spin/Screw, correct props, init and error reporting. (Spin hotkey ALT+R temporary) - recompiled all to check for uninitialized variable warnings. (compile flag should be -O for this). Fixed some proto's.
2009-02-112.5Ton Roosendaal
Smaller jobs, all in one commit! - Moved object_do_update out of view3d drawing, into the event system (currently after notifiers). Depsgraph calls for setting update flags will have to keep track of each Screen's needs, so a UI showing only a Sequencer doesn't do objects. - Added button in "Properties region" in 3D window to set or disable 4-split, including the 3 options it has. (lock, box, clip) - Restored legacy code for UI, to make things work like bone rename, autocomplete. - Node editor now shows Curves widgets again - Bugfix: composite job increased Viewer user id count - Bugfix: Node editor, not "Enable nodes" still called a Job, which didn't do anything - Various code cleaning, unused vars and prototypes.