Author Topic: SIr's 3d program  (Read 7360 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Re: SIr's 3d program
« Reply #30 on: March 03, 2011, 01:14:13 am »
Not using matricies, using straight up lists.  The equations are here, I use the non-matrix forms.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: SIr's 3d program
« Reply #31 on: March 03, 2011, 01:16:41 am »
How is it not projection?  It rotates and everything :D

SirCmpwn

  • Guest
Re: SIr's 3d program
« Reply #32 on: March 03, 2011, 01:20:26 am »
Perspective projection is different.  Notice how in the screenies in this thread, the back of the box is visually smaller than the front?

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: SIr's 3d program
« Reply #33 on: March 03, 2011, 01:28:40 am »
So you're telling me this isn't perspective projection?


SirCmpwn

  • Guest
Re: SIr's 3d program
« Reply #34 on: March 03, 2011, 01:29:27 am »
Wow, that looks right!  Did he use some clever hacks?  Because that stuff is CPU intensive.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: SIr's 3d program
« Reply #35 on: March 03, 2011, 01:37:20 am »
No idea, but it should be in the demo programs so you should check it out! :D

SirCmpwn

  • Guest
Re: SIr's 3d program
« Reply #36 on: March 03, 2011, 01:38:49 am »
Will do :)

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: SIr's 3d program
« Reply #37 on: March 03, 2011, 03:26:52 am »
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.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: SIr's 3d program
« Reply #38 on: October 31, 2011, 10:23:25 am »
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.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: SIr's 3d program
« Reply #39 on: October 31, 2011, 10:26:23 am »
But same speed.
I'm not a nerd but I pretend:

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: SIr's 3d program
« Reply #40 on: October 31, 2011, 04:33:24 pm »
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?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline ben_g

  • Hey cool I can set a custom title now :)
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +125/-4
  • Asm noob
    • View Profile
    • Our programmer's team: GameCommandoSquad
Re: SIr's 3d program
« Reply #41 on: October 31, 2011, 05:18:14 pm »
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.
My projects
 - The Lost Survivors (Unreal Engine) ACTIVE [GameCommandoSquad main project]
 - Oxo, with single-calc multiplayer and AI (axe) RELEASED (screenshot) (topic)
 - An android version of oxo (java)  ACTIVE
 - A 3D collision detection library (axe) RELEASED! (topic)(screenshot)(more recent screenshot)(screenshot of it being used in a tilemapper)
Spoiler For inactive:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib) ON HOLD (screenshot)
 - A java MORPG. (pc) DEEP COMA(read more)(screenshot)
 - a minecraft game in axe DEAD (source code available)
 - a 3D racing game (axe) ON HOLD (outdated screenshot of asm version)

This signature was last updated on 20/04/2015 and may be outdated

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: SIr's 3d program
« Reply #42 on: October 31, 2011, 07:19:51 pm »
Right, you could use fixed point as well...
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)