Hi all!
In my OSG application I need to continuously update small parts of 2D
texture. So I use osg::Texture2D::SubloadCallback:
class MyCallback :
public osg::Texture2D::SubloadCallback
{
/* initialize texture */
void load(const Texture2D texture,State state) const
{
Hi Mikhail,
Thank you for your answer. So I should inherit from osg::BufferObject
class and implement compileObject() method?
Yurii
2011/4/1 Mikhail I. Izmestev izmmish...@gmail.com:
01.04.2011 11:41, Yurii Monakov wrote:
And everything works fine until the cleanup stage. In the code above
Thank you!
Yurii.
2011/4/1 Mikhail I. Izmestev izmmish...@gmail.com:
On 04/01/11 12:02, Yurii Monakov wrote:
Hi Mikhail,
Thank you for your answer. So I should inherit from osg::BufferObject
class and implement compileObject() method?
I think in your case you can try to use osg
writes
during rendering.
Best regards,
Yurii Monakov
2010/12/16 Yurii Monakov monako...@gmail.com:
Hi Don!
I think that you can try enabling GL_BLEND mode in your StateSet (if
it is not already enabled).
Best regards,
Yurii Monakov
2010/12/16 Don Leich d...@ilight.com:
Hi all,
I've got
Hi Don!
I think that you can try enabling GL_BLEND mode in your StateSet (if
it is not already enabled).
Best regards,
Yurii Monakov
2010/12/16 Don Leich d...@ilight.com:
Hi all,
I've got a problem that I haven't been able to find a solution
for and could use some help. I'm using
need this callback to be called every frame regardless of
parent node's spatial orientation.
Thank you!
Best regards,
Yurii Monakov
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users
and
glTexSubImage2D), but I can't figure out if there is a way do this
with OSG? Maybe subclassing osg::Texture2D or something?
Thank you!
Best regards,
Yurii Monakov
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org
Hi Huron,
I've experienced the same problems with unresolved symbols from
OpenTreads. The problem was solved by full rebuild of OSG. Just delete
CMake cache, reconfigure and build.
Once I've fought unexpected runtime errors (segmentation faults) in
simple OSG apps (even in examples) and they
...@csir.co.za:
Hi,
On 21/10/10 18:26, Yurii Monakov wrote:
Hi All
After some googling I've discovered an AutoTransform node )) When
setting it's auto-rotate mode to ROTATE_TO_SCREEN and
setAutoScaleToScreen(true) it gives me exactly what I want. The only
problem is that after looking
Hi All
After some googling I've discovered an AutoTransform node )) When
setting it's auto-rotate mode to ROTATE_TO_SCREEN and
setAutoScaleToScreen(true) it gives me exactly what I want. The only
problem is that after looking at AutoTransform node I noticed that it
does a lot of computation
Hi All
Consider we have a lot of points in 3D and we need to render some
additional information around them in screen space. For example, for
very 3D point we need to render rectangular panel (with dimensions Mpx
x Npx), line from this panel to the point in 3D and some text on the
panel. So we
Hi Thomas.
VSync could be switched on explicitly in the driver settings
overriding any application setting.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
was stranded in the middle of a station with a trunk he could hardly
http://sites.google.com/site/ligmllgqaiocaqtaajnf/koxnotgldjzkjaxkf
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://sites.google.com/site/gGtjM8SvxU11/yhhyksvy
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi!
You can use 8-bit mask texture filled with zeros and 0xFF's (like your
bitmask). Then just multiply texels of source texture and mask
texture. Texture format could be GL_ALPHA and internal format -
GL_ALPHA8.
___
osg-users mailing list
,
Yurii Monakov
2009/7/31 Torben Dannhauer z...@saguaro-fight-club.de
Hi,
My Workaround bases also on MFC, but seems to smaller:
My standart project started as an empty console application without MFC.
If I enabled only the memory leak detection, i get lots of memory leak
notification because
And Russia :)
2009/6/1 Alan Purvis alanpur...@eircom.net
And Ireland.
On 31 May 2009, at 17:45, Sebastian Messerschmidt wrote:
same for germany
Hi,
i can access:
blog.openscenegraph.org
forum.openscenegraph.org
but not www.openscenegraph.org / openscenegraph.org
Seems to be a
Computing (center - eye).normalize() we are doing unnecessary work. Look
direction could be obtained directly from camera's matrix.
2009/4/28 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com
Hi Mangu,
If the the center is what I look at, so basically it's the normal of the
plane (
I am not sure about matrix layout convention used in OSG, but if it uses
OpenGL convention you can take third row of camera's view matrix (or third
column otherwise).
PS. Supposing that row (column) index starts with 1.
2009/4/27 Mangu Liok mangul...@yahoo.com
Hi,
If I want to know the
, but we're all running VPB just fine so can't reproduce
the problems you are seeing.
Robert.
On Thu, Apr 16, 2009 at 10:39 AM, Yurii Monakov monako...@gmail.comwrote:
Hi All!
I have a problem generating whole planet elevation database from SRTM 1 km
source ( 43200x21600 )
and custom *.vrt
Really I have no ideas...
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi All!
I have a problem generating whole planet elevation database from SRTM 1 km
source ( 43200x21600 )
and custom *.vrt file:
VRTDataset rasterXSize=43200 rasterYSize=21600
VRTRasterBand dataType=Int16 band=1 subClass=VRTRawRasterBand
ColorInterpGray/ColorInterp
ByteOrderMSB/ByteOrder
22 matches
Mail list logo