BLEND3R 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 11: Line 11:
| source =
| source =
}}
}}
 
==Description==
=BLEND3R=
Someone asked for such piece of code so i decided to write it
 
<span style="font-size: 18px"><span style="color: #00b300">'''<span style="font-size: 15px">Description</span>'''</span></span><br />
Someone asked for such piece of code so i decided to write it [[File:styles/default/xenforo/clear.png|class=mceSmilieSprite mceSmilie14|:P]]<br />
BLEND3R is a 3D model viewer wrote with lpp-3ds fully opensource.<br />
BLEND3R is a 3D model viewer wrote with lpp-3ds fully opensource.<br />
It can be used for benchmark purposes (since BLEND3R allows also stereoscopic 3D and shows current FPS during rendering process) or just for fun.<br />
It can be used for benchmark purposes (since BLEND3R allows also stereoscopic 3D and shows current FPS during rendering process) or just for fun.<br />
It supports Wavefront (.obj) models but with some restrictions: only triangles primitives, materials are not supported).<br />
It supports Wavefront (.obj) models but with some restrictions: only triangles primitives, materials are not supported).<br />
<br />
<br />
<span style="font-size: 15px">'''<span style="color: #00b300">How to adapt a model</span>'''<br />
==How to adapt a model==
</span><br />
 
To be sure your model will be compatible with BLEND3R you can use Blender ( &lt;.&lt; ) to convert it into a triangles primitives one.<br />
To be sure your model will be compatible with BLEND3R you can use Blender ( &lt;.&lt; ) to convert it into a triangles primitives one.<br />
You can follow this short tutorial to do so:<br />
You can follow this short tutorial to do so:<br />
Line 30: Line 27:
5) Press CTRL+T<br />
5) Press CTRL+T<br />
6) Export the model as Wavefront (.obj). (Uncheck during exporting the Write Materials box)<br />
6) Export the model as Wavefront (.obj). (Uncheck during exporting the Write Materials box)<br />
<br />
 
<span style="color: #00b300">'''<span style="font-size: 15px">Controls</span>'''</span><br />
==Controls==
'''<br />
 
Filebrowser:'''<br />
===Filebrowser:===
<br />
 
DPad = Navigate through files<br />
* DPad = Navigate through files
A = Open Directory / File<br />
* A = Open Directory / File
X = Enable / Disable 804 Mhz mode (N3DS only)<br />
* X = Enable / Disable 804 Mhz mode (N3DS only)
SELECT = Take screenshot<br />
* SELECT = Take screenshot
START = Exit Homebrew<br />
* START = Exit Homebrew
<br />
 
'''Render Phase:'''<br />
===Render Phase:===
<br />
 
Circle Pad = Move model<br />
* Circle Pad = Move model
L / R = Zoom In / Zoom Out<br />
* L / R = Zoom In / Zoom Out
Touchscreen = Rotate model<br />
* Touchscreen = Rotate model
X = Enable / Disable 804 Mhz mode (N3DS only)<br />
* X = Enable / Disable 804 Mhz mode (N3DS only)
B = Return to Filebrowser<br />
* B = Return to Filebrowser
SELECT = Take screenshot<br />
* SELECT = Take screenshot
START = Exit Homebrew<br />
* START = Exit Homebrew
<br />
 
<span style="font-size: 15px">'''<span style="color: #00b300">How to use textures</span>'''<br />
==How to use textures==
</span><br />
 
You can use a texture with your model by inserting a PNG file with the same name as the model ones in the same folder (so like /model.obj and /model.png ).<br />
You can use a texture with your model by inserting a PNG file with the same name as the model ones in the same folder (so like /model.obj and /model.png ).

Revision as of 05:29, 12 September 2021

Template:Infobox-3DS-Homebrews

Description

Someone asked for such piece of code so i decided to write it BLEND3R is a 3D model viewer wrote with lpp-3ds fully opensource.
It can be used for benchmark purposes (since BLEND3R allows also stereoscopic 3D and shows current FPS during rendering process) or just for fun.
It supports Wavefront (.obj) models but with some restrictions: only triangles primitives, materials are not supported).

How to adapt a model

To be sure your model will be compatible with BLEND3R you can use Blender ( <.< ) to convert it into a triangles primitives one.
You can follow this short tutorial to do so:
1) Start Blender v.2.7.
2) Remove the default cube and import your model.
3) On bottom screen where you see "Default Mode", click it and select Edit Mode
4) If your model is not selected, press A to select it.
5) Press CTRL+T
6) Export the model as Wavefront (.obj). (Uncheck during exporting the Write Materials box)

Controls

Filebrowser:

  • DPad = Navigate through files
  • A = Open Directory / File
  • X = Enable / Disable 804 Mhz mode (N3DS only)
  • SELECT = Take screenshot
  • START = Exit Homebrew

Render Phase:

  • Circle Pad = Move model
  • L / R = Zoom In / Zoom Out
  • Touchscreen = Rotate model
  • X = Enable / Disable 804 Mhz mode (N3DS only)
  • B = Return to Filebrowser
  • SELECT = Take screenshot
  • START = Exit Homebrew

How to use textures

You can use a texture with your model by inserting a PNG file with the same name as the model ones in the same folder (so like /model.obj and /model.png ).

Advertising: