How to change the visualization mode programmatically.

Dear OpenFlipper, I hope you are well. Could I propose a small question: Right click on a mesh, which was loaded onto the scene, we can manually change the visualization mode. I wonder how to realize it in code, no by physical manipulations. Best Regards, Xianyong Liu.

Hi, you can use the PluginFunctions::setDrawMode function. For more information check out the OpenFlipper documentation http://openflipper.org/Daily-Builds/Doc/Developer/namespacePluginFunctions.h... Kind regards, - Isaak On 04/03/2013 06:21 PM, ??? wrote:
Dear OpenFlipper, I hope you are well. Could I propose a small question: Right click on a mesh, which was loaded onto the scene, we can manually change the visualization mode. I wonder how to realize it in code, no by physical manipulations.
Best Regards, Xianyong Liu.
_______________________________________________ Openflipper mailing list Openflipper@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/openflipper

Dear all, I get it done by: PluginFunctions::setDrawMode(ACG::SceneGraph::DrawModes::SOLID_POINTS_COLORED_SHADED); thank all the same, btw, it there an easy way to write OpenGL code within customized Openflipper plugin? Sorry for bothering others. Best Regards, Xianyong Liu. 2013/4/3 刘先勇 <xyliu80@gmail.com>
Dear OpenFlipper, I hope you are well. Could I propose a small question: Right click on a mesh, which was loaded onto the scene, we can manually change the visualization mode. I wonder how to realize it in code, no by physical manipulations.
Best Regards, Xianyong Liu.
participants (2)
-
Isaak Lim
-
刘先勇