Newo Model Viewer is a basic Wavefront OBJ file viewer made specifically for the viewing and testing models created for Newo Shooter. The application is heavily based on Intro à la 3D sur Wii by EvilTroopa
Requirements for loading files
This application will only load .obj files which have normals and a single group. The OBJ file must be trianguled - quads will not work.
The application will only load a texture if it has the same name as the obj file. Example; box.obj will cause box.png to load. Textures must be PNG32. Each model can only have one group and one texture. Textures can be a maximum 1024x1024 and must be a multiple of 4;
There must not be any faces which have coords like "1//1" or "1///1".
Newo Shooter models are centered at 0 with a maximum point of 1 and a minimum point of -1 on all axies. There is a red box which indicates the expected min/maximum size. This limit allows objects to be scaled nicely relative to each other.
The "Load Model" menu reads the "model/" directory. The "Load Model 2" menu reads the "/apps/newoshooter/model/" directory. Hot swapping SD cards or USD sticks does not work. Files are only loaded at the start of the application from the device that the application is running on.
NB. Application will crash or hang if the above conditions are not met.
The collision boxes are a simple AABB. They are at the center of each triangle face. I explain how I use them for collision detection in this blog post; Simple AABB collision detection in NewoShooter.
All controls work for first player only.
Owen - C Programming
Julian (Default Models)
Blobby models from webglvisualization
Version 1 - June 09, 2012
Source and Download: http://wiibrew.org/wiki/Newo_Model_Viewer