[Bf-blender-cvs] CVS commit: blender/release/scripts vrml97_export.py

Chris Want cwant at ualberta.ca
Thu May 11 19:42:59 CEST 2006


hos (Chris Want) 2006/05/11 19:42:59 CEST

  Modified files:
    blender/release/scripts vrml97_export.py 
  
  Log:
  The algorithm to export vertex color was very inefficient (for every
  vertex it would potentially loop through every face). This fix speeds
  it up a bit (only loops through all faces once, at the cost of some
  additional memory). An example of export times for a mesh with 6266
  verts and 12528 faces:
  
  Before: 2m56s
  After:     8s
  
  Revision  Changes    Path
  1.13      +12 -15    blender/release/scripts/vrml97_export.py
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/release/scripts/vrml97_export.py.diff?r1=1.12&r2=1.13&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list