University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

How to setup a SrCamera? | 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
How to setup a SrCamera?
November 16, 2015
6:29 am
Avatar
Member
Members
Forum Posts: 28
Member Since:
November 5, 2015
sp_UserOfflineSmall Offline

When I load up the ChrBrad.dae file

And just use the DefaultCamera by using

[code]

SrCamera* newCam = scene->createCamera("defaultCamera");          

scene->setActiveCamera(newCam);

[/code]

I only see the legs of the character.

I wonder what is the meaning of center, it is analogous to DirectX's target position.

and the eye attribute is the position of the camera and should I set the up vector to SrVec(0,1,0);

Thanks

Jack

November 16, 2015
6:40 am
Avatar
Member
Members
Forum Posts: 28
Member Since:
November 5, 2015
sp_UserOfflineSmall Offline

Okay, I adjust the eye position back and up a bit

and seeing the whole mesh.....

Thanks

Jack

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: Roshan, huberdavidsen3, casey29english, byerslorentsen4, rainheaven0, kinneyreynolds06, andersen19eaton, kristensen00leblanc, bredahlbredahl9, bager59mayo, creechdonaldson71, hernandezaarup2, g2pvwfg490, ray0963
95 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

jwwalker: 80

jyambao: 51

rbaral: 47

adiaz: 30

WargnierP: 29

lucky7456969: 28

mbarros: 28

avida.matt: 26

JonathanW: 24

laguerre: 23

Member Stats:

Guest Posters: 65

Members: 52505

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 427

Posts: 2343