I might be able to check it out tonight. Smile
Do you draw the individual lines or draw "cubes" and place them?
I draw the front faces of cubes that are visible.
---


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.
how's it going?
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.
cool how fast does it render compared to mine?
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.
Very innovative method!! I like it.
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.
*cough* transpose of a matrix *cough*
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.
Oh :S The complex numbers make matrix math too inefficient.
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.
Fair enough. I did the same with the HPS3D engine.
Aye, I agree. Pix in Zipz don't countz.
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.


Sad Poking fun at ut2? Crying Smile
Jonathan_Pezzino wrote:
Aye, I agree. Pix in Zipz don't countz.

well since phpBB doesn't like tiff's too bad.
I can do the tif-->gif conversion... (yay GIMP).
  
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
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

 

Advertisement