12-24-2022, 01:55 PM
I will describe it more specifically.
1.You will get an .OBJ file
2. Use a text editor to cut out everything you don't need. Only rows V and F remain.
3. Write a program that reads the file and places the points and triangles in an array
4. From here you can connect it with everything you have done so far.
I might add that you number the end of the F lines. 1,2,3. These could be texture indices. And in the program you enter: texture(1) = _loadimage.......
If this system succeeds, you can easily make a table yourself, or any other object. All you need is a piece of paper on which you draw it, and you type it yourself in a simple text editor based on the syntax.
1.You will get an .OBJ file
2. Use a text editor to cut out everything you don't need. Only rows V and F remain.
3. Write a program that reads the file and places the points and triangles in an array
4. From here you can connect it with everything you have done so far.
I might add that you number the end of the F lines. 1,2,3. These could be texture indices. And in the program you enter: texture(1) = _loadimage.......
If this system succeeds, you can easily make a table yourself, or any other object. All you need is a piece of paper on which you draw it, and you type it yourself in a simple text editor based on the syntax.