Example

SuperFX chip

11

Mrlegoboy 2019-11-01 00:09 (Edited)

I have encoded a special chip that I have invented to boost the NX’s performance and allow it to render 3D graphics. The only reason i can get away with a non physical chip is the NX is a non physical console.

No, whats going on here is I am taking advantage of the fact that NX uses floating point numbers and sin and cos functions are lightning fast. The NES and gameboy color probably couldn’t do this because they worked with integers. The real SuperFX chip probably gave the SNES the ability to use floating point numbers, which were just starting to get really popular at the time.

Edit: I reuploaded The simpler, but better looking version so that I can use this program in a portfolio.

Triangle.nx | Open in app
2021-05-10 18:34
SuperNX Chip (2).nx | Open in app
2019-12-12 03:10
SuperNX Chip.nx | Open in app
2019-11-10 22:18
Triangle.nx | Open in app
2019-11-01 01:17
Triangle.nx | Open in app
2019-11-01 00:09

Tinycloud778 2019-11-01 02:41

This looks amazing


was8bit 2019-11-01 05:56

Ooooooooooooh myyyyyyyyyyy gooooooodneeeeeeeesss!!!!!!!!

Super cool \(^_^)/


DJMoffinz 2019-11-01 06:17

(≧∇≦)<— very excitement


BlockHead 2019-11-01 09:44

Gooooooooooooooooooooooooooooood


Mrlegoboy 2019-11-05 20:44

I can’t figure out how to do depth buffering


was8bit 2019-11-06 04:25

You're a few light years ahead of me already....


Mrlegoboy 2019-11-08 04:29 (Edited)

Depth buffering is possible, but currently i have not been able to figure out the math ): so i’m puttIng this project on hold. Thanks for the positive feedback!


Mrlegoboy 2019-11-08 05:00

Unless... would you guys like a game using this flawed rendering?


was8bit 2019-11-08 15:19 (Edited)

It is good looking, a little game could be made with it....

Is it possible to have 2 of them on the screen at the same time? A dog fight game would rock!!


Mrlegoboy 2019-11-08 17:46

It is very possible. Frame rate would drop by half, but i could move the sprites mid-frame to compensate.

I’ll try it.


was8bit 2019-11-08 18:36

Cool :D


Mrlegoboy 2019-11-10 22:21

Here’s a sample of what’s to come. By abusing interupts, i can get the game to run without being slowed down by the complex rendering.


was8bit 2019-11-11 05:41

This is awesome !!!!!!


was8bit 2019-12-12 03:14

:D


Roger Davis 2019-12-21 04:54 (Edited)

Mrlegoboy, hello again! I'm not sure if this is of use to you at all in furthering this program, but I've discovered something a little bit unusual. Upon first downloading this code, then running it, I decided to try pressing some buttons (as you do!). I pressed the 'pause' button just as the 3d 'ships' appeared on screen, and something odd occurred! I hit 'pause' as soon as the ships came onto the screen, and watched as they hovered there for a good few seconds! Then they moved off screen to the left, returned back on screen from the right side, split apart briefly, then rejoined with each other! Finally they exited the screen together on the left side! In all, I estimate the whole sequence to have lasted around 10 seconds time wise! It didn't work again until a further four tries at this, however it seems to me that somehow, sometimes, the pause button causes a kind of 'glitch'. This could be useful to you, as you may be able to simulate something similar within your code. I got this to happen a further 3 times out of 20 goes! In other words 4 times out of 20, or 1 in 5 chance of it happening. I don't know because I'm only a raw beginner on NX really, but I hope that this is of some use to either you, or someone else who reads this! All the best Mrlegoboy! Merry Christmas to you! 🎅🤶🎄😃👍


Roger Davis 2019-12-26 02:01

Mrlegoboy, this MAY only occur on an iPad? 🤔 Anyway have a great BOXING DAY! : )


Mrlegoboy 2019-12-27 22:17

that action is to be expected, and NX runs the same on all operating systems (sort of)


nathanielbabiak 2021-12-29 06:35 (Edited)

Hi @Mrlegoboy,

Did you ever resolve the rendering issues? If not, I'm going to upload a quick summary here if you want to check it out.


Log in to reply.