|
From: KELLER J. FTRD/DMI/I. <joa...@rd...> - 2004-04-09 15:55:58
|
Hi Jonathan,
I've tried your code and... It works :-)
But only in windows... :-(
In Linux, I got this message:
------------
Traceback (most recent call last):
File "wxMainFrame.py", line 477, in OnPaint2DView
self.DoDrawing(dc)
File "wxMainFrame.py", line 629, in DoDrawing
OffScreenDC.SetLogicalFunction(wxCOPY)
File "/usr/lib/python2.2/site-packages/wxPython/gdi.py", line 720, in
SetLogicalFunction
val =3D gdic.wxDC_SetLogicalFunction(self, *_args, **_kwargs)
wxPython.wxc.wxPyAssertionError: C++ assertion "wxAssertFailure" failed
in /usr/src/redhat/BUILD/wxPythonSrc-2.4.2.4/src/gtk/dcclient.cpp(2024):
invalid window dc
Traceback (most recent call last):
File "wxMainFrame.py", line 477, in OnPaint2DView
self.DoDrawing(dc)
File "wxMainFrame.py", line 629, in DoDrawing
OffScreenDC.SetLogicalFunction(wxCOPY)
File "/usr/lib/python2.2/site-packages/wxPython/gdi.py", line 720, in
SetLogicalFunction
val =3D gdic.wxDC_SetLogicalFunction(self, *_args, **_kwargs)
wxPython.wxc.wxPyAssertionError: C++ assertion "wxAssertFailure" failed
in /usr/src/redhat/BUILD/wxPythonSrc-2.4.2.4/src/gtk/dcclient.cpp(2024):
invalid window dc=20
-----------
I don't understand exactly what's the problem.
Migrating to wxPython 2.5.1 (I'm still using 2.4.2.4) might solve it.
I have to got the time to migrate (it could be tough, see
http://www.wxpython.org/recentchanges.php )
Which version of wxPython are you using ?
It could also be an issue from wxGTK...=20
Wandering the web to clear up the problem, I found that:
http://wiki.wxpython.org/index.cgi/DoubleBufferedDrawing
Is this recipe still up to date ?
Anyway, as soon I got the time (next week), I will add your improvement
to the release (windows only).
Solipsisly yours,
-- Joaquin
-----Original Message-----
From: Jonathan Henderson [mailto:csh...@ya...]=20
Sent: Wednesday, April 07, 2004 11:12 PM
To: SIMON Gwendal FTRD/DMI/ISS
Cc: CSh...@ya...
Subject: Navigator Improvement
Here's the attachment in a zip file. I hope it gets
through this time.
As for the "constant user movement," I not sure if you
have read the first e-mail that I gave to Joaquin, but
in the fourth paragraph of the paper "Towards a
Peer-to-Peer Shared Virtual Reality," it discusses of
the expectation that the users using Solipsis will not
be moving around much. I discussed the problem of not supporting
constant entity movement with Joaquin. I sent in my ideas to implement
it and they were somewhat near to his DIS dead reckoning algorithm. It's
not official that I'm going to implement support for constant entity
movement, I just wanted to mention that it might be my next project.
Well, anyways, I hope you got the attachment. Enjoy.
Jonathan
--- SIMON Gwendal FTRD/DMI/ISS <gwe...@rd...>
wrote:
> Hi,
>=20
> We received your attachment, but we have problems
> with it. The
> file we receive is damaged: the most evident issue
> is that some cr\lf
> were added in long lines. We don't know where the
> problem occurs. It
> might be in our side. Anyhow, could you please send
> it as a .zip file ?
>=20
> Besides, we do not understand exactly what you mean
> about the
> "constant user movement" you want to implement.
> Could you give us more
> details ?
>=20
> Have fun !
>=20
> -- Gwendal
>=20
|