Hello everyone
I'm currently following a course "Game Development" where we learn everything from design to 3d drawing to programming. The language we use is C++, however I'd like to learn Java as well and have there for decided to create a large project (together with a number of other students) in this programming language.
Since we're mostly all beginners I wanted to begin with simple basics but have quick results to keep motivation high. What I mean is, for example implementing the models we create in 3DS MAX in Java and use those. Though I should note that we haven't reached this chapter yet for C++ in our course.
I started gathering information yesterday around the internet and combined several tutorials into one little Java program, and after succesfully importing a model I made from 3DS MAX I started to play around with it a little more (camera, lights). I noticed that it wasn't textured though so I moved on to that and started Googling. Currently I have this code, which I've taken mostly from this site:
https://users.cs.jmu.edu/bernstdh/web/common/lectures/slides_java3d-texture-mapping.php
However, in the slides there does appear to be a shortage of information. I'm missing two array variables: vertices and faces. If anyone has any idea on how these variables should look like it would be a great help.
TD;DR: I'm missing two array variables, vertices and faces. Having no idea what they should look like.
This is my current source:
/** …