Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

camera's look at position & scene scale

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
296 Views, 0 Replies

camera's look at position & scene scale

Hi everyone,

 

I'm writing an application to import and convert fbx files.

For the needs of the converter I use FbxSystemUnit to change the scene's units.

I have a problem with FbxCamera objects, although the camera's Position is always scaled, the LookAt position remains unchanged for most (but not all) of the files I've tested. Any ideas about what can cause this? I use FBX SDK 2017.1.

 

sample code: 

FbxVector4 evPos = camera->EvaluatePosition();	// -67.1, 0, 69.3
FbxVector4 evTarget = camera->EvaluateLookAtPosition();	// 23.1, -29.3, -59.3

//////////////////////////////////////////////
FbxSystemUnit systemUnit(10.0); 
systemUnit.ConvertScene(scene);					
//////////////////////////////////////////////

FbxVector4 new_evPos = camera->EvaluatePosition(); // -6.71, 0, 6.93
FbxVector4 new_evTarget = camera->EvaluateLookAtPosition(); //23.1, -29.3, -59.3

 

 Thanks

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report