Does anyone use the code in \Source\Samples\SceneHelpersU3DCameraNavigation.cpp ?
I am trying to get the RotateView() function to set the initial view of my 3D object, but I never see any change. I embed the U3D in a PDF file, but when I open it up in there is no change in the view.
Also, beware that the comment at the top of this function is incorrect:
@param F32 fInY Rotation (in radians) about Y axis.
The values should be in degrees. I can tell because the code does a conversion to radians radians = ToRadians(fInX * 0.5f);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Patrick,
Yes, that is the conclusion I am coming to. Unfortunately I only have a very rudimentary PDF library with almost no support for 3DPDF :-( I'll try to get the same results by setting the model rotation matrix
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
Does anyone use the code in \Source\Samples\SceneHelpersU3DCameraNavigation.cpp ?
I am trying to get the RotateView() function to set the initial view of my 3D object, but I never see any change. I embed the U3D in a PDF file, but when I open it up in there is no change in the view.
Also, beware that the comment at the top of this function is incorrect:
The values should be in degrees. I can tell because the code does a conversion to radians
radians = ToRadians(fInX * 0.5f);
PDF has its own definition for the views. I'm not sure, but it seems PDF ignores the CameraNavigation.
Thanks Patrick,
Yes, that is the conclusion I am coming to. Unfortunately I only have a very rudimentary PDF library with almost no support for 3DPDF :-( I'll try to get the same results by setting the model rotation matrix