Using the Polyhedron Demo from code #6334
-
For development, I need to be able to display several 3D elements on the same scene. I would like to be able to display my meshes directly from the code. There is the The Polyhedron demo already has everything I need internally, do you think there is a way to use it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Maxime, I do not know exactly what you would like to do. Do you just want to launch the Polyhedron demo using your C++ code (and in that case Or maybe you want to embed the Polyhedron demo in your own application. That is probably doable with slight modifications of CGAL, but that will be more work. |
Beta Was this translation helpful? Give feedback.
-
Hi Irineau, A question about qt: But there are so many source files in that demo programm, that I do not really understand them all. Can you explain how I should start? |
Beta Was this translation helpful? Give feedback.
Hi Maxime, I do not know exactly what you would like to do. Do you just want to launch the Polyhedron demo using your C++ code (and in that case
std::system
or QtQProcess
class might be answers). If you give several files to the demo as command line arguments, they will all be opened in the same scene at startup.Or maybe you want to embed the Polyhedron demo in your own application. That is probably doable with slight modifications of CGAL, but that will be more work.