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
2007-12-15Render InstancingBrecht Van Lommel
================= Big commit, but little user visible changes. - Dupliverts and duplifaces are now rendered as instances, instead of storing all of the geometry for each dupli, now an instance is created with a matrix transform refering to the source object. This should allow us to render tree leaves more memory efficient. - Radiosity and to some degree raytracing of such objects is not really efficient still. For radiosity this is fundamentally hard to solve, but raytracing an octree could be created for each object, but the current octree code with it's fixed size doesn't allow this efficiently. - The regression tests survived, but with I expect that some bugs will pop up .. hopefully not too many :). Implementation Notes ==================== - Dupligroups and linked meshes are not rendered as instances yet, since they can in fact be different due to various reasons, instancing of these types of duplis that are the same can be added for them at a later point. - Each ObjectRen now stores it's own database, instead of there being one big databases of faces, verts, .. . Which objects that are actually rendered are defined by the list of ObjectRenInstances, which all refer to an ObjectRen. - Homogeneous coordinatess and clipping is now not stored in vertices anymore, but instead computed on the fly. This couldn't work for instances. That does mean some extra computation has to be done, but memory lookups can be slow too, and this saves some memory. Overall I didn't find a significant speed impact. - OSA rendering for solid and ztransp now is different. Instead of e.g. going 8 times over the databases times and rendering the z-buffer, it now goes over the database once and renders each polygon 8 times. That was necessary to keep instances efficient, and can also give some performance improvement without instances. - There was already instancing support in the yafray export code, now it uses Blender's render instances for export. - UV and color layer storage in the render was a bit messy before, now should be easier to understand. - convertblender.c was reorganized somewhat. Regular render, speedvector and baking now use a single function to create the database, previously there was code duplicated for it. - Some of these changes were done with future multithreading of scene and shadow buffer creation in mind, though especially for scene creation much work remains to be done to make it threadsafe, since it also involves a lot of code from blenkernel, and there is an ugly conflict with the way dupli groups work here .. though in the render code itself it's almost there.
2007-12-05This is a modified version of this patch:Kent Mein
[#7660] Solaris 10 x86 support (Makefiles) Hopefully it will not mess up anything for anyone else. I removed some hardcoded static libs and made NAN_*_LIB definitions so they could be overridden, to allow greater flexability. Let me know if there are any problems/questions. Kent
2007-11-28== MSVC 7.1 projectfiles ==Andrea Weikert
- update for new particle system - made blenderplayer.exe compile again (DDS library missing) - exchanged a few float math functions (logf, sinf, cosf, expf, powf) with their double counterparts in CMP_nodes (MSVC chokes on them, because the compiler is not C99 compliant)
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-27fix for msvcCampbell Barton
2007-10-27Replace ceilf()/floorf() with ceil()/floor() to fix VC7 compilation problems Ken Hughes
reported by Stephane Soppera.
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-09-24* Change/fix to texture comp nodeMatt Ebb
Previously if the texture node was not connected directly as the second input to a node like Mix, the size of the generated image was initialised to 140x140, which is not that useful. It now is initialised to the size of the render result if it exists, and if not, the size of the scene render sizeX/sizeY. This alleviates bug #7068, which is caused by the displace node trying to get pixels from a texture node, where the texture node doesn't contain pixels to cover the entire image (only 140x140) but it's not really a bulletproof solution...
2007-09-23Dof Object - set the depth of field to an object - set in the camera edit ↵Campbell Barton
panel but the distance is calculated on the camera object only so linked cameras work. Alt+Period - sets active pivot some tooltips didnt make much sense, edited a few.
2007-09-05fix svn properties for line endingsAndrea Weikert
fix a few no newlines at end of file warnings
2007-08-31Updated the Makefiles removing some of the gcc specific stuff...Kent Mein
Basically I moved -funsigned-char -fno-strict-aliasing from individual Makefiles to nan_compile.mk defines for CFLAGS and CCFLAGS Kent
2007-08-31Hue Saturation Value node - port to material node systemJuho Vepsalainen
This commit ports Hue Saturation Value node to the material node system. Unlike in composite version, each value is an input. Composite node version will be updated later to use the same scheme.
2007-08-20Added missing node file:Juho Vepsalainen
This commit adds the file missing in previous one.
2007-08-20"Combine RGB" and "Separate RGB" material nodes:Juho Vepsalainen
These nodes allow the user to separate and combine RGB color channels as in the composite node editor. However they don't contain Alpha channel as it is treated separately in case of material nodes. "Combine RGB" allows the user to use values beyond standard float range ([0.0, 1.0]) if value input node is used to feed the value to it.
2007-07-23Changed logic for early out to require only one input, not two. This allows ↵Robert Holcomb
for an image to be processed with a value.
2007-07-11One more time....I misunderstood the guidance about values as inputs for Robert Holcomb
the math node. Now it functions with two values as inputs (no image neccissary). Kinda back where it started ;)
2007-07-11After chatting with Broken about grs comments on the default behavior Robert Holcomb
of the nodes, I realized I had strayed from the path of enlightened blending by causing the math node to create an output the size of the larger of the two inputs. It has been corrected create the output the size of the first image, and in its abscense the second image. In the event of nether input containing image data the node does not function. I also added some early out checks at the beginning of the function to speed it up a tad in these cases and commented the code a bit more.
2007-07-11Updated Contributor line in GPL header to reflect original source. This Robert Holcomb
closes patch #6215-Normalize.
2007-07-10Added normalize compositing node. Robert Holcomb
2007-07-10Committed patch fixing bug #6900. Math node now has reflective Robert Holcomb
behavior.
2007-05-31Fix for invert comp node, was allocating a compbuf unnecessarily.Matt Ebb
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-20removing test commit comment...Alfredo de Greef
2007-05-20Just testing svn...Alfredo de Greef
2007-05-07bug #6656, caused by two problems, one of which was that when the oldAlfredo de Greef
node_composite.c file was split into separate files for each node, it didn't include a recent defocus node commit. For the other half of the problem, see comments in code.
2007-04-29bug #6615, not complete solution, but slightly improves the result at least.Alfredo de Greef
Additionally fixed another bug, never reported, but a zero bokeh rotation offset seemed to cause missing center lines.
2007-04-18When press ESC in Blur or Defocus node the output buffer is incomplete.Diego Borghetti
This cleanup the output buffer to execute the node again until it's complete.
2007-04-13Added gamma, fixed typos in brightnessRobert Holcomb
2007-04-13Added brightness/contrast nodeRobert Holcomb
2007-04-09CMake: Fix build after nodes changes (including GE linking)Jacques Beuarain
2007-04-05* pointer convention commit: bNode* node -> bNode *node.Nathan Letwory
2007-04-04=== Node editor ===Nathan Letwory
* refactor copying and freeing of node->storage by handlerizing them. - freestoragefunc - copystoragefunc - node_util.c/h have generic handlers for these.
2007-04-04moved source and text to american spellingCampbell Barton
* colour -> color * centre -> center * normalise -> normalize * modelling -> modeling
2007-04-04* sneaky commit IIINathan Letwory
* refactor of shi access * extension of shi access (see http://wiki.blender.org/index.php/BlenderDev/PyNodes#ShadeInput). Note: tex_coords and global_tex_coords have been renamed: texture, texture_global * patch still needed. Uploading after commit
2007-04-03* still silent code (enabled through seperate patch)Nathan Letwory
* changes in alloc/dealloc of pynode internal objects * changes to shd_dynamic.
2007-03-30Bugfix #6469Ton Roosendaal
Crashes in composite; caused by bad bad bug in freeing "passed on" buffers, only happens with option "Free unused" set though. Appeared to be mixup of variable names. Code changes with 2 bytes... :)
2007-03-30* dos2unix (from now on patches shouldn't break on this file).Nathan Letwory
2007-03-28Long wanted feature; decent ESC processing in composite nodes.Ton Roosendaal
Works simple; just check for if(node->exec & NODE_BREAK) break; The main process (node processor) sets such a flag, checking for esc 20 times per second. That means you can check for ESC while doing image processing without much cpu overhead. Currently only added in blur nodes and defocus. Needs to be added all over, nice for others... needs careful tests too. What we now could do is even calling ESC on editing commands or mouseclicks in composite editor? Could give user feeling of interactive app :) Further, finished nodes are kept in memory anyway.
2007-03-28* this is a 'silent' commit, so it is easier to issue patches for pynodes. ↵Nathan Letwory
This code is not activated unless patch is applied
2007-03-28Removed unused button code since it is set in drawnode.cRobert Holcomb
2007-03-27patch to get cmake working with nodes now. Provided by Genscher.Kent Mein
I still have linking issues with it but it is better as is so I'm commiting it. Hopefully will have it fixed fully shortly. Kent
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-26Compiles and links for the blender executable. Somebody else canChris Want
deal with stubs/linking for blenderplayer (I wish people would plan these 'libraries' better).
2007-03-25Makefiles for nodes. Compiles but doesn't link, but I'm late for noodles.Chris Want
To do: either tweak link order, or check functions declared as static.
2007-03-25Reverting my fix for nodes. This is a bigger task... now scons should workTon Roosendaal
again. Robert promised to work on fixes for makefile today!
2007-03-25Fixing Makefiles for new nodes module, part 1:Ton Roosendaal
- removed all UI .h include stuff! (Not allowed outside of src/) - Makefile had typo error, compilation failed Now it survives make, but it does not enter the two the subdirectories for shader and compo nodes. So a linking gives unrecovered stuff in the end. How does that work? I need help!
2007-03-25updated for nodesRobert Holcomb
2007-03-24Scons build system. MSVC 7.1 in a moment.Robert Holcomb