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.
2006-05-29Yafray 'should' now work again. A bit more testing needed.Alfredo de Greef
But seems to work sofar anyway, composit nodes should work as well.
2004-06-16New export through plugin scheme for yafray. It is working on linux and mac os xAlejandro Conty Estevez
Needs latest yafray, you can get it from cvs, but I have also binaries for os x here: http://www.coala.uniovi.es/~jandro/noname/downloads/yafray-0.0.6-3.pkg.zip To use it, go to yafray panels (global settings) and uncheck the "xml" button. That would tell the export code to avoid xml export and use the yafray plugin instead. You'll see the render being draw while running and you can even stop it with ESC key. Since I'm sure problems will appear, expect updates soon. Remember: does not work on win32
2004-01-09Code reorganization to allow a clean export to plugin alternative forAlejandro Conty Estevez
yafray
2004-01-05Yafray export code moved to source/blender/yafray to keep blender/src pure CAlejandro Conty Estevez
code. Now all the cpp code is in intern under yafray and the api include file is just plain C Also changed old include in initrender.c and updated Makefiles.am and configure.ac so the new dirs are taken into account.