Re: [osg-users] Switch between primitive and model

2018-11-14 Thread Charlie Tan
Hi, Yep you are right. that was a silly mistake. thanks! Thank you! Cheers, Charlie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=75195#75195 ___ osg-users mailing list

Re: [osg-users] Switch between primitive and model

2018-11-12 Thread Ulrich Hertlein
Hi Charlie, On 12/11/18 03:26, Charlie Tan wrote: > I am trying to toggle between a model that I have loaded (a unit cube) and a > colored surface (a unit triangle). Thus, the triangle rendered should be half > the area of the unit cube's face. In addition, the triangle rendered should > lie

[osg-users] Switch between primitive and model

2018-11-11 Thread Charlie Tan
Hi, I am trying to toggle between a model that I have loaded (a unit cube) and a colored surface (a unit triangle). Thus, the triangle rendered should be half the area of the unit cube's face. In addition, the triangle rendered should lie on the cube face itself. // Model auto loadedModel =