Homebrew [Release] BLEND3R - Opensource 3D Model Viewer

  • Thread starter Thread starter Rinnegatamante
  • Start date Start date
  • Views Views 27,467
  • Replies Replies 37
  • Likes Likes 27
Status
Not open for further replies.
BLEND3R v.1.0

blend3r_1.jpg
blend3r_0.jpg


Description
Someone asked for such piece of code so i decided to write it :P
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)
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
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 ).

Download

http://rinnegatamante.it
I think I love you right now
 
Looks like i've found some bugs in textures, do someone wants to help finding what causes the problem?

1) It looks like textures bigger then 64x64 get uncorrectly binded. [?]
2) It seems like textures need to be rotated by 90 degrees (right-side(?)) to get properly binded
3) It seems like textures bigger then 512x512 cause a system crash. [?]
 
  • Like
Reactions: Naked_Snake
Looks like i've finally found a way to fix textures (all the bugs i reported) so probably expect a new release soon :P

In the meantime, here you are the (desilenced) M4A1-S model from CS:GO loaded with the Hyper Beast texture in 512x512 resolution :D
blend3r_3.jpg
 
  • Like
Reactions: Chrisser_75
v.1.1 released! Now textures are fully working, there are 3DS/CIA builds and also some minor tweaks.

Changelog:
Code:
- Fixxed textures loading, now it will not crash the system in certain circumstances.
- Fixxed textures binding, now any kind of texture will be correctly binded to the model.
- Now CPU panel is visible even in Filebrowser mode.
- Bugfix for model rotation, now X and Y axis are correctly used for rotation.
- Reduced touchscreen sensibility for a better experience with model rotation.
- Added screenshots support with SELECT button (experimental).
- Added CIA and 3DS builds.

Download: http://rinnegatamante.it

As for the screenshots, sometimes it will take incorrect screenshots. I suggest you to take twice screenshots when you want to use it. They will be saved in root of SD named as blend3r_SCREENSHOT_ID.jpg
 
Last edited by Rinnegatamante,
  • Like
Reactions: UltiNaruto
oh, nice.
If this is able to deal with >=2048px texture maps I will use this at my university

testing tomorrow
 
am trying to load a mario kart 8 track but it gets stuck in loading model and it happens the same with mario from mario galaxy and both objects are obj
 
Just noticed the 1.1 update right now. Thanks for fixing the textures. I'll check if it solved my issue.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum