Hi,
I know it is not be an osg problem. Just want to know anyone here may met
the same problem.
We use reahat linux 6.5 to run our osg app .The desktop is kde4.3.4. .
After 7 to 20 days,we found the X-windows Process (X) suddenly took all of
system's memory ,and force linux to kill the
are rendering so I can't
> provide any more details than this.
>
> Robert.
>
> On 2 March 2017 at 17:41, Lv Qing <> wrote:
>
> > Hi,
> >
> > In linux we are using osg::Text to display some chinese characters.Then
> > we find the osg::Text looks
Hi,
In linux we are using osg::Text to display some chinese characters.Then
we find the osg::Text looks a little blur when the size of characters is
small.Or,the Black characters seems a little gray when the character size is
small.I have setFontSolution(128,128),it not help.
Then I
Hi,
Sorry for my poor english description. The word "Blur" more like
Image-Retention or afterimage or ghost image。
...
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69534#69534
Hi,
we have integrated an osgViewerQT window to a QT based app.
There are four subWindows in our app,one is an osgViewerQT widget,the
others are normal QT widgets.
We forced the osgViewerQT viewer running under a slow frames,about 10FPS.
Then we drag any other linux dialog to
Hi,
I have used class ViewerWidget(: public QWidget, public
osgViewer::CompositeViewer) to integrate OSG into a QT application. Like this:
viewer3DWindow = new ViewerWidget;
QMdiSubWindow *tmpsubwin_3D = new QMdiSubWindow ;
tmpsubwin_3D->setWidget(viewer3DWindow);
And
Hi,
Here is the situation ,I want to draw dozens of osg::Text,all as children of
one osg::Geode.And I want to show some of the osg::Text
,and some not.I failed to see osg::Text has a setNodeMask funciton,I can only
call the osg::Geode setNodeMask ,but it show all osg::Text or not.If I add
Hi,
I want to modify text.cpp so can set osgText::BoundingBox's width and line
Stipple.
Here is how osg draw BOUNDINGBOX in text.cpp:
if (_drawMode & BOUNDINGBOX)
{
if (_textBB.valid())
{
state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::OFF);
Thx!Robert!
The situation is,we have modified the text.cpp to create some other styles
rather than boundingbox.
Like a BoundingLine,one end to one of the corner of a BoundingBox,the other
end linked to a osg::Node.
So if a text have a BoundingLine and a BoundingBox,I just want
Hi,
Our picture has storge as a QPixmap(a image format used by QT4.8) in
database,when I got a QPixmap object,how to convert to a osg::Image ?
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63619#63619
Hi,
problem solved!
Is is actually a compass thing,just get Earthmanipulate's viewpoint,then add
to the text's heading,each frame.
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63272#63272
Hi,
[Image: http://forum.osgearth.org/file/n7587273/无标题.jpg ]
...
like pictures above,we use some icon to display a plane,this icon is osg::Text
which using some special fonts file.we dynamic set this plane's heading to
this osg::Text,like the left picture ,if the camera head to north,this
Hi,
...
I just buy some fbx 3D model with some animation,each 3D model have one main
part .fbx file and some separate animation .fbx file.
main part .fbx dose not has animation effect if not loading other animation
.fbx file .
The problem is,when loaded a main part .fbx with osgviewer
Hi:
In our case we need draw 5~10 osg::Text spreading all over the
earth,the result is not optimistic,the frame is down to 2~3 fps,we can barely
pan the earth,so is there any way to optimize such mount of osg::Text?
Thank
Hi,
I have failed to draw a line between a osg::Text and a 3D model,like image
below
So far,I have managed modify osg::Text to draw a linking line ,like draw a
bounding box .
One end of the line is linked to the text,but I do not know how to link another
end to a moving 3D model.
I
Hi,
I have failed to draw a line between a osg::Text and a 3D model,like image
below
So far,I have managed modify osg::Text to draw a linking line ,like draw a
bounding box .
One end of the line is linked to the text,but I do not know how to link another
end to a moving 3D model.
I
Hi:
I have some .png image use as a icon,the Original icons just have a single
color symbol,like black,and the icon's background is transparent.
Then in our app,we need draw the icon's with different colors under different
conditions。
We want change the symbol's color or change the
robertosfield wrote:
Hi Lv,
On 10 March 2014 14:40, Lv Qing () wrote:
Hi,
...
I have read some posts about memory releasing problem by addchild and
removechild.
There are no problems with memory management with addChild and removeChild.
It's been working very
Hi,
...
I have read some posts about memory releasing problem by addchild and
removechild.
Here is my situation ,we developed osg app by qt in win7, we use class
ViewerWidget to adding our viewer as a qt widget.
We did a test to simply adding 5 osg::Node to a osg::Group then
Hi,
...
test code like this:
class Test
{
osg::ref ptrosg::Group root = new osg::Group();
osg::ref ptrosg::Group testGroup = NULL;
}
void Test::TestForMeomory(bool value)
{
if (value) //adding 5 nodes
{
testGroup = new osg::Group();
for (int i = 0, i 5,i++)
Hi,
It is actually a osgEarth problem.but I have lost track of it in osgEarth
forum,and someone there said it is something about
GraphicsWindowQT and osg 3.1.3,so I think I may get help here.
By osg 3.2.0 ,osgEarth 2.5, qt 4 ,win 7,I can zoom in and out earth with two
fingers when
Hi,
I use powerpoint to erase the background
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53107#53107
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Thx!Aurelien !
Problem solved!
Just implementing a dropEnterEvent method as well.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53047#53047
___
osg-users mailing list
Hi,
... I have attached one png image to the placenode,however the image has a
white background ,is it possible to make the backgound transparent?
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53051#53051
Hi,
...
when I push w,osg cyclePolygonMode among line,point,fill.
My question is How can I change the color of these osg::PolygonMode?
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53052#53052
Hi,
...
primary_split_level5/primary_split_level
secondary_split_level11/secondary_split_level
this parameters must as same sa the parameters you input in the osgDem command.
Even that ,the ive you loaded with osgEarth may much slower than loaded from
osg directly.
Thank you!
Hi,
...
It sounds strange,but sometimes I want to use setNodemask(0) to set a node
invisible,but still want its children all visible.
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52962#52962
Hi,
...
We create some dialogs (qt or MFC) which showed above the osg App,then we
set them transparent as a message tip.
We find these dialogs always blink:)
Our OS is Winxp,We found if the Winxp's start menu block the osg App,the
start menu blinks too!I heard Win 7 seems not
Hi,
Thank both of you.Your replays are very professional .I will try Valgrind to
check the code.
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51999#51999
___
osg-users
Hi,
When I cmake the osg source under Linux,it seems to bulid the release
version by default.Just want to know how to bulid the debug version :)
...
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52005#52005
Hi,
I have changed my graphics card from GTX260 to Quadro FX 370 .
Recently I find my app sometimes crashed as below:
in free() from /lib/libc.so.6
libnvidia-glcore.so.260.19.44
which seems untraceable.
Then I find a mistake ,I still use the
hybr wrote:
Hi
at first try to update osg, may be you find this problem solved.
Cheers.
27.10.2012, 17:39, Lv Qing :
Hi,
My osg2.9.11 app is working under QT/Linux.Occasionally it suffers a dead
lock as follows:
#0 in _kernel_vsyscall()
#1
robertosfield wrote:
HI Lv,
On 29 October 2012 10:16, Lv Qing wrote:
I update 2.9.16 ,same problem!Not ready for osg3.0 ,too much change.
3.x might not address the problem you have, as it's likely down to
some peculiarity of how the custom threading is behaving, but I would
Hi,
My osg2.9.11 app is working under QT/Linux.Occasionally it suffers a dead lock
as follows:
#0 in _kernel_vsyscall()
#1 in pthread_cond_wait_@@GLIBC_2.3.2 from/lib/libpthread
#2 in Openthreads::Condition::wait from libOpenThreads
#3 in
Hi,
...
I used QOSGWidget which requies libosgQt of osg 2.9.11 .
Then I notice there is none libosgQt when I compiled osg 2.9.16 in the same
envirement,it is even not in the makefile.
where is libosgQt in osg2.9.16?I realy need it for my app,thx!
Thank you!
Cheers,
Lv
Hi,
...
I build a osg app on one machine with linux5.x and Nvidia GTX 260 which works
fine.
Then in another maching my osg sometimes crash as follows:
#0 0x00fad402 in __kernel_vsyscall ()
#1 0x0522ede3 in __lll_lock_wait_private () from /lib/libc.so.6
#2 0x051be6f6 in _L_lock_15258 ()
Hi,
...
I have two osga terrain model,A is a quite large country model,B is a quite
small city model.
I just put the city model above the country model,then I zoom in to see the
city model ,it seems to been culled.Then I set the near/far plane ratio to
0.01 which solve the
Hi,
... setCullingActive(false) works
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42452#42452
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
... Here is the vector model ,25mb, nothing special。please just osgviewer it.
I am a little supraise no one had this problem before,I think it's common for a
globle world GIS system.
Thank you!
Cheers,
Lv
--
Read this topic online here:
Hi,
... I made a low resolution world.ive like this:
vpbmaster --geocentric -t world-t.tif -d world-d.tif -l 8 -o world/world-8.ive
then I wan to pitch a high resolution level of dem and image like this:
vpbmaster --patch world/world-8.ive --levels 1 8 -d USA-d.tif -t USA-t.tif;
It did take
robertosfield wrote:
Hi Lz,
Could this be small feature culling culling the text? You can disable
small feature via
viewer.getCamera()-setCullingMode(viewer.getCamera()-getCullingMode()
| ~osg::CullSettings::SMALL_FEATURE_CULLING);
Robert.
On Wed, Aug 10, 2011 at 9:32 AM, Lv Qing
robertosfield wrote:
Hi Lv,
You need to provide the master source file that the vpbmaster will
have created during the first run in the second run, otherwise
vpbmaster won't know what to patch.
Robert.
On Tue, Aug 23, 2011 at 1:06 PM, Lv Qing wrote:
Hi,
... I made a low
Hi,
...
Hi,
...
No one know what I am talking about?or just no better solution?
The problem seems small,but it really affect the pefermence of my app.
Robert,need your advise!
Thank you!
Cheers,
Lv
Thank you!
Cheers,
Lv
--
Read this topic online here:
Hi,
...
I have used osgText:FadeText attaching a model for displaying it's text
information.I set the osgText:FadeText always
It is OK in most case.Then I found if the model's size is small enough and the
distance from viewer is too long(like 3000KM),the osgText:FadeText is not
visible
Hi,
I have used osgText::FadeText for displaying some GIS lables.
I also want to use osg::Lod for displaying the FadeText in a certain distance
away from viewer.
osg:OD* lod = new osg:od;
lod-setRangeMode(osg:OD:ISTANCE_FROM_EYE_POINT);
lod-addChild(textGeod,0,3000*1000); //textGeod already
Hi,
...
No solution?
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41969#41969
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I use vpb made a globle Earth model which size is about 3G,when I use osgviewer
to view the model ,it took me only 10%~15% cpu usage.
[img]http://wush.net/trac/osggis/browser/images/Round1.jpg?format=raw[/img]
then I use osgGIS to make a layer model base on the globle Earth model and a
Hi,
...
I know the new vpbmaster offer patching a new data to a existing
VirtualPlanetBuilder database.
In my app.I made a low resolution earth model,and a high resolution area
terrain model,then just load both of them,it ljust looks like palace a high
resolution area above the low
Hi,
just look forward it
...
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41514#41514
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
... I will try it,another question,if two independent model is 2G each,pachting
one to another make a 4G model,is right?
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41536#41536
Hi,
My applicaiton use a quiet large terrain model (about 4000KM*4000KM),and when I
viewing some very small flying objects(about 20m*20m) above the terrain ,the
object seems been culled.
I know it is the Near and Far Plane issue,so I
.
Robert.
On Sat, May 7, 2011 at 4:55 PM, Lv Qing wrote:
Hi,
When I integrating my osg application into a QT application ,I found some
include conflicting while using osg 2.9.11.
/usr/local/include/osgDB/Serializer:640: error:expected unqualified-id
before numeric constant
Hi,
I have a VPB generated terrain model (.osga),about 4000Km*4000KM and near 3 G.
When I use osg2.9.11 viewering (osgviewer) this model ,it costs me only
5%~10% cpu usage.
When I use osg2.8.4 viewering this model ,it cost me 15%~25% cpu usage.
Is it because osg2.9.11 made improvements
Hi,
... Hi,
I have a VPB generated terrain model (.osga),about 4000KM*4000KM and near 3 G.
When I use osg2.8.4 viewering this model ,it cost me 15%~25% cpu usage.
I also make a province boundary layer model using OSGGIS,it convers some vector
shp file to a .ive model (all lines) which is
Hi,
When I integrating my osg application into a QT application ,I found some
include conflicting while using osg 2.9.11.
/usr/local/include/osgDB/Serializer:640: error:expected unqualified-id before
numeric constant
/usr/local/include/osgDB/Serializer:640: error:expected `)' before numeric
Chris 'Xenon' Hanson wrote:
On 5/7/2011 9:24 AM, Lv Qing wrote:
Is it because osg2.9.11 made improvements dealing with VPB generated
terrain model ?
OSG continues to improve. 2.9.11 will have lots of changes that could impact
performance. What is the purpose of your question
Hi,
...
I mean why viewering a much small model (3.5mb) takes as much cpu usage as a
large one(3.0G)?
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39156#39156
___
Hi,
...
Problem solved!
It is about some qt q_timer not-blocking signal issue,it is indeed nothing
wrong with osg or vpb.I dont excatly know why,but I hope it will help others.
Thank you all for your assistances in my most difficult time!
Cheers,
Lv
--
Read this topic
Hi,
... use osg2.9.12 and vpb 0.9.10 ,it still fails。so desperate~~
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38731#38731
___
osg-users mailing list
Hi,
...
linux qt4 osg2.8.4
I have use ViewerQT to integrate an osg application to a qt4 application witch
has other developer's none-osg application.
Then something strange happen,the ViewerQT seems disturb qt4 application's
shared memory ,which cause some memory crash however
not direct
Hi,
... Thank you for reply so soon!I build osg2.8.4 on linux only release no debug.
I just notic that since osg2.9.8 there is some improvement of
VirtualPlanetBuilder suppot and DatabasePager memory management and QT
support.Maybe I should try this?
Thank you!
Cheers,
Lv
Hi,
...
I dig up a littlte more this morning.I replace origina terrain.osga(about 2G)
with a small terrain.osga(10mb) ,problem remains,my total memory is 4G.
The error is printed within a net data send/receive management application
which works normaly without osg application.The osg
Hi,
It works!
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38558#38558
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
...
I'm currently having a problem with NVidia hardware on Linux, it's not directly
OSG related, but I hope someone here can help me.
Here is my setup :
linux
NVidia GTX 260 graphic cards
I have already enable Sync to VBlank in the Nvidia-settings.Every time I
first start the
Hi,
The example of osgviewerQT MDI version only run in SigleThreaded mode.
Is a MultiThreaded ViewetQT MDI version in unix possible?
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38073#38073
Hi,
solved as this,thx!
void AdapterWidget::resizeGL( int width, int height )
{
if (width 1) width = 1;
if (hight 1) hight = 1;
_gw-getEventQueue()-windowResize(0, 0, width, height );
_gw-resized(0,0,width,height);
}
Thank you!
Cheers,
Lv
--
Read this
zonk wrote:
Hi Lv (is that your realname?),
what in detail does not work with the manipulator together with a round earh
database?
Do you mean the up-vector of the camera, which is not updated and lead to an
misalligned orientation relativ to the tracked node?
Cheers,
Torben
Hi,
...
NodeTrackerManipulator works fine for a flat Earth,I want to modify it for a
Geocentric globe Earth like EarthManipulator dose in osgEarth.
Has anyone done it before?
Thank you!
Cheers,
Lv
--
Read this topic online here:
robertosfield wrote:
Hi Lv,
One approach you could take would be to reproject the imagery using
gdal_translate to the desired coordinate system and then set up VPB to
use the reprojected imagery.
Robert.
On Fri, Oct 29, 2010 at 1:10 PM, Lv Qing wrote:
Hi,
...
Thx
zonk wrote:
Hi,
Another solution could be to use libtiff newer than 4.0, with support for
bigTiff (Tiff files larger than 4 GB)
Cheers,
Torben
Thx,Zank!
I try to compile GDAL1.70 which seems to support for bigTiff .But when VPB
reprojecting the BigTiff image ,it report the .tiff
Hi,
I have splite the big image to 4 small image ,then use osgdem -t testA.tiff -t
testB.tiff -t testC.tiff -t testD.tiff,the prpblem seem to solved!
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33562#33562
Hi,
//simply define a node and a NodeCallback
osg::Node* node = new osg::Node;
osg::NodeCallback* nc = new osg::NodeCallback;
//setup the nodecallback,no problem
node - setUpdateCallBack(nc );
//remove the nodecallback,no problem
node - setUpdateCallBack(NULL);
or
node -
Hi,
...
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33297#33297
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
...
I want to build a geocentric database with large image(.img )bigger than 4G.
Everytime VPB must reproject the .img image to a temp .tiff file first,the
problem is .tiff file can not hold data larger than 4GB,so there also have
problem when reprojecting the original image.I try to
Hi,
I have create a arrow up to the sky ,its position is OSG::Vec3(x,y,z),its
rotation is osg::quat quat1(osg::degreetoradians(90.0)*osg::Vec3(0,0,1)).
I just want to rotate this arrow ,make it point to another
point(osg::Vec3(x1,y1,z1)).
Thank you!
Cheers,
Lv
--
Read
Hi,
...
I am using osgSim::SphereSegment to create a cone.like this:
SphereSegment::SphereSegment(osg::Vec3(0,0), 100,0,360,-50,0).
It looks OK,but there always has a secton betwen the acme and the
bottom.I try to disable side color,surface color,spoke color,edgeLine
color,there always
Hi,
...
I have try the osgGA::TerrainManipulator to manipulat a globle Earth,it does
not work very well .I also tried the EarthManipulator of osgEarth,it does well
to a .earth model,but it seems work fail to a vpb generated (.osga) model.Can
there be a solution?
Thank you!
Cheers,
Lv
Hi,
Need help, please
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21380#21380
___
osg-users mailing list
osg-users@lists.openscenegraph.org
lq37 wrote:
Hi,
Thank you Glenn !
Please tell me how to use local up vector to set the orientation
(pitch,roll,yaw) of my model.
Thank you!
Cheers,
Lv
Already solve the orientation issue,Thanks everyone!
Only the height issue remain.
--
Read this topic online
and then clamp down to the surface
(using the local up-vector at that point).
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com
(http://pelicanmapping.com) : +1.703.652.4791
On Sat, Dec 5, 2009 at 10:19 AM, Lv Qing () wrote:
Hi,
I have build a geocentric coordinate
Hi,
Thank you Glenn !
Thank you!
Cheers,
Lv
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20979#20979
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I have build a geocentric coordinate earth model using VPB and want to put a
simple model on the suface of the earth.
I use the convertLatLongHeightToXYZ function to convert the
BLH(Lat,Long,Height) of the simple model to XYZ of the
geocentric coordinate system.The result of X and Y seems
Hi,
Here is my setup:
-- Intel Core 2 6420 2.13GHZ
-- 3G RAM
-- Nvidia GeForce GTX 260 (drivers: 6.14.11.8242 2009-3-9)
-- winxp sp2,vs2005
-- osg2.8
In single monitor mode everything is working fine.When I run my application,CPU
usage is a constant 10%~15%.
But when I use two monitors and
Hi,
Here is my setup:
-- Intel Core 2 6420 2.13GHZ
-- 3G RAM
-- Nvidia GeForce GTX 260 (drivers: 6.14.11.8242 2009-3-9)
-- winxp sp2,vs2005
-- osg2.8
In single monitor mode everything is working fine.When I run my application,CPU
usage is a constant 10%~15%.
But when I use two monitors and
Hi,
...
I have created an earth model with VPB ( an ellipsoid with earth texture) by
the instruction post in
http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem.
(osgdem --bluemarble-west -t land_shallow_topo_west.tif --bluemarble-east -t
land_shallow_topo_east.tif -l
Hi,
...
I have build some terrain model by VPB(VirtualPlanetBuilder) which including
some area of ocean.Is it possible to combine the effect of osgOcean to the
terrain model which is build by VPB?
Thank you!
Cheers,
Lv
--
Read this topic online here:
86 matches
Mail list logo