Time for action – sorting your stuff out
When you start coding, you may want to load sample models to test a scene or interaction. Since your own artwork is most likely not ready yet, you typically use free models or mock-ups. Now it's time to decide on a directory structure for your assets:
- Create subdirectories under
assets/Textures/
. Keep original models, their textures, and materials together! - Create parallel subdirectories for
.j3o
models underassets/Models/
.
For example, in a racing game, you would prepare the following for your car models:
assets/Textures/Vehicles/Cars/
forferrari.obj
andporsche.obj
—including material and texturesassets/Models/Vehicles/Cars/
forferrari.j3o
andporsche.j3o
Or in a shooter, you would prepare the following ...
Get jMonkeyEngine 3.0 Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.