Forum

"Get Camera Position" tool in the Viewer

I read in a recent post that there is some discrepancy between Blender's camera and Blend4Web's camera. I have also observed this in a test I did.

I don't understand the technical reasons for this, but today I thought it would be useful to have a tool in Blend4Web's Viewer for getting the camera's current Loc/Rot coordinates, and maybe putting them in the clipboard. Using this we would be able to align our camera in the Viewer and then plug those coordinates into Blender.

I read in a recent post that there is some discrepancy between Blender's camera and Blend4Web's camera. I have also observed this in a test I did.

Hmm, what post was it? It should only be a camera behavior model, which can lead to this discrepancy. In your test you have a target camera and its pivot is (0,0,0). That's why the camera view is not like in Blender. Besides, camera limits can also affect the position/orientation.

I don't understand the technical reasons for this, but today I thought it would be useful to have a tool in Blend4Web's Viewer for getting the camera's current Loc/Rot coordinates, and maybe putting them in the clipboard. Using this we would be able to align our camera in the Viewer and then plug those coordinates into Blender.

I think that it's not a convenient way. We should provide some supporting tools to align camera right in Blender. So far, we have "Look at Cursor" button for the TARGET move style and camera limits displayed in Blender viewport. So, we'll try to improve camera setup in the future.

Thanks, Ivan. That's right - I had forgotten that B4W uses a different sort of camera targeting system.

The post was this one.Now that I'm reading it a second time, I think Pavel was referring to the transparency.But when the original poster (aworkofmarc) posted, I think he was talking about the position of the camera when he said "way off".