[Bf-blender-cvs] CVS commit: blender/source/blender/makesdna DNA_lamp_types.h blender/source/blender/render/extern/include render_types.h blender/source/blender/render/intern/source rendercore.c blender/source/blender/renderconverter/intern convertBlenderScene.c blender/source/blender/src buttons_scene.c buttons_shading.c drawobject.c previewrender.c ...

Alfredo de Greef eeshlo at yahoo.com
Thu Jul 29 00:37:13 CEST 2004


eeshlo (Alfredo de Greef) 2004/07/29 00:37:13 CEST

  Modified files:
    blender/source/blender/makesdna DNA_lamp_types.h 
    blender/source/blender/render/extern/include render_types.h 
    blender/source/blender/render/intern/source rendercore.c 
    blender/source/blender/renderconverter/intern 
                                                  convertBlenderScene.c 
    blender/source/blender/src buttons_scene.c buttons_shading.c 
                               drawobject.c previewrender.c 
    blender/source/blender/yafray/intern export_File.cpp 
                                         export_Plugin.cpp 
  
  Log:
  Major update, all implemented a bit in a hurry, and probably will need bugfixes at some point.
  
  Extended the range of the depth and cdepth parameters as reqested by leope.
  Bumpmapping should now be a bit more similar to the Blender render.
  
  Added support for all remaining lightsources in yafray, tried to make use of
  as much of the existing Blender parameters as possible.
  
  Blender Lamp: added switch to enable rendering with shadowbuffer ('softlight' in yafray).
  All other parameters are similar to the Blender settings, for yafray both the
  bias parameter and the shadowbuffer size can be lower than equivalent Blender
  settings, since the yafray buffer is floating point. Remember that 6 shadowmaps
  are created in this case, so can use quite a bit of memory with large
  buffer settings.
  When 'ray shadow' is enabled for this lamp type, it is possible to set a light
  radius to create a spherical arealight source ('spherelight' in yafray),
  when this is 0, it is exported as a pointlight instead.
  
  Blender Spot: as in Blender now supports 'halo' rendering.
  Halo spots always use shadowbuffers, so when enabled the buttons for shadowmap
  settings will appear. The 'ray shadow' button can still be used to disable
  shadows cast onto other objects, independent of halo shadows.
  One thing to remember, halo's don't work with empty backgrounds, something must
  be behind the spotlight for it to be visible.
  
  And finally, the photonlight:
  probably the most confusing (as more things related to yafray), the photonlight
  is not a real lightsource, it is only used as a source to shoot photons from.
  Since indirect lighting is already supported (and looks better as well)
  only caustics mode is supported.
  So to be able to use this properly other lightsources must be used with it.
  For the photonlighting to be 'correct' similar lightsettings as for the 'source'
  light are needed.
  Probably the best way to do this, when you are happy with the lighting setup
  you have, and want to add caustics, copy the light you want to enable for
  caustics (shift-D) and leave everything as is, then change the mode to
  'Photon'.
  To not waiste any photons, the photonlight behaves similar to the spotlight,
  you can set the width of the beam with the 'angle' parameter. Make sure
  that any object that needs to cast caustics is within that beam, make
  the beam width as small as possible to tightly fit the object.
  The following other parameters can be set:
  -photons: the number of photons to shoot.
  -search: the number of photons to search when rendering, the higher,
  the blurrier the caustics.
  -depth: the amount of photon bounces allowed, since the primary use is for
  caustics, you probably best set this to the same level as the 'ray depth'
  parameter.
  -Blur: this controls the amount of caustics blur (in addition to the search
  parameter), very low values will cause very sharp caustics, which when used
  with a low photonnumber, probably lead to only some noisy specks being rendered.
  -Use QMC: Use quasi monte carlo sampling, can lead to cleaner results, but also
  can sometimes cause patterns.
  
  Since the photonlight has no meaning to Blender, when using photonlights and
  switching back to the internal render, the light doesn't do anything, and no
  type button will be selected. The lightsource can still be selected, but unless
  switching to yafray, no parameters can set.
  
  Apologies to Anexus, I had no time to really do something with your code,
  I'll still look at it later, to see if I can improve anything in my implementation.
  
  Revision  Changes    Path
  1.11      +12 -2     blender/source/blender/makesdna/DNA_lamp_types.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_lamp_types.h.diff?r1=1.10&r2=1.11&cvsroot=bf-blender>
  1.18      +7 -2      blender/source/blender/render/extern/include/render_types.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/render/extern/include/render_types.h.diff?r1=1.17&r2=1.18&cvsroot=bf-blender>
  1.76      +5 -1      blender/source/blender/render/intern/source/rendercore.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/render/intern/source/rendercore.c.diff?r1=1.75&r2=1.76&cvsroot=bf-blender>
  1.76      +12 -1     blender/source/blender/renderconverter/intern/convertBlenderScene.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/renderconverter/intern/convertBlenderScene.c.diff?r1=1.75&r2=1.76&cvsroot=bf-blender>
  1.55      +2 -2      blender/source/blender/src/buttons_scene.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/buttons_scene.c.diff?r1=1.54&r2=1.55&cvsroot=bf-blender>
  1.96      +107 -3    blender/source/blender/src/buttons_shading.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/buttons_shading.c.diff?r1=1.95&r2=1.96&cvsroot=bf-blender>
  1.80      +3 -2      blender/source/blender/src/drawobject.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawobject.c.diff?r1=1.79&r2=1.80&cvsroot=bf-blender>
  1.40      +3 -2      blender/source/blender/src/previewrender.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/previewrender.c.diff?r1=1.39&r2=1.40&cvsroot=bf-blender>
  1.26      +87 -27    blender/source/blender/yafray/intern/export_File.cpp
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/yafray/intern/export_File.cpp.diff?r1=1.25&r2=1.26&cvsroot=bf-blender>
  1.9       +100 -38   blender/source/blender/yafray/intern/export_Plugin.cpp
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/yafray/intern/export_Plugin.cpp.diff?r1=1.8&r2=1.9&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list