[Bf-blender-cvs] CVS commit: blender/source/blender/render/extern/include render_types.h blender/source/blender/render/intern/source ray.c renderHelp.c texture.c blender/source/blender/renderconverter/intern convertBlenderScene.c

Ton Roosendaal ton at blender.org
Wed Jan 7 21:29:21 CET 2004


ton (Ton Roosendaal) 2004/01/07 21:29:21 CET

  Modified files:
    blender/source/blender/render/extern/include render_types.h 
    blender/source/blender/render/intern/source ray.c renderHelp.c 
                                                texture.c 
    blender/source/blender/renderconverter/intern 
                                                  convertBlenderScene.c 
  
  Log:
  Fix for cube map error subsurf.
  
  - cubemap relied on pointer to MFace, which is only available for Mesh
    when directly converted to renderfaces.
    It then checked the 'puno' flag where also bits were set to indicate
    the optimal projection for a face (XY, XZ or YZ).
  - I found out the renderface also has a puno flag, so the mface pointer
    in a renderface is redundant. Is removed now
  - added code in texture cubemap call, which checks on a projection flag
    in 'puno'. If not set, it uses the orco's to calculate one.
  - this means, that cubemap now also works for other objects than meshes,
    provided they have an orco block while render.
  - if no orco block available, it uses the 'global' projection to find which
    of the cube sides map.
  
  I couldnt find other errors with subsurf & orco though...
  
  Revision  Changes    Path
  1.14      +2 -4      blender/source/blender/render/extern/include/render_types.h
  1.16      +5 -3      blender/source/blender/render/intern/source/ray.c
  1.6       +3 -2      blender/source/blender/render/intern/source/renderHelp.c
  1.7       +22 -6     blender/source/blender/render/intern/source/texture.c
  1.33      +4 -7      blender/source/blender/renderconverter/intern/convertBlenderScene.c



More information about the Bf-blender-cvs mailing list