I might be able to check it out tonight.
» Forum
> Your Projects
I draw the front faces of cubes that are visible.
---
EDIT: Next time, just edit your old post instead of double posting. --Jon
---
EDIT: Next time, just edit your old post instead of double posting. --Jon
elfprince13 wrote:
I draw the front faces of cubes that are visible.
I was working on a 3d renderer that used that same method.
Okay. I'm using a 9*9 matrix, rendering each cube at a time (I'll work on that later) and setting the coordinates of the vertices as functions of the cube position.
When I'm done with it I expect it to render more or less at the same speed. Right now it's on the back burner while I finish Tetris. But since instead of using a slew of conditional tests I draw everything as a function of position it will probably be faster.
Thanks. I usually find an expression to automate that sort of thing, since it's faster and sometimes leads to other breakthroughs. Right now I'm struglling with finding one for pice-flipping in Tetris.
Except I'm using complex numbers. i.e,
12.06+16.06i
means:
pt-on(12,-6,2
pt-on(16,-6,2
I've found that matrices are hard to use for fast manipulating.
12.06+16.06i
means:
pt-on(12,-6,2
pt-on(16,-6,2
I've found that matrices are hard to use for fast manipulating.
They take up a lot of mem to manipulate, but are blazingly fast at it. That's why I decided on them instead of matrices.
However, I might be able to adapt the complex number "engine" to matrices. i'll have to look into that.
Jonathan_Pezzino wrote:
Aye, I agree. Pix in Zipz don't countz.
well since phpBB doesn't like tiff's too bad.
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
» Goto page Previous 1, 2, 3 Next
» View previous topic :: View next topic
» View previous topic :: View next topic
Page 2 of 3
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement