You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osg-...@lists.openscenegraph.org
Hi,
I have to port my software to intel graphics under linux,
but in mesa drivers only GL 3.3 core context,
so I switched to vertex_array_object branch
and slightly modify osgQT to have core context in embedded GL windows.
All works fine but osgText.
I know that I have to switch on VAO on text, but I don't know the right way.
Nothing drawed at all, even simple quads.
Maybe someone already tried make similar, please share your solution.
Thank you!
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenSceneGraph Users
On 5 October 2016 at 12:50, Roman Grigoriev <grig...@gosniias.ru> wrote:
> First thing I made is attach shaders to osgText.
> Problem is that in GL core profile OGL doesn't show at all without VAO.
Are you working under OSX?
For VAO support you'll need to use the vertex_array_object branch.
Once it's undergone more testing I'll be merging this with git master
and shortly after will go for the next stable release 3.6, so VAO
support will be part of 3.6.
Robert.
Roman Grigoriev
unread,
Oct 5, 2016, 8:12:27 AM10/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osg-...@lists.openscenegraph.org
Hi, Robert!
It's under Ubuntu 16.04 but with Intel i5 Mesa drivers 12.0.1
Now Mesa support GL 3.0 compatability profile and
GL 3.3 ONLY Core profile. I need geometry shaders and I have to use GL3.3 Core profile and use VAO
Long time ago I posted my version of osgText with VAO.
forum.openscenegraph.org/viewtopic.php?t=14783 with patch http://forum.openscenegraph.org/download.php?id=6045 But I thought that in vertex_array_object branch all will be worked fine
But not.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenSceneGraph Users
Hi Roman,
On 5 October 2016 at 13:14, Roman Grigoriev <grig...@gosniias.ru> wrote:
> Hi, Robert!
> It's under Ubuntu 16.04 but with Intel i5 Mesa drivers 12.0.1
> Now Mesa support GL 3.0 compatability profile and
> GL 3.3 ONLY Core profile. I need geometry shaders and I have to use GL3.3 Core profile and use VAO
> Long time ago I posted my version of osgText with VAO.
> forum.openscenegraph.org/viewtopic.php?t=14783 > with patch http://forum.openscenegraph.org/download.php?id=6045 > But I thought that in vertex_array_object branch all will be worked fine
> But not.
The vertex_array_object branch doesn't utilize any of the previous VAO
support submissions, each of these had their own issues that made them
inappropriate for rolling out for general usage. The
vertex_array_object branch is pretty close to being complete, but
needs testing across the community and across usage models.
What isn't working with the vertex_array_object branch?
Robert.
Roman Grigoriev
unread,
Oct 5, 2016, 5:45:19 PM10/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osg-...@lists.openscenegraph.org
Just checked my old way http://forum.openscenegraph.org/download.php?id=6045 to use compileGLObjects and use glBindVertexArray in DrawForegroundText - works fine.
For now I can't know to use VertexArrayState way in osgText
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenSceneGraph Users
HI Roman,
On 5 October 2016 at 22:47, Roman Grigoriev <grig...@gosniias.ru> wrote:
> Just checked my old way http://forum.openscenegraph.org/download.php?id=6045 to use compileGLObjects and use glBindVertexArray in DrawForegroundText - works fine.
> For now I can't know to use VertexArrayState way in osgText
I'm can't work out what specific issues you are hitting up against.
The GLSL shaders required as a fallback for osgText should be the same
regardless of VAO support.
The best forward might be to modify the osgtext example to illustrate
the issue you are having and give us instructions as to how you've
built the OSG and what versions of the OSG you've tested against.