Hi,
New user here, doing a fairly simple program test so far with core profile
settings.
I'm rendering the program through Qt's QOpenGLWidget, even though i don't think
this is causing any particular issues.
I'm setting up my Cube model and personal shaders like this
Code:
Hello again !
Today i am attempting to create a label on my meshes. The image below shows how
i set it up with the osgText::Text class but i would like to extend it to be
able to set the texture on the actual mesh itself.
[url]
https://imgur.com/a/ZdyNQsG
[/url]
The goal is to make the text
Hi,
I am creating a simple coordinate system and trying to use the osg text for
axis labelling and tick information. This is the settings i use for creating
the text
Code:
OsgText2D::OsgText2D() :
textGeode_(new osg::Geode),
osgText_(new osgText::Text)
{
Don't mind the
Code:
textType_ = GI::TextType::TEXT_3D;
line, its a typo. Sorry for that confusion
//Dan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76915#76915
___
osg-users mailing list
Hi Robert
I understand its difficult to help with such little information, unfortunately
that is all there is so i cannot provide more code regarding this specific
case. The osgtext example looks splendid, i copied and replaced my code with an
example there and it now looks much cleaner. I'm
Perfect, that solved it. Much appreciated , thanks !
//Dan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76730#76730
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I've ran into a seemingly easy problem that i have failed to find an answer
for. I've simplified the problem here to quickly describe my question. I'm
setting a Pat node as parent to another Pat node and re positioning it. The
updated position is not translated to the child and i wonder
Hi!
Thanks for the reply, i understand the issue. I'm not really understanding why
this isn't built in automatically though. This simple code seemed to do the
trick even with multiple Pat's chained
Code:
osg::NodePathList fullNodePath = node2->getParentalNodePaths();
osg::NodePath
Hello everyone!
I am using the osgText::Text class for displaying texts in my program, the
texts always facing the camera, thus i have applied the condition
setAutoRotateToScreen(true) value.
I have a request to rotate the text , i.e. not just displayed horizontally
but at any given angle.
9 matches
Mail list logo