3,930 bytes added
, 07:42, 10 June 2012
{{Infobox homebrew
| title = Newo Runner
| image = [[Image:NewoModelViewer_icon.png|200px]]
| type = utility
| author = [[User:Owen|Owen]]
| coder =
| translator =
| graphics by =
| contributor =
| portedby =
| version = 1.1
| licence = GPL
| download = https://www.box.com/s/fe5c26519b3259ff8d2c
| website = http://newogame.posterous.com/
| discussion =
| source =
| peripherals = {{WiimoteHorizontal}} {{FrontSD}} {{USBMSD}}
| hbb = yes
}}
<div class="toclimit-2">
__TOC__
</div>
'''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 [http://www.dev-fr.org/index.php/topic,4870.0.html Intro à la 3D sur Wii] by [User:EvilTroopa EvilTroopa]
== 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 + TEXTURE, COLLISION BOX, COLL + FILL + TEXT, WIRE + COLL, WIRE+FLAT OR WIRE+TEXT+FILL.
* Save screenshots to screenshot folder.
<small>Add your ideas or suggestion by clicking on the 'discussion' tab or [[talk:Newo_Model_Viewer|here]]</small>
== Screen Shots ==
<gallery style="text-align:center;" widths="150px" >
File:NewoModelViewer_01.png | Interface
File:NewoModelViewer_02.png | Interface
File:NewoModelViewer_03.png | Interface
</gallery>
== Video ==
none yet
<!--
<youtube valign="top" align="left">lfzG8j6AUXQ</youtube>
<span style="font-size: 58%;clear:both;display:block;"></span>
Courtesy of [[http://nintendomax.com Cid2Mizard]]
-->
<br />
== 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.
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.
== Collision Boxes ==
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; [http://newogame.posterous.com/simple-aabb-collision-detection Simple AABB collision detection in NewoShooter].
== Controller ==
All controls work for first player only.
{| class="wikitable" style="left;text-align:center;"
|-
!{{WiimoteHorizontal}}
!Action
|-
|{{WiimoteDPad}}
| Rotate Model
|-
|{{WiimotePlusButton}}
| Options Menu / Accept
|-
|{{Wiimote2Button}}
| Move Model Backward
|-
|{{Wiimote1Button}}
| Move Model Forward
|-
|{{WiimoteAButton}}
| Switch Draw Mode
|-
|{{WiimoteBButton}}
| Scale Model
|-
|{{Wiimote1Button}}+{{Wiimote2Button}}
| Reset Model
|-
|{{ClassicHomeButton}}
| Menu
|}
== Credits ==
* [[User:Owen|Owen]] - C Programming
* Julian (Models)
* [[GRRLIB]]
== Changelog ==
=== Version 1 - June 09, 2012 ===
* First release
== Inspiration & Thanx ==
* [http://www.dev-fr.org/index.php/topic,4870.0.html Intro à la 3D sur Wii] by [User:EvilTroopa EvilTroopa]
* [[GRRLIB]]
[[Category:Homebrew in Development]]
[[Category:Homebrew using GRRLib]]