Hi,
Simple question: set a uniform value via set() method is thread-safe or we have
to set the value via Uniform callback? Apparently, set() works fine, but thread
interactions are devious :D
Thank you!
Cheers,
Dario
--
Read this topic online here:
http://forum.openscenegraph
Hi Dario,
On 12 April 2016 at 09:58, Dario Minieri wrote:
> Simple question: set a uniform value via set() method is thread-safe or we
> have to set the value via Uniform callback? Apparently, set() works fine,
> but thread interactions are devious :D
>
osg::Uniform::set() is not thread safe.
Hi,
ok, interesting, thanks. I'm using SingleThreaded model right now. I take this
opportunity to speak about the problem using another thread model, like
DrawThreadPerContext. In this case I have an error like:
TextureRectangle::apply(..) failed, texture rectangle is not support by your
OpenG
Hi All,
I am getting back into OSG after a long absence - I am now on a Windows 10
Surface Pro 4/Visual Studio 2015 and fighting changes in these as well as
trying to work out why I can't get screen resolution to work properly. It
always comes up about twice the size it should (centre screen is
Hi Paul,
This is the DPI-aware scaling you are seeing. Since Windows 8.1, the operating
system will scale your application to this DPI-scaling setting, unless you
explicitly declare the application as “DPI-aware”. Declaring your application
as “DPI-aware” tells the operating system that you wil
Hi,
What is general approach to set the text alignment of osg::Widget::Label to
left ?
I try to set it with setAlignment(), but the text is always aligned to the
center.
(OSG 3.0.1)
...
Thank you!
Cheers,
Sebastian
--
Read this topic online here:
http://forum.openscenegraph.
Hello, is it possible to create an osg::Image or even osg::texture from
custom user data pointer? For instance, I have a void* data_ptr pointing to
a flat data vector of pixels and want to create a texture to use with OSG.
Can this be done?
___
osg-users
Hello,
I am creating an image from custom data pointer as follows, however, this
does not result in freeing my memory after I delete the node and texture.
How could this be?
image->setImage(src->tileSize(), src->tileSize(),1,
GL_RGBA8,
GL_RG
Hi Bruno,
Hello,
I am creating an image from custom data pointer as follows, however,
this does not result in freeing my memory after I delete the node and
texture. How could this be?
image->setImage(src->tileSize(), src->tileSize(),1,
GL_RGBA8,
9 matches
Mail list logo