Discuss Scratch
- Discussion Forums
- » Collaboration
- » Orion Engine : 3D Game Engine
- 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
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.
- 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.
- Tsarjosh
-
Scratcher
76 posts
Orion Engine : 3D Game Engine
I am positive that it is faster but can't convince anyoneYOU DONT GET IT (cries)get what?
- 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?
- 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?
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
omg, this 3d stuff is stumping me….might be complicated.
- 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.
#450Today 12:13:54
- PSIstudios
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
i need to learn 3D more, I'm in high school and still dont know how to do 3D well, its embarassing.
#451Today 12:26:26
- extremely_random_guy
-
Scratcher
100+ posts
Orion Engine : 3D Game Engine
i need to learn 3D more, I'm in high school and still dont know how to do 3D well, its embarassing.I’m probably multiple years younger than you are, actually. I just studied a few years ahead in maths, physics and 3D.
#452Today 12:32:34
- extremely_random_guy
-
Scratcher
100+ posts
Orion Engine : 3D Game Engine
i need to learn 3D more, I'm in high school and still dont know how to do 3D well, its embarassing.And plus, I know how embarrassing it can feel. But, being at the start only means you’ve got a longer, and more fun journey than everyone else, so just take it slow and enjoy it.
#453Today 17:45:32
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
I am going to wait for the editor to be complete, like after fixing bugs, so I can integrate a script editor. I unironically have multiple programming languages, but I have to choose one.
- Discussion Forums
- » Collaboration
-
» Orion Engine : 3D Game Engine