Discuss Scratch
- Discussion Forums
- » Collaboration
- » Orion Engine : 3D Game Engine
#441Today 08:03:47
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
We should get all optimisations set first too.
#442Today 09:06:48
- extremely_random_guy
-
Scratcher
100+ posts
Orion Engine : 3D Game Engine
I am going to use basic syntax thats going to be very simple (so we can finish a basic functional version first.)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.
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.
#443Today 09:38:27
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
alr, you should try debugging.I am going to use basic syntax thats going to be very simple (so we can finish a basic functional version first.)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.
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.
#444Today 10:28:01
- Tsarjosh
-
Scratcher
74 posts
Orion Engine : 3D Game Engine
I am positive that it is faster but can't convince anyoneYOU DONT GET IT (cries)get what?
#445Today 10:34:32
- extremely_random_guy
-
Scratcher
100+ posts
Orion Engine : 3D Game Engine
I don’t really care all that much.I am positive that it is faster but can't convince anyoneYOU DONT GET IT (cries)get what?
#446Today 10:34:35
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
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.I am positive that it is faster but can't convince anyoneYOU DONT GET IT (cries)get what?
#447Today 12:04:35
#448Today 12:08:48
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
omg, this 3d stuff is stumping me….might be complicated.
#449Today 12:21:14
- extremely_random_guy
-
Scratcher
100+ posts
Orion Engine : 3D Game Engine
Should I just take on all the 3D by myself? I feel bad, because I’m essentially taking on 70% of everything.omg, this 3d stuff is stumping me….might be complicated.
- Discussion Forums
- » Collaboration
-
» Orion Engine : 3D Game Engine