Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: _player1537 on May 05, 2010, 08:11:23 pm
-
Ok, well SirCmpwn has been having some troubles with his parents being jerks and taking away all of his free life. But he is still making calc programs and getting the stuff he needs. His parents blocked omni, cemetech, and IRC from his computer. But he is getting a friend to make him a custom liveboot cd with xchat, wine, and ubuntu on it, so he might be able to get on soon. But he told me to tell you "that i may be offline for a very long time, with the exception of a couple quick visits every now and again".
Anyways, onto his program. He made a 3d program that uses the same method as most computers use for 3d stuff. it uses a direction vector as L4, L1,2,3 hold the x,y,z positions respectivly. I'm going to upload a screenshot in a second (w00t wabbit works in ubuntu's wine). So I'll get that to you soon. Also I can ask SIr any questions you have about it. it takes about 5-7 seconds per frame, and he will port it to axe soon, but is having some trouble with it.
-
that sucks...have they blocked unitedti.org?
can't wait to see that screenshot, and to see the axe version :P
-
ok, here's the screen shot, and the program. It uses the arrow keys and '(' ')' to move the object around. Run program run3dtst to start. Press Clear to quit.
-
That looks pretty cool. Tell SirCmpwn good work for me, please :)
-
Ive been waiting for this screenie! W00t 3D is awesome :).
Tell him good work :).
-
Good work!
@_player: wasn't it a bit dangerous to post that? His parents can still read the forums.
-
Nice work! It does take a bit long to render though o.O seems there could be some optimisation there. I'll take a look at the code...
-
Good work!
@_player: wasn't it a bit dangerous to post that? His parents can still read the forums.
IDK I sent it to SIr and he said it was fine. Do his parents really read the forums?
-
Idk, but they are theoretically capable and his parents 'read' the IRC logs according to him.
-
Damn. Why the heck are they doing that? Did they explain?
-
I hope he can at least continue doing calc stuff from school and hopefully PC programming and that he can get on Omni from friend house or using some tools (that he keeps out of reach from his parents). I think his situation is really unfair and there's abuse from the parents part. I got my calc taken away a few times before cuz I didn't do chores and the like and my mom hated electronic with a passion, but at least I still was allowed to use it and has some freedom.
That said the program looks awesome. Hopefully someone can relay us updates for him in the future and he can return here permanently eventually. I would like to see this ported to Axe eventually, if it's possible at all, because by the BASIC speed, it looks like in Axe it could get a pretty great framerate for 3D
-
That looks great! Hopefully he can come back soon. :)
-
Hi
Converting to Axe is hell. It may never happen. I'm trying, but it is super hard.
-
Aw sorry to hear. Is it due to the lack of floating point support?
-
That's exactly why
-
Did you take a look at Quigibo's 3D program he uploaded with one of the updates a while back? That might be helpfull
-
Yeah that one might be helpful. After all, in z80 assembly, I believe for 3D tr1p1ea did not use floating points.
-
*bump*
This was just really cool, and I linked to it on Cemetech, which reminded me of it. New users might want to check it out :)
-
Yeah I remember that. It was kinda nice, although I wish it was finished. I wonder if an Axe version would be possible?
-
Probably, but when I tried to make an Axe version, I failed horribly. There's some math that's just too complex. I would *not* want to do perspective projection using only integers.
-
Yeah. I wonder if fixed points would be effective?
-
If someone writes a method to get the sin/cos of an angle in fixed point form...maybe.
Does fixed point division work in Axe?
Also, fixing the resolution could cause problems.
-
Not sure really, it has beena long while since I last looked at Axe. You would have to ask in the Axe sub-forum.
-
Isn't there a float{ command to allow the use of floating-point-numbers?
-
Only for storage within TIOS.
-
That's a nice program. I don't understand how his parents blocked his internet access however. Can't he use proxies to bypass this?
-
I know that quigibo made a 3D rotating cube a long time ago in Axe for a demo, so I know its definitely possible :) Maybe I'll take a stab at it, as I messed around with 3D many times in my java excursions
-
That's a nice program. I don't understand how his parents blocked his internet access however. Can't he use proxies to bypass this?
He was ungrounded after this was posted, but then he got grounded again and again. He can somehow manage to sneak in anyway, now, though.
-
Ah, but the 3D cube isn't perspective projection.
-
So it must be an orthographic perspective. What formula are you using btw because those matrices slow you down unless there is hardware support for them like directx.
-
Not using matricies, using straight up lists. The equations are here (http://en.wikipedia.org/wiki/Perspective_projection#Perspective_projection), I use the non-matrix forms.
-
How is it not projection? It rotates and everything :D
-
Perspective projection is different. Notice how in the screenies in this thread, the back of the box is visually smaller than the front?
-
So you're telling me this isn't perspective projection?
(http://www.ticalc.org/archives/files/ss/804/80440.gif)
-
Wow, that looks right! Did he use some clever hacks? Because that stuff is CPU intensive.
-
No idea, but it should be in the demo programs so you should check it out! :D
-
Will do :)
-
Actually, if I remember correctly, the engine already works the way you want it to (other than clipping). It just reads a list of lines in the form of [x1y1z1x2y2z2]... and then draws them all each render. So just by editing this, you could get any shape.
Also, perspective 3d is not much more cpu intensive than ortho, it only requires one extra division per z-coordinate.
-
Hey, kind of a necropost, but I was thinking, with Jacobly's new Floating Point math axiom, this might be able to convert to Axe.
-
But same speed.
-
It could definitively be a good project, although since floating points are slow, I wonder if the speed increase from BASIC to Axe will be signifiant at all, if there's even a speed increase althogether?
-
with 8.8 fixed-point, it's possible to do perspective projection is possible, and doesn't axe supports that?
Fixed-point should be a lot faster than floating point, and might make it fast enough for use in games.
-
Right, you could use fixed point as well...