Pa_roy0
(Pa_roy0)
August 4, 2024, 10:54pm
#21
this is actually insane, combined script activity of the npc script and the actor script never goes higher than half a percent for 1000 rendered npcs, thank you
Prototrode
(Vernumerator)
August 4, 2024, 11:36pm
#22
I have a thread discussing about measuring the number of parallel threads that can be utilized by a playerâs device:
Please read
After testing this a bit with the community (and still needs more testing), for now the assumption is that Roblox has imposed a hard limit of 8 parallel threads. As such, this tool does not exactly measure your CPUâs core/thread count. Thanks to @Tomi1231 and @RuizuKun_Dev for pointing this out. However, this tool is still useful for finding a local limit lower than 8 on other types of devices, such as mobile ones.
Another disclaimer, it is also discovered that Parallel Luau does âŚ
A parallelized raycast minimap project:
Kinda late to making this since EditableImage was announced like a month ago, but also kinda early because itâs still in beta as of this writing . Someone probably already beat me to making this, but this is my own take!11!!11!1
Essentially, how it works is Iâm raycasting a whole bunch of points relative to the player and the camera. The raycasting is multithreaded via Parallel Luau v2. I just get the color/material color of whatever it hits and then render it with an EditableImage.
PerfoâŚ
And a Roblox game that actively uses parallelization for gameplay:
[image]
Hi, itâs me again. Iâve done voxel stuff in the past, but I think this one is big enough to deserve its own topic.
Quick terminologies:
Voxel - A 3-dimensional pixel; usually represented as blocks. Minecraft, for example, is a voxel game.
Multithreading - This project uses Parallel Luau to multithread certain processes to make them faster.
LoD - Level of Detail; a common feature in games that makes faraway objects render at a lower quality to save performance. You may know this inâŚ
You can try out the game and see the parallel work in action via the microprofiler!
2 Likes
system
(system)
Closed
August 18, 2024, 11:36pm
#23
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.