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.
- 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.
- 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.
- 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.
- 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.
#454Today 07:55:42
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
I have changed my mind.
“STORE HELLO 5
MUL HELLO HELLO 3
STORE A HELLO
PRINT A”
is not that cool.
I am making a programming language that does:
var hello = 5
var hello = hello * 3
var a = hello
print(a)
kinda like python.
“STORE HELLO 5
MUL HELLO HELLO 3
STORE A HELLO
PRINT A”
is not that cool.
I am making a programming language that does:
var hello = 5
var hello = hello * 3
var a = hello
print(a)
kinda like python.
#455Today 07:57:13
- THEIMPORTANT
-
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.If you want to learn 3D in Scratch, then just try creating one. Try one of @mathmathmath's or @CodingBio's tutorials. Then, try creating one without a tutorial. You will get used to it.
#456Today 08:34:03
- extremely_random_guy
-
Scratcher
100+ posts
Orion Engine : 3D Game Engine
Yes, that’s the best method. It’s where I started out, too.i need to learn 3D more, I'm in high school and still dont know how to do 3D well, its embarassing.If you want to learn 3D in Scratch, then just try creating one. Try one of @mathmathmath's or @CodingBio's tutorials. Then, try creating one without a tutorial. You will get used to it.
#457Today 08:51:39
- THEIMPORTANT
-
Scratcher
500+ posts
Orion Engine : 3D Game Engine
Same though I am not as good as you in 3D.Yes, that’s the best method. It’s where I started out, too.i need to learn 3D more, I'm in high school and still dont know how to do 3D well, its embarassing.If you want to learn 3D in Scratch, then just try creating one. Try one of @mathmathmath's or @CodingBio's tutorials. Then, try creating one without a tutorial. You will get used to it.
#458Today 10:16:21
- extremely_random_guy
-
Scratcher
100+ posts
Orion Engine : 3D Game Engine
Just along the way, you’ll probably feel like it’s too hard and eventually feel like giving up, but just push through. Kind of like how when you learn an instrument, you feel like it’s impossible and end up giving up. Just try to learn more about 3D, and eventually, many concepts will seem simple to you. You can use other peoples algorithms if you want, like how I always use @-Rex-Test- ‘s Quicksort and @KryptoAlt ‘s Azex filler. I spent roughly 1.5 years trying to learn about 3D, almost giving up; well I actually did give up for a bit, and then continued, but just don’t.Same though I am not as good as you in 3D.Yes, that’s the best method. It’s where I started out, too.i need to learn 3D more, I'm in high school and still dont know how to do 3D well, its embarassing.If you want to learn 3D in Scratch, then just try creating one. Try one of @mathmathmath's or @CodingBio's tutorials. Then, try creating one without a tutorial. You will get used to it.
Must feel really correct when words of wisdom come from some kid who just happens to be good at 3D, huh?
Yeah no, your mentality is probably way stronger than mine.
- Discussion Forums
- » Collaboration
-
» Orion Engine : 3D Game Engine