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-23soc-2008-mxcurioni: merged changes to revision 15705Maxime Curioni
2008-06-17* Simple addition to math node (comp and shading): Greater Than and Less ↵Matt Ebb
Than modes.
2008-03-16Fix for bug #6850: after zooming into the curve widget it couldBrecht Van Lommel
become impossible to zoom out (with clipping enabled).
2008-03-11Added an Alpha Convert compositor node, to convert betweenBrecht Van Lommel
premultiplied and key alpha.
2008-03-11Tiny tweak, added a space in the node title between custom name and node type.Matt Ebb
2008-03-08Long on the wishlist, quite simple even, and there it finally is:Ton Roosendaal
Compositor: Muting option to temporary disable/enable nodes. Hotkey: press M on selection. It toggles. Note: no menu entry yet, and drawing style could be tweakered...
2008-02-29Fix segmentation fault in Image node when change the Layer in EXR files.Diego Borghetti
The argument in the uiButSetFunc is a Image struct, but BKE_image_multilayer_index expect a RenderResult struct, so when you load a exr file and try change the Layer, Blender crash. (image_layer_cb call BKE_image_multilayer_index)
2008-02-29Didnt set the image output node active before browsing the files.Campbell Barton
2008-02-29* Fix for own big, Adding group objects from the outliner didnt check they ↵Campbell Barton
were externally linked. * ping "~" in the fileselectors dir will take you to $HOME (non win32) * Added a file selector for Node output image
2008-02-28Fix segfault with bad setting in the Image node.Diego Borghetti
The limit in the UI tooltips to set the amount of images used in animation allow the zero value, that cause a segfault. This commit fix the UI, add a init value of 1 to the node and also check in case that node_composit_get_image return NULL.
2008-02-25Fix for bug #6747: make single button for node groups didn't work,Brecht Van Lommel
functionality was not implemented.
2008-02-24Fix for bug #8331: compositor nodes backdrop displays in material nodes.Brecht Van Lommel
Fix for bug #8083: backdrop not displaying centered in the window. Fixes for both provided by Fabian Boehlke, thanks!
2008-02-23=== PyNodes ===Nathan Letwory
* Make PyNodes work with threaded renderer. This patch is by Willian. He has worked hard on getting this sorted out - now you should be able to render with PyNodes AND multiple threads.
2008-02-23=Reversion of premul bugfix=Joseph Eagar
Reversion of premul bugfix, as it was apparently not working all that well. Note that this brings back the bug where the erase alpha paint tool won't display correctly, since the UV image editor just draws images in key alpha now.
2008-02-19Further work on the premul option for ton. This optionJoseph Eagar
(which basically tells the renderer and compositor to expect a key image) is now done at the image user level. This does have some caveats, as image users don't always work the way I thought they would/should (for example, the same image user structure is apparently used in the uv image editor for all images, which is kindof odd). The UV image editor also now smartly detects if the premul option is set and draws the image using key alpha, instead of premul The subversion level was upped to convert the old premul flag, which was at the image level, to the new one, which is at the image user level.
2008-02-10== PyNodes ==Willian Padovani Germano
1) Including the Add->Dynamic submenu in the Nodes window header. Previously pynodes could only be added via toolbox. 2) Disabling pynodes execution when using more than one thread for rendering. This prevents the crashes while a proper fix isn't implemented.
2008-02-10== PyNodes ==Willian Padovani Germano
First fix in trunk: The "Update" button that appears in the Material buttons -> Nodes panel when a pynode is selected wasn't forcing an immediate update. Added a BIF_preview_changed call to fix it. Let's pretend I actually knew that button also appeared there :) ... weeks working on pynodes and only right after Nathan commits to trunk I realize that this part of node panels is drawn in the buttons window, too.
2008-02-10* Merge of PyNodes to trunk. Finally!Nathan Letwory
See http://wiki.blender.org/index.php/BlenderDev/PyNodes and http://wiki.blender.org/index.php/BlenderDev/PyNodes/API For current documentation. Very very big thanks go to William Germano for fixing the memory issues left and for improving on the code. In the coming time documentation will be finalised and further stabilising of PyNodes is to be expected.
2008-02-04AlphaOver node feature: "Premul" slider allows to mix between theTon Roosendaal
using alpha as premul or nonpremul. Quite useful for brightness tweaks. Todo: version-patch this so ConvertPremul button goes away Todo: make entire compositer accept non-premul by default... or both
2008-02-03More fixes for gcc warnings.Ken Hughes
2008-01-22* Fix button alignment in vecblur node after the excellent recent commit. ↵Matt Ebb
Also gave it a proper button instead of just 'C'.
2008-01-21Vector Blur now has option to be curved!Ton Roosendaal
Especially for fast moving objects (as we have here in Peach) the art department demanded nice curved vector blur. This formula uses a quadratic bezier function, which is not giving perfect circles, but certainly useful results. Also on todo: get this blur code to do nicer accumulation...
2008-01-18Fixed some whitespace indentation I found while looking at something else.Kent Mein
Kent
2008-01-14Feature + Fix:Ton Roosendaal
- while sampling color in image window, you now get the sampled color as a line drawn in the node editor Curve nodes, allowing quicker view of what values you actually change. - reverted temporary the patch [#6779] by Matthew Plough He replaced image drawing of backdrop-node-editor with our Texture drawing function. That call is extremely slow, and should be by definition slower than glDrawPixels (unless you don't upload the image each time to gfx mem). Drawing large frames (2k, 4k) in node editor became unacceptable slow, even with the neatest hardware around. (tested nvidia, ati) Probably (Campbell thinks) this is a bypass for Linux ATI cards? Anyhoo, this should be investigated further before applying. It better then becomes a user pref, or even much better: part of the OpenGL profiler we need.
2008-01-08Minor changes to node rename toolJuho Vepsalainen
Rename was changed to work on the last selected node. Also size of a couple of character arrays was changed to avoid buffer overflows. Custom name shows up now just fine in group header in case it is being edited as it did not before.
2008-01-07Custom Names for NodesJuho Vepsalainen
This commit makes it possible to add a custom name to a node. The feature can be accessed either by using a menu or shortcut ctrl-r. It currently works only when a single node is selected. Invoking the feature gives a popup menu in which a new name can be entered. If the given name is not empty, it will be shown like "(myCustomName) NodeName" in the node header. This feature is particularly useful when documenting complex node setups. I also fixed the size of blur node. It was too short before due to my previous commit. Thanks to David Millan Escriva for contribution!
2008-01-07Blur Node to support Relative (percent) valuesJuho Vepsalainen
This commit makes it possible to use relative values when using a Blur node. There is a new toggle in the node that can be used to enable the feature. Thanks to David Millan Escriva for contribution!
2007-12-27Bilateral Blur NodeJuho Vepsalainen
Bilateral Blur node allows the user to blur images while retaining their sharp edges. Blurring can be controlled by following controls: *Iterations *Color Sigma *Space Sigma Also image input to blur and a determinator image is provided. The node produces a blurred image as its output. The more iterations are provided, the smoother the result. Use color and space sigmas to control the amount of blur. One way to use the determinator input is to feed a mix (add) of Z and normal passes to it. Examples of usage: Ambient Occlusion smoothing - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_01.blend Blurry Refraction - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_02.blend Smoothed shadows and smoothed Ambient Occlusion combined - http://wiki.blender.org/index.php/Image:Bilateral_blur_example_03.blend If you check out the examples, render the image and alter the values to see how they affect. More information about the algorithm can be found at http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/MANDUCHI1/Bilateral_Filtering.html . Thanks to Vilem Novak for contributing the patch.
2007-12-27Directional Blur NodeJuho Vepsalainen
Directional Blur node allows the users to do various blur operations on the input image. It essentially offers three different kind of ways of blurring in one node. It is possible to blur using a certain direction, spin and zoom. These three ways can be used in conjunction. The node contains following controls: *Iterations, Wrap *Center: X, Y *Distance, Angle *Spin *Zoom Iterations is used to determine the smoothness of the result. The more iterations, the smoother result. Low values are good for preview. Wrap means that the image is wrapped as if it was tiled on both x and y directions. To see better what this means, try it with spin for instance. Center values (X and Y) determine the location which is used as a pivot point for the operations. It is center (0.5) of the image by default. Distance and angle are used to adjust directional blur. The result can be described as a sweep that varies based on given distance (bigger distance, longer sweep) and angle. Angle is given in degrees. Spin produces rotating blur based on given angle. Yet again it is in degrees. Also negative values work. Zoom causes the image to be zoomed towards set center point (Center values). Thanks to Alfredo de Greef (eeshlo) for contribution. Possible development ideas: *Make an algorithm to extend image in case spin is used. Extend would temporarily change the size of the canvas of the input image. Canvas would be filled based on colors on the edges of the input image. After the blur operation has been done, the image would be cropped back to normal size. The advantage of this would be nicer result of spin (no problems with image size) on a computational cost. *Make values animatable. This is something that is better solved on more general level. ("everything is animatable" paradigm) *Provide an option to calculate automatic value for iterations. A good value that produces a smooth result could be calculated based on direction deltas. This would be useful in conjuction of animatable values.
2007-12-27Toggle links tool for Node EditorJuho Vepsalainen
This commit adds a new tool, Toggle Links, to the node editor. This tool allows the user to toggle the status (linked/not linked) between desired sockets. The tool can be used either by using the f key or the menus. This functionality is analogue to one found in object editing modes except for its additional toggle functionality. To use this tool, the user has to first select an input and an output socket. Selecting is done by clicking with right mouse button on a socket. After the tool has been invoked, the link between those two sockets is toggled. The result may vary based on existing linkage. There can be only one input and one output selected at maximum in a node tree. This means that if the user selects a socket while one of the same type is already selected, the old one will be deselected. The tool complements the current way of connecting nodes. One possible use for it is to use it to review output of nodes by using a viewer node. Just select wanted input socket of a viewer node, set it visible and use selection of an output socket in conjuction with f key to show the output in the viewer node. Select another output and hit f to see its output and so on.
2007-12-10[#6779] Fix backdrop draw in nodesMartin Poirier
by Matthew Plough Replaces the glDrawPixel call with glaDrawPixelsTex for faster and interpolated drawing. Adds autocenter and autozoom instead of the clipping that happened previously. Fixes the button event for timely redraw.
2007-11-28Tiny feature, but loadsa code, and big impact for the Blender riggers:Ton Roosendaal
-> Constraint Influence Ipo now can be local, linked to constraint itself You enable this in the IpoWindow header, with the Action icon to the left of the Ipo Type menu. The button tooltips give the clue as well. Tech note: the Ipo now can get directly linked to a constraint, and is being called during regular pose constraint solving. Actions (and drivers in actions) are being calculated *before* pose constraint solving. Result of actions then is written in bones, which then solves the entire pose. This means you can have a driver on both the constraint, as on the action channel for the constraint! Not that I'm going to debug that easily :) Additional fix: Joshua added a copy/paste IpoCurve feature, but he broke the functionality to be able to paste in an empty ipo channel. That now works again
2007-11-14* New feature on compo scale node: "Scene Size %"Matt Ebb
This option sets the relative scaling factor to the amount set in the scene "100%/75%/50%/25%" buttons. It's useful when you've got a fixed background image, and want to do preview renders at a lesser percentage, so you don't have to go and change the scale node each time you change the %. Also removed unnecessary use of a global from texture node.
2007-10-29Crop Compositing Node:Juho Vepsalainen
This commit adds a new node, crop, to the compositor. This node can be used to crop input image. It has two modes of operation. It can either crop image size (Crop Image Size option) or crop while retaining original size of the image. This latter mode can be used to preview the crop. Use X1, Y1, X2, Y2 controls to manage the area to be cropped. Note that I added a check for image preview min and max values to node_update. This is because it could give inappropriate values in certain cases when Crop Image Size option was toggled (values such as x1=0, y1=0, x2=60, y2=0 would result in eternal loop due to bad min and max (min bigger than max!)). The check makes sure that min and max values are always valid.
2007-10-29Small fix:Ton Roosendaal
Commit I did in March (10378) tried to fix typedef callback for Group nodes, but it missed a case, causing group node display to be wrong on load (only first drawing was wrong).
2007-10-26nodes from eechloCampbell Barton
* glare * tonemap * lense distort * fast gauss blur http://projects.blender.org/tracker/?func=detail&atid=127&aid=7505&group_id=9 made fast gauss blur an option for the blur node rather then a separate node.
2007-10-09* Replaced some hard-coded 10000.0 with MAXFRAMEF in the Image sequence nodeMatt Ebb
2007-09-13This is patch [#6772] Background image drawing speedupKent Mein
Thanks goto Matthew Plough (meestaplu) I've tested it on linux with both an nvidia and an ATI card, I've also tested it on a mac and solaris, as well as through a remote display. So I think this one is pretty safe. If it causes problems on older systems we can revert it but I don't think we will have any issues with it. Kent
2007-09-04Fix for bug [#7135] Compositor crash when adding a time node:Juho Vepsalainen
This commit replaces the old function used to draw time node user interface with new one. This should fix the issue. The function can later be reused time node for material node system.
2007-09-02== imagebrowser ==Andrea Weikert
Initial commit of imagebrowser in trunk. BIG COMMIT! Main changes: * completely reworked imasel space * creation and storage of the preview images for materials, textures, world and lamp * thumbnails of images and movie files when browsing in the file system * loading previews from external .blend when linking or appending * thumbnail caching according to the Thumbnail Managing Standard: http://jens.triq.net/thumbnail-spec/ * for now just kept imasel access mostly as old imgbrowser (CTRL+F4, CTRL+F1) a bit hidden still. * filtering of file types (images, movies, .blend, py,...) * preliminary managing of bookmarks ('B' button to add, XKEY while bookmark active to delete) More detailed info which will be updated here: http://wiki.blender.org/index.php/User:Elubie/PreviewImageBrowser Places that need special review (and probably fixes): * BLO_blendhandle_get_previews in readblenentry * readfile.c: do_version and refactorings of do_library_append * UI integration TODO and known issues still: * Accented characters do not display correctly with international fonts * Crash was reported when browsing in directory with movie files * Bookmark management still needs some UI work (second scrollbar?), feedback here is welcome! Credits: Samir Bharadwaj (samirbharadwaj@yahoo.com) for the icon images. Many thanks to everyone who gave feedback and helped so far!
2007-08-22Autocompletion to Geometry input node:Juho Vepsalainen
This commit adds autocompletion and "red alert" feature to text input fields (UV and VCol) of the Geometry material input node. The functionality is similar to one found in UV part of the "Map Input" panel found in Material buttons context of the Buttons Window.
2007-05-31== Shader nodes ==Matt Ebb
* Geometry node: Front/back output This is used as a mask for determining whether you're looking at the front side or back side of a mesh, useful for blending materials, my practical need was giving different materials to the pages of a magazine: http://mke3.net/blender/etc/frontback-h264.mov Give 1.0 if it's the front side, and 0.0 if it's the back side. * Extended material node This is the same as the material node, but gives more available inputs and outputs, (basically just connecting up more of ShadeInput and ShadeResult to the node). I didn't want to add it to the normal simple Material node since you don't always need all that stuff, and it would make the node huge, but when you do need it, it's nice to have it. == Comp nodes == * Invert node Inverting is something that happens all the time in a node setup, and this makes it easier. It's been possible to invert previously by adding a mix node and subtracting the input from 1.0, but it's not the best way of doing it. This node: - makes it a lot faster to set up, rather than all the clicking required with the mix node - is a lot more usable amidst a complex comp setup, when you're looking at a node tree, it's very helpful to be able to see at a glance what's going on. Using subtract for inverting is easily mixed up with other nodes in which you are actually subtracting, not inverting, and looks very similar to all the other mix nodes that usually litter a comp tree. - has options to invert the RGB channels, the Alpha channel, or both. This saves adding lots of extra nodes (separate RGBA, subtract, set alpha) when you want to do something simple like invert an alpha channel. I'd like to add this option to other nodes too. There's also a shader node version too. * Also a few fixes that I committed ages ago, but seems to have been overwritten in Bob's node refactor: - adding new compbufs to the set alpha and alphaover nodes when you have only one noodle connected to the lower input - making the fac value on RGB curves still work when there's nothing connected to it
2007-05-08Bugfix #6658Ton Roosendaal
Node UI for Image sequences also allows negative offset value, so you can have first image be 0000 too (3dsmax)
2007-04-23Changed TESTBASE and TESTBASE_LIB to check the hidden flagCampbell Barton
Checked every instance of testbase to see this dosnt break anything, also changed TESTBASE and TESTBASELIB, both were used incorrectly in places. added error_libdata() for library error messages that are everywhere. added object_data_is_libdata to test if the object and its data's are from a library. fixed 2 crashs in adding Curve points to a library object (remember to check, verify_ipocurve returns NULL!) made duplicating and making dupli's real for lib objects possible, disabled joining into lib armatures and meshes.
2007-04-13BugfixTon Roosendaal
Node system: new typedefinition system caused button callbacks for group node not to work. Since this is not configurable, added it hardcoded. with a "XXX Ugly Hack" note.
2007-03-26Changed node type definitions to use a dynamic list.Ton Roosendaal
This will allow python or plugin defined nodes to work as well. (And fixes compile issues with MSVC in yesterdays commit for nodes) Code provided by Nathan L. Fixes in his code: - free_nodesystem() was called too late (after guarded alloc was closed) - free_nodesystem() was freeing nodes that were not malloced even - free_nodesystem was using free, not freeN :) - the typedefs needed to be malloced yes, to allow duplicate nodes like group but also for dynamic nodes.
2007-03-26All UI code reverted to drawnode.cRobert Holcomb
2007-03-24Scons build system. MSVC 7.1 in a moment.Robert Holcomb
2007-03-03* Compo:Matt Ebb
Added the curve options buttons (clipping, vector handles, etc) to the time node
2007-02-07Uncommit of previous working copy.Robert Holcomb