Am 14.03.2006 um 21:59 schrieb Peter Amstutz:
csDefaultRunLoop(object_reg);
Okay, this is probably a valid fix, provided we still have a way to
quit :-)
Currently there is no way to quit, as keyboard input is not
recognized at all.
See below.
Does the entire scene load correctly? You mentioned you were
having problems with that before?
No, still some problems with that. The outerwalls only have the
default checkerboard texture, and I think
some other textures may be messed up as well, hard to tell. There is
also some missing geometry,
like I never see the blue sphere that is supposed to be there, just
the red one (a3dldemo). Also, it still
has problems with models. At least yokho appears (yay!), but there is
a console error saying
crystalspace.mesh.sprite.3d: Error! Trying to draw a sprite with no
material!
and the 3ds pot does not appear at all, error message
crystalspace.maploader.parse: Model buffer not recognized!
Also, for mouse navigation, you use the right mouse button (command-
click in OS X I think?) to toggle between mouselook mode and
browsing mode, and in mouselook mode the left mouse button makes
you walk forward. So if the mouse works, you should be able to
move around.
No, in order to spin the scene I have to drag the mouse. I guess this
is some sort of default behavior of the CS framework or so?
Perhaps it is failing to get keyboard focus in some way? Does
walktest in Crystal Space work? All the keyboard handling in
terangreal is with the event system provided with CS, we arn't
doing anything strange.
Maybe, since keys typed while the Terangreal window is focussed wind
up in the console. However, walktest and even vostest both work fine,
I can walk around with keypresses, and wakltest lists coordinates and
things selected on mouse click. So this is probably a matter of
"correct" initialization of key and mouse event handlers. I assume
terangreal with its own run loop likely does this in a different
manner than walk/vostest with csDefaultRunLoop do. But, as I said, I
know zip about CS, so I cannot really tell whats wrong as I don't
know what to look for. Hence my plea to the more versed in these arts.
WxTerangreal uses the Wx runloop, which should itself be
implemented using the Cocoa runloop. The wxgl plugin takes wx
events and translates them into CS events. I don't think there
should be any problem there... The place to start is really with
the "wxtest" program in CS, which I think you mentioned does not
work either (it should be displaying a room which you can move
around in)? You might want to bring this issue to the Crystal
Space mailing list.
wxtest shows an empty window, sometimes after moving that around
there si a black rectabgle inside that window. It does however list
keypresses and mouse movement on the console. The version I tries was
the snapshot for pre2 however, I will have a look at the CVS version
and see if I have more luck with that.
Anyway, thanks for the continuing support on these issues :-)
Karsten Otto (kao)
_______________________________________________
vos-d mailing list
[email protected]
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d