On 11 November 2016 at 06:58, Rambabu Repaka wrote:
> Hi,Iam new to osg can anyone help me in setting a color to the 2d text.
Just look at the code. The osgtext example for instance. It was
written *exactly* for this purpose.
___
osg-users mailing list
Hi,Iam new to osg can anyone help me in setting a color to the 2d text.
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69316#69316
___
osg-users mailing list
osg-use
Hi Matthew,
On Thu, Mar 10, 2011 at 3:56 PM, Matthew Parry wrote:
> Ok, I tried attaching it to the root node and the color now works, previously
> it was attached to a ShadowedScene node which was itself attached to the
> root. So obviously something in that ShadowedScene node is causing the
Ok, I tried attaching it to the root node and the color now works, previously
it was attached to a ShadowedScene node which was itself attached to the root.
So obviously something in that ShadowedScene node is causing the problem, I
still don't know what it is as I don't do set anything in the s
Hi Matthew,
On Thu, Mar 10, 2011 at 3:23 PM, Matthew Parry wrote:
> I just tried running the example and the color works correctly. I'm now even
> more confused!
Might you have a StateSet higher up in the scene graph that decorates
the Text drawable and override it's state, such as adding
multi
Hi Robert,
I just tried running the example and the color works correctly. I'm now even
more confused!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37509#37509
___
osg-users mailing list
osg-users
Hi Mathew,
I now idea what might amiss. What happens when you run the osgtext example?
Robert.
On Thu, Mar 10, 2011 at 2:46 PM, Matthew Parry wrote:
> Hi,
>
> I've got a simple function which creates a text object and attaches it to a
> Geode:
>
> osg::ref_ptr
> drawLabels()
> {
> osg:
Hi,
I've got a simple function which creates a text object and attaches it to a
Geode:
osg::ref_ptr
drawLabels()
{
osg::ref_ptr geode = new osg::Geode;
osg::ref_ptr font =
osgText::readFontFile("fonts/forte.ttf");
osg::ref_ptr text1 = new osgText::Text;
text1->s
8 matches
Mail list logo