Hi there, I have a sample program, using OpenSG 1.6.0, which loads a txx font and displays it in front of a torus, for test matters. On Windows using VS, the Code works fine, the text is displayed.
On Linux (SuSe 9.1) the code compiles, but throws a Segmentation Fault in GLUTMainLoop. This only occurs when using the function fillTXFGeo with an empty Geometry: GeometryPtr txfGeo = Geometry::create(); fontText.fillTXFGeo(*txfGeo, true, lines); On the other hand, when creating a plane geometry and NOT applying fillTXFGeo, but only applying the texture from the txf later on, I get a plane with the whole TXF alphabet on it. Makes sense, because no texture alignment is made and only a single Plane instead of a dozen quads is used. GeometryPtr txfGeo = makePlaneGeo(8, 8, 1, 1); // fontText.fillTXFGeo(*txfGeo, true, lines); Why does this work on Windows, but not on Linux. I seems the function creates corrupt Geometry data but I could not figure out why till now. I also tried different libraries on Linux, but without success. Any help greatly appreciated, if you need more system specs just tell me. I was wondering about this, because it is said that the text support on windows is poor, but at the moment it seems vice versa, though OSGText is still experimental on both platforms. Sincerely ~ Nils Peuser _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
