Known Problems
First, a few general comments:
-
It goes without saying (so why am I saying it?) that any bugs in the FOX
library will be exposed in FXPy as well.
-
FXPy is pretty highly coupled with its targeted version of the FOX library,
and as long as FOX's API is still changing there's a good chance that the
"latest" version of FXPy will not be compatible with the "latest" version
of FOX. For this reason, you should pay close attention to the FXPy version
number; it should match the FOX library version to which you're linking.
Once FOX 1.0 is officially released (and the API is presumably frozen)
this instability should be less of an issue.
-
All of the test programs run, but some of them don't quite work properly.
For example, the image.py test shows the wrong images. So sue
me, I'm working on it :)
The following FOX features (including some class member functions) are
currently not supported by FXPy. They will probably be supported in a future
release of FXPy unless there is some overwhelming technical reason not
to do so.
-
FXDataTarget is not implemented, and right now I have no idea
how to do so. This class works (in C++) by saving a reference to the input
variable and then changing its state (or reacting to changes in its state,
as the case may be). It is typically used with mutable datatypes in C++,
namely ints, floats and strings. In Python, those datatypes are immutable.
Do you see where I'm going with this? Java has a similar problem and they
provide objects which act as wrappers around the primitives (e.g. the java.lang.Integer
class). Perhaps that's the way to go, but it's a bit awkward.
-
FXDebugTarget is not implemented.
-
FXVec, FXDVec, FXRange, FXHMat, FXDHMat,
FXHVec, FXDHVec, FXQuat and FXDQuat
are not implemented.
-
Although the FXStream and FXFileStream classes are exposed
to Python to a limited degree, you can't really mix and match Python serialization
with FOX's serialization. For an example of how you can use FOX stream
objects from Python, see the imageviewer test program, where we
use an FXFileStream object to load and save the image data.
-
For FXGLViewer, the getZSortFunc(), and setZSortFunc()
functions are not yet implemented.
-
For FXGLTriangleMesh, the setVertexBuffer(), setColorBuffer(),
setNormalBuffer(),
setTextureCoordBuffer(),
getVertexBuffer(),
getColorBuffer(),
getNormalBuffer()
and getTextureCoordBuffer() functions need to be fixed.
-
The static member function FXFont.listFonts() is missing
Last Update: $Date: 2000/10/04 23:50:47 $