You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
I'm trying to implement import of cameras from vk_gltf_viewer(json) to my fork of RTXGI.
I have load from json to variables cameraPos, cameraTarget, cameraUp.
auto camera = std::make_shared<PerspectiveCamera>();
How to use LookAt() and add new camera to cameras list?
I understand I can use added by me to SceneGraph.h void AddCamera(std::shared_ptr<SceneCamera> cam) { m_Cameras.push_back(cam); }
@apanteleev , how to convert PerspectiveCamera to SceneCamera which I can change by LookAt() before add to m_Cameras?
The text was updated successfully, but these errors were encountered:
Hello.
I'm trying to implement import of cameras from vk_gltf_viewer(json) to my fork of RTXGI.
I have load from json to variables cameraPos, cameraTarget, cameraUp.
How to use LookAt() and add new camera to cameras list?
I understand I can use added by me to SceneGraph.h
void AddCamera(std::shared_ptr<SceneCamera> cam) { m_Cameras.push_back(cam); }
@apanteleev , how to convert PerspectiveCamera to SceneCamera which I can change by LookAt() before add to m_Cameras?
The text was updated successfully, but these errors were encountered: