Discuss Scratch

THEIMPORTANT
Scratcher
500+ posts

Orion Engine : 3D Game Engine

We should get all optimisations set first too.
extremely_random_guy
Scratcher
100+ posts

Orion Engine : 3D Game Engine

THEIMPORTANT wrote:

I am going to use basic syntax thats going to be very simple (so we can finish a basic functional version first.)

Right now the process is low-level:

Source code -> Tokenize -> Bytecode -> Run

Later it will be high-level:

Source code -> Lexer (tokenize but more steps) -> Parser -> AST -> Constant Folding -> Constant propagation -> Bytecode -> Run

This is why I decided to make a low-level version first. High-level is very hard, especially AST and Constant Folding/Propagation.
Okay. Anyway, know the problem to the sorting? It’s 100% not a normal sorting issue (triangle average). It would cause bugs, but a very minimal amount of them. Triangles overlapping from the back should be impossible, but it’s possible from the side.
THEIMPORTANT
Scratcher
500+ posts

Orion Engine : 3D Game Engine

extremely_random_guy wrote:

THEIMPORTANT wrote:

I am going to use basic syntax thats going to be very simple (so we can finish a basic functional version first.)

Right now the process is low-level:

Source code -> Tokenize -> Bytecode -> Run

Later it will be high-level:

Source code -> Lexer (tokenize but more steps) -> Parser -> AST -> Constant Folding -> Constant propagation -> Bytecode -> Run

This is why I decided to make a low-level version first. High-level is very hard, especially AST and Constant Folding/Propagation.
Okay. Anyway, know the problem to the sorting? It’s 100% not a normal sorting issue (triangle average). It would cause bugs, but a very minimal amount of them. Triangles overlapping from the back should be impossible, but it’s possible from the side.
alr, you should try debugging.
Tsarjosh
Scratcher
74 posts

Orion Engine : 3D Game Engine

extremely_random_guy wrote:

Tsarjosh wrote:

YOU DONT GET IT (cries)
get what?
I am positive that it is faster but can't convince anyone
extremely_random_guy
Scratcher
100+ posts

Orion Engine : 3D Game Engine

Tsarjosh wrote:

extremely_random_guy wrote:

Tsarjosh wrote:

YOU DONT GET IT (cries)
get what?
I am positive that it is faster but can't convince anyone
I don’t really care all that much.
THEIMPORTANT
Scratcher
500+ posts

Orion Engine : 3D Game Engine

Tsarjosh wrote:

extremely_random_guy wrote:

Tsarjosh wrote:

YOU DONT GET IT (cries)
get what?
I am positive that it is faster but can't convince anyone
You should do some research; in your example, you have to check and return a value from a variable twice. In the other one you have to do it once. What's so hard to understand? I have optimised many engines, and this is a very basic optimisation.
PSIstudios
Scratcher
500+ posts

Orion Engine : 3D Game Engine

omg, this 3d stuff is stumping me….
THEIMPORTANT
Scratcher
500+ posts

Orion Engine : 3D Game Engine

PSIstudios wrote:

omg, this 3d stuff is stumping me….
might be complicated.
extremely_random_guy
Scratcher
100+ posts

Orion Engine : 3D Game Engine

THEIMPORTANT wrote:

PSIstudios wrote:

omg, this 3d stuff is stumping me….
might be complicated.
Should I just take on all the 3D by myself? I feel bad, because I’m essentially taking on 70% of everything.

Powered by DjangoBB