![]() |
|
|
(#1)
|
|
|
Neuer Benutzer
Posts: 10
Join Date: 27.07.2012
|
I'm trying to create a simple rack focus using an polygon object to set the focal distance. I'm using "DOF Target.js" script to calculate the distance between the camera and the object as it moves and update the DOF tag's focalDistance parameter.
When I render the animation, at some point during the render C3D hangs. Sometimes it hangs within the first couple of frames but most of the time it hangs around frame 18. I don't think it's the script file as it renders frames before hanging, but I can't be sure. When setting the DOF tag key frames directly, without using the script the animation renders fine. See attached zip for test files. Thanks -chris |
|
|
|
|
(#2)
|
|
|
Erfahrener Benutzer
Posts: 899
Join Date: 09.04.2005
|
hi
it's a bug of script. I updated it, so please check the latest one. http://www.tres-graficos.jp/blog/fil...icle.php?id=77 old code seems to make a infinite update loop or something while rendering. Code:
regards. tg_jp, Hiroto Twitter ( almost japanese ): http://twitter.com/tg_jp |
|
|
|
|
(#3)
|
|
|
Neuer Benutzer
Posts: 10
Join Date: 27.07.2012
|
Thank you. That seems like it fixed it.
My first thought was that it was an Infinite loop, but it didn't make sense why it would render out a bunch of frames before hanging. Any thoughts? -chris |
|
|
|
|
(#4)
|
||
|
Erfahrener Benutzer
Posts: 899
Join Date: 09.04.2005
|
hi
Quote:
I am guessing, update timing for object tree is different when Rendering and 3D preview ( multi threading ? caching scene graph info for next frame? ). anyway, we have take care using Object::setParameter function from some object/tag to another object/tag of different object tree. we can make infinit update loop easily. regards. tg_jp, Hiroto Twitter ( almost japanese ): http://twitter.com/tg_jp |
|
|
|
|
|
(#5)
|
|
|
Neuer Benutzer
Posts: 10
Join Date: 27.07.2012
|
good to know.
thanks -chris |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|