I’d like to know if there is a way of creating objects on the fly. I have method which computes the object vertex position and an other one which computes the faces of the object. I could create an egg file (although all my attempts to create a model with a egg, even a really simple model have failed - I think I did not get how it works) but I have a lot of objects, and writing into a file then loading them seems a bit slow.
What I would like to do is to create the object directly from my program. Is this possible ?
It works fine for me. You just have to reposition the camera a bit to see it. Drag with the right mouse a bit upwards to zoom out, then drag the middle mouse button around to rotate. You will see two perfect red triangles.