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

add near and far plane to camera info and a few code formatting changes #1299

Merged
merged 2 commits into from
May 29, 2024

Conversation

cyrush
Copy link
Member

@cyrush cyrush commented May 20, 2024

No description provided.

@@ -1907,14 +1906,16 @@ ExecScene::execute()
image_data["camera/up"].set(&renders->at(i).GetCamera().GetViewUp()[0],3);
image_data["camera/zoom"] = renders->at(i).GetCamera().GetZoom();
image_data["camera/fov"] = renders->at(i).GetCamera().GetFieldOfView();
image_data["camera/near_plane"] = renders->at(i).GetCamera().GetClippingRange().Min;
image_data["camera/far_plane"] = renders->at(i).GetCamera().GetClippingRange().Max;

Copy link
Member Author

@cyrush cyrush May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is what is new, we add near and far to the info output for the scene for this camera

@cyrush cyrush merged commit 6011600 into develop May 29, 2024
21 checks passed
@cyrush cyrush deleted the task/2024_05_cam_clipping_info branch May 29, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant