How To

How does the math for 3d work

0

GAMELEGEND 2020-05-09 01:45

I know i dont know enough about lowres to do 3d but when i do i whould like to already know the math behind it
And is the math different for 3d and fake 3d


S3B4 2020-05-09 02:02

Fake 3d (aka raycasting) turns a flat 2d plane into a 3d one. Real 3D uses an actual 3d space to make it’s calculations so it’s more complicated. That’s all I can say since I myself don’t know much about 3D maths


GAMELEGEND 2020-05-09 02:05

Thanks for answerin my second question


was8bit 2020-05-09 05:16

My fake 3d doesnt even use raytracing... so is mine FAUX 3D ;)


GAMELEGEND 2020-05-09 05:25 (Edited)

Yes it is
It is false fake 3d :)

How do you do you math was8bit


was8bit 2020-05-09 05:42

On my false fake 3d, or faux 3d, i dont use math... i totally limit player movement and even the possible layouts are limited ...

... so far i have not been happy with the results as i am trying to maxize my faux 3d effect but with minimal effort and resources...


was8bit 2020-05-09 05:44

One idea i am currently experimenting with is to use simple math and pixel drawing to create different sizes for the same objects on the fly... if i succeed with that i will post that experiment :)


GAMELEGEND 2020-05-09 05:46

Ok


was8bit 2020-05-09 05:53

Ez faux 3d... looking down a hallway...
###\................/###
####\............/####
#####\......../#####
######::::::######
######::::::######
#####/........\#####
####/............\####
###/................\###


was8bit 2020-05-09 05:54

Consists of solid blocks with angled half-blocks and assemble them as shown...


GAMELEGEND 2020-05-09 05:58

Thats some good ASCII art right there


was8bit 2020-05-09 06:01

Oh, thanks :)
... i am glad you know about that :) there are some really good websites for that.. japanese ones are the best :)


Timo 2020-05-09 10:02

If you really want to make 3D games, then it's much easier to just use the Unity engine for example. 3D maths can get very complex, especially when you want to detect collisions and do physics. LowRes NX is really not made for this and classic BASIC is not good in handling complex data structures.

Anyway, if you just want to use some 3D effects in your retro style game, then some 3D math can be useful. I posted the link about a raycasting tutorial already in some topics. And you can probably find a lot of info about perspective calculations in Google. Don't know any specific at the moment.


GAMELEGEND 2020-05-09 13:18

I was going to use fake 3d anyways because lowres is 2d
I was just wondering about the 3d math


Log in to reply.