Now with the following struggle. :evil: f I've created a cube in Milkshape 3D and export it as ogr .mesh file-format. So far so good,,,, But: uuggggghhh
When i try to load the mesh in Purebasic than i get the following:
[quote="olejr"]Example. Here I use only QCube() (create a cube..). Don't ask me what else the librarys does, I don't use it... :) This is a result of 2 minutes of reading through the code.. As he (Erlend) say at the top of the source: Best way to learn/understand is to test and modify ;Example ...
After experimenting with PureBASIC, reading the manual etc.., i have a very very important question and that is:
Is there any 3D command for making a cube or cone or triangle or other basic 3D-shapes? If not, how do i accomplish this? like creating a Cube, Triangle, Cone, sphere ...
How do i calculate or better, program a ship that will shoot in any direction the ship is pointing to? like the Ship in Asteroids. And how do i let the ship rotate too? And how do i let the bullet shoot in the direction the ship is pointing at?