Q: I'm trying to add my own OpenGL commands, but they all fail. Why?
A: OpenGL doesn't work with threads. Meaning, only one thread at an application is allowed to perform OpenGL commands. There is already such a thread. It is the main thread (the one which is in charge of CMeshMakerView). If you must add your own OpenGL commands you have to do make sure they are performed in that same thread.
Q: I started a new model using Mesh::startNewModel, and added vertices and faces, but they don't show up. Why?
A: When you start a new model, you should also call Renderer::setAutoScale to make the model automatically rescale itself according to to the changes in the geometry.
Q: Sometimes I call some MeshMaker functions from my code (for example, the pick functions), and the program seems to be stuck. Why is that?
A: For some of the the API functions you need to be in a seperate thread from the main thread, otherwise there are synchronization problems. For your code it's preferable that you start a new thread, using startNewThread, and put your code in there. More details can be found in the MeshMaker Tutorial , under the section Step 5: Writing the function .
Q: There are some vrml files I try to open but the program crashes. Why?
A: The MeshMaker only supports reading vrml file with IndexFaceSet in them, and no shapes (such as spheres an cylinders). If you try to open such a file (with shapes), the program will crash. This also goes for the files the MeshMaker creates using Mesh::VRMLExport.
MeshMaker 5.2 Manual
This software library was written by Roni Raab, ronir@cs.technion.ac.il.
Last updated on May 2003.
This software is for academic and research use only.