> Date: Wed, 18 Jun 2008 14:11:52 -0500> From: [EMAIL PROTECTED]> To: 
> [email protected]> Subject: Re: [Opensg-users] FW: Navigator 
> issue> > Hello Telmo,> > Telmo Nobre wrote:> > Hi> > > > First sorry for my 
> english.> > don't worry about it, there are quite a few non-native speakers 
> on this > list (including myself).> > > I'm a Portuguese student and I'm> > 
> developing a project for my graduation, it consist on> > a virtual visit on 
> the school.> > > > We are using openSg to do it and have some problems with 
> the> > navigator.> > > > We had design all scene in 3ds Max, and import it to 
> openSg with> > a .bin file.> > > > When I develop the walkNavigator with only 
> a Torus on the screen> > it work´s perfectly, but when I draw the all scene 
> it doesn't work.> > > > With the torus when I press and leave the key down 
> the navigator> > walk forward correctly, but with the all scene (with the 
> bin> > file) he just move forward when I drop the key, and the jump is> > 
> proportional to the time that the key is pressed. > > this sounds as if most 
> things work correctly, but it only draws a new > frame, when you release the 
> button.> Have you tried adding a glutPostRedisplay() call at the end of your 
> > glutKeyboardCallback ?> > > I want to control the navigator with keyboard 
> so I made the> > following function:> > > > void teclado(unsigned char k, int 
> x, int y){> > > > if((GetKeyState('W') & 0x80))> ^^^^^> This is a win32 api 
> function, right? I don't know how that interacts > with the keypresses 
> reported by glut, but since it seems to work for you > (at least with the 
> torus) this is probably not the problem...> > Hope it helps,> Carsten
 
Hi Carsten
 
I'm shure that the problem isn't in the keyboardFunc.
 
Now I'm using a FlyNavigator and he works well, but I prefer the WalkNavigator 
because he have collision detection. 
 
I realize that with the walk Navigator the problems only begins when the 
position of Navigator is over something. If your position is not over the 
scene(in the space) the walkNavigator works well to, but when I go forward and 
step up to the sceen it seems like he make litlle jumps to walk forward. Maybe 
I need to configure something more on the walkNavigator.
 
I'm not shure if you'll understand my problem but thanks anyway.
 
Regards Telmo
 
_________________________________________________________________
Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver 
offline. Conheça  o MSN Mobile!
http://mobile.live.com/signup/signup2.aspx?lc=pt-br
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to