Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong time stamp for rendering frame #18

Open
Tugcga opened this issue Oct 12, 2023 · 0 comments
Open

Wrong time stamp for rendering frame #18

Tugcga opened this issue Oct 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Tugcga
Copy link
Owner

Tugcga commented Oct 12, 2023

When render the frame the engine get the time stamp by

eval_time = render_context.GetTime();

and then use it like

XSI::MATH::CMatrix4 camera_tfm_matrix = xsi_camera.GetKinematics().GetGlobal().GetTransform(eval_time).GetMatrix4();

When Frame Rate in Play Control is not equal to 30 fps, then the rendered moment is different with respect to the Softimage viewport. It needs to find the way how to read parameters from Play Control and apply it to the render time stamp.

@Tugcga Tugcga added the bug Something isn't working label Oct 12, 2023
@Tugcga Tugcga self-assigned this Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant