필터 지우기
필터 지우기

Rotate Camera Around Object - Virtual Reality

조회 수: 2 (최근 30일)
Ebad Ahmadzadeh
Ebad Ahmadzadeh 2011년 10월 4일
편집: Matt J 2015년 8월 17일
I need to rotate the camera inside the wrl file around an object.
More details: I am planning to connect head movements to the camera movements. this way the user could observe the wrl scene interactively. I need the camera target to be fixed at somewhere but it doesn't seem vrfigure and vr.canvas to have such properties.
I have been working with camera.orientation[x y z k] but cannot perform it for 2 orientations at once. This method is what I do:
%Orient Camera Around Y axis:
camera.orientation = [0 1 0 degreesInRadian]
I have also seen camorbit, camtarget, campos & camrot and so on. They seem to work on axes but not virtual reality!
I need the experienced user's attention please. Many thanks in advance. Ebad

답변 (0개)

카테고리

Help CenterFile Exchange에서 Camera Views에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by