alecjacobson / computer-graphics-kinematics

Computer Graphics Assignment about Kinematics
94 stars 32 forks source link

Viewing other models? #18

Closed Desmeister closed 6 years ago

Desmeister commented 6 years ago

I'm working from the UG machines and the projects seems to compile and display properly, but I can't seem to switch the view to anything other than the default robot-arm model.

I see in the terminal that you can use "<,>" to switch models, but no key seems to work. All the other commands like toggle wireframe and switch to canonical view seem to function properly.

Is this implemented later in the lab or perhaps setup in a config file somewhere, or just an error?

Desmeister commented 6 years ago

Resolved: Edit line 41 on main with an the appropriate data json

alecjacobson commented 6 years ago

The .json is also accepted as a command line argument, so you shouldn't have to change the main.cpp.

(meanwhile, the <,> toggles between the skeleton mesh and the model's mesh)