Current stable version: 0.1.1

Objects animated with Layer channel are not rendering

Project:YafaRay
Version:0.1.1
Component:Blender Exporter
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

An object is animated so that it is invisible until a certain point in the animation. This is done by animating the layer channel so that the object is on an invisible layer at first, and then on a visible layer.  When doing a render animation, the object is not rendered when the object is in the visible layer, however, once rendered statically, the object appears, and if I continue rendering the animation, it is still visible. There seems to be a problem updating the meshes when objects move from invisible to visible layers.Using:

  • Blender 2.49b
  • Yafaray 1.1
  • Mac OS X 10.6.3
  • MacBookPro2,2 (2.33 GHz, 2GB RAM)

Comments

#1

I can confirm this issue with yafray export 0.11.

 

The movement of objects between layers is only updated in blender. If you set the correct time in blender, you are able to render correctly until the next object moves layer. However this isn't so great when objects move between layers during every frame.

#2

Attached is a naive one-line fix for this bug. Overwrite your existing yaf_export.py file with the attached one. A test render indicated that this worked, no further testing done. Blender restart required.

 

I added an additional "collectMeshes()" on line 796.

AttachmentSize
yaf_export.py_.txt 29.89 KB