Re: [osg-users] osggis crash on attribute query

2009-03-11 Thread legeochen
> Thanks! > > Jason > > On Thu, Mar 5, 2009 at 1:21 AM, legeochen wrote: > >> Hi all: >>I just recompiled my osggis with new release version 2.8 osg under my >> debian lenny. When I try attribute query with Ctrl+Left mouse, I found >> osggis crash with

Re: [osg-users] osg+QT MODKEY How to

2009-03-09 Thread legeochen
( (... ) ) for keys like: >> >> Qt::Key_up ... Have a look at the Qt documentation Qt::Key. >> >> I have managed it with: >> >> int c = *event->text().toAscii().data(); >> >> if ( c == 0) >> >> { >> >> switch (event->key

Re: [osg-users] osg+QT MODKEY How to

2009-03-07 Thread legeochen
Robert. > > On Sat, Mar 7, 2009 at 8:14 AM, legeochen wrote: > > Hi all, > >I'm trying to add a Modkey event handler to my application with osg > and > > qt4. But it seems that the getModKeyMask() fuction fails to work. Return > > value of getModKeyMask(

[osg-users] osg+QT MODKEY How to

2009-03-07 Thread legeochen
Hi all, I'm trying to add a Modkey event handler to my application with osg and qt4. But it seems that the getModKeyMask() fuction fails to work. Return value of getModKeyMask() always is 0, even if I have a MODKEY pressed. And, this is my code: if ( ea.getEventType() == osgGA::GUIEventA

Re: [osg-users] osggis crash on attribute query

2009-03-06 Thread legeochen
Hi, Yes, it works fine with osg 2.6, 2.7.5 etc. Thanks! cheers 2009/3/6 Jason Beverage > Hi, > > Does it work alright for you under 2.6? I'll try to take a look at it if I > get a chance. > > Thanks! > > Jason > > On Thu, Mar 5, 2009 at 1:21 AM, legeochen

[osg-users] osggis crash on attribute query

2009-03-04 Thread legeochen
Hi all: I just recompiled my osggis with new release version 2.8 osg under my debian lenny. When I try attribute query with Ctrl+Left mouse, I found osggis crash with “Segmentation fault”. How can I fix this? thanks. cheers! ___ osg-users mailing list

[osg-users] Model get twisted in osgviewer

2009-03-02 Thread legeochen
Hi All I came into such a problem. When I view a tunnel model in the format of shapefile with osgviewer, I found it get twisted. And when I turn it around, the distortion also changes. Since the value of vertices in my model are a little big, like (34462366.949, 2667053.504, 756.321), and generated

Re: [osg-users] OpenSceneGraph-2.8.0-rc3 tagged, please test

2009-02-09 Thread legeochen
Done! Everything bult successfully with MinGW. Cheers Legeo 2009/2/9 Morné Pistorius > Hi Robert, > > Built 2.8.0 branch, revision 9716 on Windows, VS 2005 SP1. Everything > built fine, 0 errors, 0 warnings. > > Cheers, > Morne > > > On Mon, Feb 9,

Re: [osg-users] my problem with VPB 0.9.9

2008-11-05 Thread legeochen
t; Could please explain what you mean by "it just stop there" as it's > totally meaningless. Does it crash? Does it hang? Does time freeze? > Does a bell ring and the bus conductor tell you to get off at the > next stop? > > Robert. > > On Tue, Nov 4, 2

[osg-users] my problem with VPB 0.9.9

2008-11-04 Thread legeochen
Hi all I have just managed to compile VPB 0.9.9. But there is a problem: when run the applications like osgdem, vpbmaster, it just stop there. osgdem --xx 10 --yy 10 -t ps_texture_16k.tif \ --xx 10 --yy 10 -d ps_height16.tif \ -l 8 -v 0.1 -o puget.ive -a pegout.osga I have osg 2.7.4 installed under