I am attempting to modify (resurrect?) rendering/FPSViewController. I was advised by @nkoenig to change the position of the camera in FPSViewController::Update. However, it appears that ViewController:Update never gets called. You can test this by adding a print statement to either FPSViewController::Update or OrbitViewController::Update and adding the line
to a plugin (the constructor of a GuiPlugin such as GUIExampleTimeWidget in examples works for me).
I do not see a print statement added to FPSViewController or OrbitController. Therefore, to continue my implementation I will have to modify rendering/Camera.cc.
ViewController::Update should be fixed so that it is called when it is intended to be called, or taken out so that it does not mislead developers.
Original report (archived issue) by Jackie K (Bitbucket: jacquelinekay).
I am attempting to modify (resurrect?) rendering/FPSViewController. I was advised by @nkoenig to change the position of the camera in FPSViewController::Update. However, it appears that ViewController:Update never gets called. You can test this by adding a print statement to either FPSViewController::Update or OrbitViewController::Update and adding the line
to a plugin (the constructor of a GuiPlugin such as GUIExampleTimeWidget in examples works for me).
I do not see a print statement added to FPSViewController or OrbitController. Therefore, to continue my implementation I will have to modify rendering/Camera.cc.
ViewController::Update should be fixed so that it is called when it is intended to be called, or taken out so that it does not mislead developers.