[Staff][Dev] 3D WireFrame Program
Moderator: MaxCoderz Staff
- 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:
[Staff][Dev] 3D WireFrame Program
Hi, just to let you guys know that i am still coding, i thought i would post this. Last week i was bored so i whipped up this ... a 3D WireFrame rendering program.
It only renders lines, nothing is filled or anything so dont get too excited ... plus there is need for some optimisation. Anyway here are some screenshots:
Its supposed to be a crude model of an X-Wing Fighter .
Anyway it runs a little better on-calc than in the screen (its definately not as jumpy).
Also this will NOT eventuate into a game or anything, i am really just fooling around a little .
It only renders lines, nothing is filled or anything so dont get too excited ... plus there is need for some optimisation. Anyway here are some screenshots:
Its supposed to be a crude model of an X-Wing Fighter .
Anyway it runs a little better on-calc than in the screen (its definately not as jumpy).
Also this will NOT eventuate into a game or anything, i am really just fooling around a little .
Last edited by tr1p1ea on Sat 21 Jul, 2007 3:59 pm, edited 2 times in total.
- 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:
Oh yes i forgot, you can also try this:
http://users.tpgi.com.au/adslmpxk/Files/wFrame.8xp
Its the crude X-Wing demo .
http://users.tpgi.com.au/adslmpxk/Files/wFrame.8xp
Its the crude X-Wing demo .
-
- Regular Member
- Posts: 86
- Joined: Fri 17 Dec, 2004 8:20 pm
- Contact:
Could you post the source code, or at least the math needed to represent a point in 3D space on a 2D screen? I have been wanting to play around with 3D on the calc.
You say it couldn't work for a real game? I would think wireframe graphics would be great for an NBA jam type game. The players could be wireframe stickmen, and the mode-7 style floor used in the real game could be faked with a 3D vector plane.
Perhaps that's demanding a little too much from the 83+? It would be fun to at least try.
You say it couldn't work for a real game? I would think wireframe graphics would be great for an NBA jam type game. The players could be wireframe stickmen, and the mode-7 style floor used in the real game could be faked with a 3D vector plane.
Perhaps that's demanding a little too much from the 83+? It would be fun to at least try.
- Calv!n.n0.1
- New Member
- Posts: 49
- Joined: Fri 17 Dec, 2004 10:16 pm
- Contact:
Very cool. Do models have to have every line hand entered?
You've seen the posts, now see the sites!
http://hiddenuniverse.blogspot.com
http://teoryn.deviantart.com
http://hiddenuniverse.blogspot.com
http://teoryn.deviantart.com
- 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:
Well, atm it will just read an array of values and draw the lines. An example is:
Code: Select all
CubeModel:
.dw 12 ; Number of lines in model
.db 10,10,10,-10,10,10 ; x3D1, y3D1, z3D1, x3D2, y3D2, z3D2
.db -10,10,10,-10,10,-10
.db -10,10,-10,10,10,-10
.db 10,10,-10,10,10,10
.db 10,-10,10,-10,-10,10
.db -10,-10,10,-10,-10,-10
.db -10,-10,-10,10,-10,-10
.db 10,-10,-10,10,-10,10
.db 10,10,10,10,-10,10
.db -10,10,10,-10,-10,10
.db -10,10,-10,-10,-10,-10
.db 10,10,-10,10,-10,-10
- Jim e
- Calc King
- Posts: 2457
- Joined: Sun 26 Dec, 2004 5:27 am
- Location: SXIOPO = Infinite lives for both players
- Contact:
An on-clac modeler, now that would be some awsome code. That matt 3d designer is kinda tough to work with. I ended up writing 53 lines worth of croods on paper just to make a plane. I think I'll stick cubes till something better comes along.
Man, PAPER, what is this the dark ages, forced to use papyrus. poor trees.
Man, PAPER, what is this the dark ages, forced to use papyrus. poor trees.
-
- Regular Member
- Posts: 86
- Joined: Fri 17 Dec, 2004 8:20 pm
- Contact: