论坛

由用户创建的信息 chdcchris
16 October 2015 11:01
Hi, this is my first post on this forum, so let me introduce myself first. My name is Chris and I have recently started learning blend4web and have grown quite accustomed to the API. I have an intership at a 3d/programming company and I'm the programmer for a project. We want to start using blend4web to make interactive demo's.

For this project, I have used camera_animation.js as a basis and continued to build a web shell around it, so it is easy to use for our animators/modelers. The main idea is to have certain camera paths that smoothly walk you trough a set of target/eye locations.

I have mainly used a target camera and every camera animation is smooth, until we wanted to switch to an eye/hover camera, once the camera reaches certain destinations. I figured out that the camera animation does not work for these camera styles, so I tried to work around it.

At the moment, it switches directly to a target camera once it leaves its previous camera target/eye. This however results in the camera instantly rotating to the new target, but the movement will still be the right speed. This results in rough camera movement and is not what we would like it to be.

I hope everything is clear and would appreciate it very much if someone could help.

Thanks.