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
2004-04-12More AO fun to play with:Ton Roosendaal
- AO energy slider to control amount - option "Use sky color" for colored AO. The horizon color will define bottom diffuse color, the zenith works on top - option "Use sky texture" will do a full sky render to define AO color Please note that AO energy and color only is found when a ray does not intersect. So for interior scenes make sure 'Dist' value is sufficient low. New also is: - World "Map input" allows "Ang Map" (Angular mapping) which can be used for 360 degree spherical maps, aka as Light Probes. Check samples here: http://www.debevec.org/Probes/ Note that Blender doesn't support HDRI images yet, but option "Use sky tex" already gives intersting results with such images - World sky rendering with Image Textures now correctly filters and uses antialiasing. Also noticable for raytrace mirror reflections - World preview render for sky type "Real" now gives correct view as defined by current used camera. I tried to speed up AO tracing with coherence systems, none of it really worked yet... time to tackle octree itself i guess!
2004-04-06Eeshlo AO patch, revisedTon Roosendaal
- Ambient Occlusion is a more sophisticated ambient trick, which takes nearby faces into account by firing a hemisphere of shadow-rays around. AKA 'dirt shader'. - Eeshlo made it a Lamp type, which doesn't fit well. I've moved the settings to the World menu, and let the Material->ambient value control the amount it contributes - currently, the AO value is added/subtracted/mixed with the 'diffuse' factor while shading, before it is multiplied with Material color Buttons are in new Panel 'Amb Occ" in F8 menu. Note: - "Dist:" by shortening the length of rays you get subtler effects and it renders faster too - "DistF:" the attennuation factor gives control over how the 'shadow' spreads out. Further it's just raytracing, so tends to be slooooow.... :) Here same tricks as for other raytraced scenes apply, especially try to keep the environment as small as possible (exclude faces from Octree by giving them no Material Traceable). I still have to think over a couple of aspects, will await feedback on it: - AO color? Now it just adds 'white' - other sampling patterns? I tried dithering, which was so-so - method of controlling final 'samples' in F10? Might be useful for other oversampling too (area light) to have it reacting to a percentage or so..
2004-04-03#define some constants for physics engines in DNA world types.Kester Maddock
2004-01-06- decided to use a new variable for the new exposure option, instead ofTon Roosendaal
re-using old one. New one = 'exp'. - at first I used the old 'exposure' value, and just mapped it to 0. this causes a problem with upward compatibility, old blenders then render a black picture. is too confusing! - warning; exposure values saved with commit of last week will get lost.
2004-01-05Basic initial yafray integration by Eeshlo.Alejandro Conty Estevez
Materials are exported the best we can do by now. It will look almost as in blender except for the missing procedural textures and some minor issues. You have to tweak normal modulation amount to get the desired result cause is not the same in yafray. We added a panel in render space to adjust some yafray settings (GI and so) Also we export transparency and reflection using new raytracing settings, but that will be changed and improved soon. Remember that you have to set YFexport path in user defaults and yafray must be on path (version 0.0.6) We added the "yafray" button to activate all this stuff in the render window. Panel and settings are only shown when checked. So now when activated the code calls yafray export instead of the internal renderer and finally the resulting image is loaded back into render window's buffer. So animation is also possible and results can be saved using blender usual scheme.
2003-12-31A fix for the missing pad1 bug: henceforth, world->pad1 shall be known asChris Want
world->gameEngine (a la tuhopuu).
2003-12-30Added improved exposure calculationTon Roosendaal
- based at 1.0-exp(-color) trick in Yafray. But to guarantee backwards compatibility, and some more control, Stefano Selleri hacked a useful formula for it. - We now have 2 values to set: - "exp": the exponential correction value (0-1) - "range": the light range that maps on color 1.0 (0-5) - Using exp(x) (is e^x) we can much better prevent overflows from render, which are currently hard-clipped in Blender. Setting a small 'exp' value wil efficiently smooth out high energy and map that back to a color for display. - total formula: newcol= linfac*(1.0-exp(col*logfac)) col, newcol are colors linfac= 1.0 + 1.0/((2.0*wrld.exp +0.5)^10) logfac= log( (linfac-1.0)/linfac )/wrld.range wrld.exp and wrld.range are the button values - default setting: exp=0.0 and range=1.0 give results extremely close to previous rendering. - graph: http://www.selleri.org/Blender/buffer/Image1.png for 'exp' setting ranging from 0-1, and with 'range'=2 Thanks Stefano for the help!
2002-12-27Removed the config.h thing from the .h's in the source dir.Kent Mein
So we should be all set now :) Kent -- mein@cs.umn.edu
2002-11-25Did all of the .h's in sourceKent Mein
(adding) #ifdef HAVE_CONFIG_H #include <config.h> #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu
2002-10-30fixed spacing in the headers to get rid of some warnings and some otherKent Mein
little minor spacing issues.
2002-10-12Initial revisionv2.25Hans Lambermont