Newo Model Viewer Wii

From GameBrew
Newo Model Viewer
Newomodelviewerwii2.png
General
AuthorOwen
TypeOther Apps
Version1.4
LicenseGPL
Last Updated2012/06/18
Links
Download
Website

Newo Model Viewer is a tool specifically designed for the homebrew game Newo Shooter that allows users to view and test models created for the game. It is a simple program that is able to open and display Wavefront OBJ files.

The application is heavily based on the guide Intro à la 3D sur Wii by EvilTroopa, which provides an introduction to 3D on the Wii.

Features

  • Load and preview simple obj files.
  • Zoom, Scale amd Rotate model.
  • displays the count of faces and collision boxes.
  • Change background colour, light on/off.
  • View model as WIREFRAME, FILL + TEXTUE, COLLISION BOX, COLL + FILL + TEXT, WIRE + COLL, WIRE+FLAT OR WIRE+TEXT+FILL.
  • Save screenshots to screenshot folder.

User guide

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;

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.

Note: Application will crash or hang if the above conditions are not met.

Collision Boxes

The collision boxes are a simple AABB. They are at the center of each triangle face.

An explanation of how to use them for collision detection can be found in this blog post Simple AABB collision detection in NewoShooter.

Controls

All controls work for first player only.

D-Pad - Rotate Model

Plus Button - Options Menu / Accept

2/1 - Move Model Backward/Forward

A - Switch Draw Mode

B - Scale Model

1+2 - Reset Model

Home - Menu

Screenshots

newomodelviewerwii2.pngnewomodelviewerwii9.png

newomodelviewerwii8.pngnewomodelviewerwii3.png

newomodelviewerwii4.pngnewomodelviewerwii5.png

newomodelviewerwii6.pngnewomodelviewerwii7.png

Media

Newo Model Viewer v1 (Cid2Mizard)

Changelog

Version 1.4 2012/06/17

  • English, French, and Spanish (Google translator).
  • Improved menu performance, location and appearance.
  • New colour options, including model, ambient light, defuse and random colours (nice).
  • Auto spin model on X and Y.
  • Loading bug fix suggested by wilco2009 (of scenebeta).
  • Language selection menu.

Version 1 2012/06/09

  • First release.

Credits

  • Owen - C Programming .
  • Julian (Default Models).
  • GRRLIB.
  • Blobby models from webglvisualization.

External links

Advertising: