University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Camera controls | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Camera controls
October 5, 2015
3:30 am
Avatar
Member
Members
Forum Posts: 30
Member Since:
April 27, 2015
sp_UserOfflineSmall Offline

Hello

I am using Smartbody and I need control the camera using the python api. I am using the commands setEye, setCenter, setPosition, etc; but I'm finding some problems. I think those problems come from bad usage, I think I am not introducing the propper numerical values. Which are the differences between center, eye and position?

Thanks in advance

October 5, 2015
5:00 pm
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

The 'eye' is the location of the camera (similar to posiiton). The center is the target at which the camera is pointed. I do remember some bug in the code that was fixed a few months ago where setting the position directly didn't change the camera position; what version of SmartBody are you using?

Ari

Forum Timezone: America/Los_Angeles

Top Posters:

jwwalker: 80

jyambao: 52

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 67

Members: 99543

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 458

Posts: 2401