Homebrew [Release] BLEND3R - Opensource 3D Model Viewer

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
Country
Italy
BLEND3R v.1.1

blend3r_3.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)
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 ).

Download

http://rinnegatamante.it
 
Last edited by Rinnegatamante,
D

Deleted User

Guest
ur joking right??? :O:O

Oh man, I knew I'd be beat! >.> I was doing a lot of research around making an .obj viewer myself! :P

Awesome work man! Keep it up!
 
  • Like
Reactions: Davey159

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
Country
Italy
ur joking right??? :O:O

Oh man, I knew I'd be beat! >.> I was doing a lot of research around making an .obj viewer myself! :P

Awesome work man! Keep it up!

It's still not perfect, it doesn't support different primitives, materials, multiple textures and so on :P If you want to help or make a better one it's welcome! ;)
In some minutes i'll add also some screenshot.
 

gbaboy123

Banned!
Banned
Joined
May 14, 2011
Messages
412
Trophies
0
Location
tree with wi fi
XP
321
Country
United States
now we can know the true power of the 3ds. is there framerate difference between a 3d and 2d render or is it like a 3ds games that it always renders in 3d but parallax barrier hides the second render?

--------------------- MERGED ---------------------------

And one more question can we have it as a .cia i bet i should run better same as the how the emulators run better on cia than 3dsx
 
Last edited by gbaboy123,

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
Country
Italy
now we can now the true power of the 3ds. is there framerate difference between a 3d and 2d render or is it like a 3ds games that it always renders in 3d but parallax barrier hides the second render?

--------------------- MERGED ---------------------------

And one more question can we have it as a .cia i bet i should run better same as the how the emulators run better on cia than 3dsx

If you have 3D slider one it simply render twice the scene (first for left eye, second for right eye).
As for the CIA, read like 4 posts before this.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • AkiraKurusu @ AkiraKurusu:
    ^ Nah. I actually love macOS; so much more user-friendly than Windows 10.
    Gift
  • AkiraKurusu @ AkiraKurusu:
    I would absolutely love it if Apple started licensing the OS out, like Microsoft does, though.
    Still love the OS, just quite ambivalent about the OS' owner.
    Gift
  • AkiraKurusu @ AkiraKurusu:
    So as long as macOS is restricted to Mac computers, I don't regret purchasing a MacBook.
    Gift
  • El_Doot @ El_Doot:
    well, VMs exist
    Gift
  • El_Doot @ El_Doot:
    just harder to get MacOS running on one ig
    Gift
  • kenenthk @ kenenthk:
    MacMiller was better
    Gift
  • 2short @ 2short:
    Just build a hackintosh. I've been running hackintoshes for 6 years now
    Gift
  • DinohScene @ DinohScene:
    ARM is going to be a problem one day
    Gift
  • DinohScene @ DinohScene:
    I'm fairly certain MacOS 11 and 12 will suffer the same fate as 10.6, it being nothing but a transition OS from x86 to ARM
    Gift
  • DinohScene @ DinohScene:
    that being said, Apple is obviously a lot bigger then what it was back in the PPC days
    +1
    Gift
  • DinohScene @ DinohScene:
    but knowing them and taking past experiences into consideration
    +1
    Gift
  • AkiraKurusu @ AkiraKurusu:
    Huh, pretty certain it just hailed tonight. That's rare, here in Sydney; been years since the last hailstorm - this ain't the Blue Mountains, where it does get quite cold.
    Gift
  • DinohScene @ DinohScene:
    congratz on surviving!
    Gift
  • Robika @ Robika:
    How do you people see this chip crisis ending? Are there any good altenatives?
    Gift
  • kenenthk @ kenenthk:
    Apu
    Gift
  • kenenthk @ kenenthk:
    @AkiraKurusu, I walked in a hailstorm once not a fun experience
    +1
    Gift
  • Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Hail Hydra!
    Gift
  • TSP184 @ TSP184:
    Hail Hydra's back!
    Gift
  • mr_switch @ mr_switch:
    Well at least MacOS is ad free unlike Windows
    Gift
  • p1ngpong @ p1ngpong:
    lol typical reply to expect from someone called mr_switch
    Gift
  • p1ngpong @ p1ngpong:
    moar liek little bitch!
    Gift
  • p1ngpong @ p1ngpong:
    AHAHAHAHAHAHAHAHAHA
    Gift
  • mthrnite @ mthrnite:
    get a mac p1ng
    Gift
  • mthrnite @ mthrnite:
    also, RE4 on the quest is fucking magic
    Gift
    mthrnite @ mthrnite: also, RE4 on the quest is fucking magic