[News][Staff] solidFRAME - a 3D engine for the TI-83+(SE)

solidFRAME - a 3D engine for the TI-83+ (SE Recommended)

Moderator: tr1p1ea

User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

[News][Staff] solidFRAME - a 3D engine for the TI-83+(SE)

Post by tr1p1ea »

Hi guys,

Just thought id let you know that i have uploaded a project to
ticalc.org today. It is a 3D engine for the TI-83+ series calculators.

The program is a 3D model viewer that enables the user to view and
interact with a 3D model in real-time. Note that it renders
flat pattern-shaded polygons. Also included is a utility to convert
Wavefront OBJ models to .8xp programs for use with this
viewer.

It is written in z80 assembly and a 15MHz calculator is recommended.

It is in beta testing so there could be problems. Please report any bugs
if you find any.

Here is a link: http://www.ticalc.org/archives/files/fi ... 45097.html

Also here are some screenies.
scr_0.gif
scr_0.gif (1.61 KiB) Viewed 44447 times
scr_1.gif
scr_1.gif (31.05 KiB) Viewed 44447 times
scr_2.gif
scr_2.gif (1.2 KiB) Viewed 44447 times
scr_3.gif
scr_3.gif (333.94 KiB) Viewed 44447 times
Id appreciate feedback if anyone has some.

Enjoy.
Last edited by benryves on Sun 11 Jun, 2023 5:03 pm, edited 1 time in total.
Reason: Restored images
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
benryves
Maxcoderz Staff
Posts: 3089
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Re: solidFRAME - a 3D engine for the TI-83+ (SE Recommended)

Post by benryves »

Very impressive work - I lack the relevant equipment to install it on a calculator so I played around in an emulator and it seems to work very well indeed. :-)

Do you have any plans for what you'll work on adding next?
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: solidFRAME - a 3D engine for the TI-83+ (SE Recommended)

Post by tr1p1ea »

Hi Ben, Thanks for the quick reply! :).

I need to correct the back-face culling for a start and add polygon clipping i think. Plus i need reorganise the memory structure a little.

For now i might just have a go at making some 3D models to test with :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
benryves
Maxcoderz Staff
Posts: 3089
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Re: solidFRAME - a 3D engine for the TI-83+ (SE Recommended)

Post by benryves »

I see - how have you implemented the backface culling at the moment?
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: solidFRAME - a 3D engine for the TI-83+ (SE Recommended)

Post by tr1p1ea »

The BFC is very basic, at present i do it after transforming but before projecting using:

; bfc = (x0-x1)*(y2-y1)-(y0-y1)*(x2-x1)

Where the sign is taken to determine which direction the polygon is facing. The error involved means that faces on the boundary between facing and not-facing are sometimes confused.

Ill need to implement it properly in the future.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
benryves
Maxcoderz Staff
Posts: 3089
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Re: solidFRAME - a 3D engine for the TI-83+ (SE Recommended)

Post by benryves »

I gather it's the "before projecting" that is causing the error? Ah well, I look forwards to seeing where you take this next.
User avatar
NanoWar
Extreme Poster
Posts: 365
Joined: Fri 17 Dec, 2004 6:39 pm
Location: #$&"%§!
Contact:

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by NanoWar »

Hmm why is the X-Wing model not included? !!! Awesome work.
Revolution Software
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by tr1p1ea »

Ill tidy up the xwing model and release if you like.

In the meantime i have been experimenting with basic lighting effects:
Image

Here is a better screenshot of whats going on (i hope):
Image

Also here is the xwing:
Image
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
JamesV
New Member
Posts: 14
Joined: Tue 19 Jun, 2012 11:12 am
Location: Australia
Contact:

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by JamesV »

As usual, Pat, you never cease to amaze! This looks just amazing!
"Warning... Destruction imminent"
Image
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by merthsoft »

The slower-spinning cube does indeed make it more clear what you're doing--and it looks great! Does that work with multiple objects? Does it perform well?

Also, that X-Wing looks great :)
Shaun
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by tr1p1ea »

I do need to fully implement it so that it is based on an idependant world position as opposed to the camera (was a quick hax), but it supports all objects in the 'world' without any code changes.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
merthsoft
Extreme Poster
Posts: 496
Joined: Tue 21 Dec, 2004 6:49 am
Location: WI

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by merthsoft »

That's pretty impressive. What about multiple light-sources?
Shaun
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by tr1p1ea »

Well technically it would be possible, but i would have to properly implement lighting as opposed to this hack. That being said, per model lights should be easy too.

Also i have added polygon clipping, but only in 2D which means that any polygons that have a vertex behind the near plane (z=0) will be culled and not clipped as demonstrated in this screenie:

Image

Still that only typically happens when you are 'in the middle' of a model so in most cases it should be acceptable.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
yhean
New Member
Posts: 3
Joined: Sun 19 Feb, 2006 9:56 am

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by yhean »

Very, very nice work! I really like the lighting effects.
Good to see someone is still working on a 3D engine :)
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Re: [News][Staff] solidFRAME - a 3D engine for the TI-83+(SE

Post by tr1p1ea »

Oh wow hi yhean!! Long time no see, i hope you're doing well!

Thanks for your kind comments, i remember your 3D engine (juha3D?), it was very impressive and a large inspiration for my interest in calc 3D :).

Good to see you :).
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
Post Reply