3DNes

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

@mkwong98
- This is the side effect of shape segmentation algorithm and not related to chr ram :)
Last edited by geod on Sun Feb 21, 2016 6:58 am, edited 1 time in total.
3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

@tepples
Hatris Clip
https://youtu.be/8oP2PckYZIs

RHDE
https://youtu.be/NVUxS_JjrYY

With RHDE the emu hangs after the introduction scene. It seems to me that it does not like working with homebrew games at all :D
3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: 3D Nes Emulator

Post by tepples »

Hatris
The BPS and Hatris logos were messed up, possibly because the background is not color 0. It tried to do a good job with the crown, but the background pattern overwhelmed the wizard hats. On the next screen, I was impressed that it almost got the jukebox, the "STAGE" cabinet, and the window right, but "SHOP" was recessed. "STAGE" also flipped to recessed once one was chosen. I'm not entirely sure anything will detect all possibilities correctly.

The gameplay screen looked surprisingly okay, though it got confused when rounded vs. not rounded. The conveyor belt flickered strangely, sort of like a bunch of things in Dr. Mario.

RHDE
The Blender-rendered, cel-shaded scene in the title screen is flat except for a couple cutouts in the guy towing the chair, caused by using sprites to cover attribute clash. (The title screens of Contra and Tetris 2 have the same thing.) I didn't really expect more, as recognizing depth from a scene like that would be very game-specific. "FURNITURE FIGHT" at bottom is recessed, making it look as if it were a wall that originally read "FURNITURE FIGHT" onto which "RHDE" had been spray-painted. I found this effect interesting. In the text at bottom, some words were extruded more than others, and the top ("5 Rounds" and "Endless") sort of got lost under the wall.

Select Race: The sides are more or less completely flat, except for under the poli character in the center, because it can't tell the sprites from the background. I was going to redesign this screen entirely for version 2 though. The "1" and "2" are rounded. The grass is rendered behind the house, possibly because it's behind sprites. And the sky is in front.

As for freezing, can you make your emulator output a trace log of executed instructions to see where it's getting hung up? It could in fact be my own bug in the game, where I'm depending on some poorly specified behavior of the system.
geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

Very detailed feedback, thank you.

If you check the video of new version, DrMario does not flicker anymore :). In most case shape segmentation is the source of error. It's always hard and even harder when time constrains come into the show. I do not have the computation power to analyse the frame per pixel, only do it per tile so the situation is even worse. We still do not count the fact that shapes could share the same tile. Some pixels belong to one shape and some belong to another shape and the current mechanism couldn't do anything to deal with it :(. Anyway the emu should have specific game coefficients to obtain near perfect rendering but it's the future work.

The new version become hangs while running game with save state and i still don't know why, maybe i will implement trace log when i deal with this bug.
Last edited by geod on Thu Mar 10, 2016 6:42 pm, edited 2 times in total.
3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: 3D Nes Emulator

Post by tepples »

It might end up the case that we'll need to go with game-specific depth hints per tile.
geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

I think i will not try to achieve the perfect tile depth and z-position. Basically the creator designed the game with 2D space in mind so in some case it's almost impossible for perfect 3D space converting even by human mind. So my ultimate goal is much more modest - just a "decent" 3D scene with clear visibility of shape/tile.
3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

Finally the beta is ready:
http://tructv.bitbucket.org/3dnes/
It only runs only Firefox for now.
Have fun!
3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
User avatar
zeroone
Posts: 939
Joined: Mon Dec 29, 2014 1:46 pm
Location: New York, NY
Contact:

Re: 3D Nes Emulator

Post by zeroone »

rcpinto
Posts: 3
Joined: Wed Mar 09, 2016 5:13 pm

Re: 3D Nes Emulator

Post by rcpinto »

Kudos on the amazing work!

JOOC, are you using some machine learning algorithm to learn to classify the shapes? If yes, which one?
geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

Just no at the moment.
3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
User avatar
BioMechanical Dude
Formerly AlienX
Posts: 137
Joined: Fri Apr 18, 2014 7:41 am
Location: Bulgaria

Re: 3D Nes Emulator

Post by BioMechanical Dude »

Aaand AlphaOmegaSin just made a video about your emulator. Congratulations!

*Edit: Also, trying to open a game of my own, but the script crashes. (And, yes, I am running it on Firefox) Any help?
Greetings! I'm That Bio Mechanical Dude and I like creating various stuff like movies, games and of course chiptunes!
You can check out my YouTube Channel.
You can also follow me on Twitter.
geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

BioMechanical Dude wrote:Aaand AlphaOmegaSin just made a video about your emulator. Congratulations!

*Edit: Also, trying to open a game of my own, but the script crashes. (And, yes, I am running it on Firefox) Any help?
Please try to reread the just updated "How to play" section. If it still does not work for you then let's blame on the Unity and Firefox guys :(.
Last edited by geod on Sat Mar 12, 2016 7:46 pm, edited 1 time in total.
3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
User avatar
zeroone
Posts: 939
Joined: Mon Dec 29, 2014 1:46 pm
Location: New York, NY
Contact:

Re: 3D Nes Emulator

Post by zeroone »

User avatar
Zepper
Formerly Fx3
Posts: 3262
Joined: Fri Nov 12, 2004 4:59 pm
Location: Brazil
Contact:

Re: 3D Nes Emulator

Post by Zepper »

Well... the online version is unplayable. You need high lucky to get it working.
geod
Posts: 134
Joined: Thu Nov 26, 2015 12:02 am

Re: 3D Nes Emulator

Post by geod »

3dSen - Play NES games in 3D & VR
http://www.geodstudio.net/
Post Reply