Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Making a 3D wireframe rendering project run at a higher FPS?
- titanicman200
-
100+ posts
Making a 3D wireframe rendering project run at a higher FPS?
Ok, so this is the last time ill bother you all with questions about this, but I really am wondering if theres a good way to make this run better
https://scratch.mit.edu/projects/330248786/
Any tips for improving this projects performance are welcome
Thanks!
https://scratch.mit.edu/projects/330248786/
Any tips for improving this projects performance are welcome
Thanks!
Last edited by titanicman200 (Sept. 23, 2019 19:20:52)
- -CodePro-
-
100+ posts
Making a 3D wireframe rendering project run at a higher FPS?
I don't know too much about 3D, but I tried to make it work without the replace blocks, it didn't seem to make much difference. I think one of the issues is drawing with the pen, if you can reduce the amount of times the pen is drawn it might help. Removing the pen drawing part completely changed my FPS from 4 to 8, so I'm not sure you'll be able to speed it up without losing quality.
- titanicman200
-
100+ posts
Making a 3D wireframe rendering project run at a higher FPS?
ok thanks! I removed the replace thingy, and it did help, however I use it for filling shapes with pen(in a newer version), and the amount of time I draw with pen is dependant on the points
I tried to make it so it doesnt color over lines it already has done, but due to how OBJ's work, and the unpacker I made(I give a custom block 2 things of long numbers I get from OBJ files, and it unpacks those into a list of points and faces that the program can use and render), it would be very difficult to make it not render certain lines
another big issue is that of ordering them from closest to furthest for render order, making it thus far impossible for me to find a way to get it to quickly organize everything into a list of faces closest to furthest
I tried to make it so it doesnt color over lines it already has done, but due to how OBJ's work, and the unpacker I made(I give a custom block 2 things of long numbers I get from OBJ files, and it unpacks those into a list of points and faces that the program can use and render), it would be very difficult to make it not render certain lines
another big issue is that of ordering them from closest to furthest for render order, making it thus far impossible for me to find a way to get it to quickly organize everything into a list of faces closest to furthest
- Discussion Forums
- » Help with Scripts
-
» Making a 3D wireframe rendering project run at a higher FPS?