2013-12-16 30 views
1

我使用3ds max的opencollada exporter將裝配好的動畫模型導出到collada。它加載罰款和動畫運行,但每次循環運行時,我得到:3ds max> collada> threejs動畫錯誤,「Scale out of bounds」

THREE.Animation.update: Warning! Scale out of bound ... 

爲:

THREE.Animation.update: Warning! Scale out of bounds:-0.002944999956526251 on bone 0 

你可以看到這個問題,通過對page I've hosted打開控制檯發生。我也把源在github repo

它似乎是從this line在三個源發生的事情:

scale = (currentTime - prevKey.time)/(nextKey.time - prevKey.time); 

在最後一幀的動畫,nextKey將是第一幀,其時間將爲0prevKey將是最後一幀,在我的情況下,它的時間是0.66666。所以0 - 0.6666是一個負數,它計算的「比例」超出範圍。

這是三j中的錯誤,還是我導出模型的問題,或者......?我不明白這是如何應用於環形鍵的。

回答

0

這是一個實際的threejs錯誤,因爲它發生在其中一個例子中。 Filed here