I have geometry definition in .obj file /WaveFront format/. I can load meshes of this 3D model and get vertices :
[[ 0. 0. 0.] ,[ 0. 0. 3.25] ,[-2.48 14. 0.] ,[ 0. 0. 0.] ,[0. 3.25 -2.48] ,[9.01 0. 0.] ,...]
QUESTIONS -- what i have accomplish :
- How fill the model with the same cubes of the given size /in mathematical sense/ using Python 2.7 ?
- In advanced mode I have each squares have random|different color and draw by using pyOpenGL ?