generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Can someone please help me with this mathematical conundrum in my eyes, because I don't know if it will lag ROBLOX....

Previous Thread :: Next Thread 
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 Nov 2011 04:15 PM
So anyway, I'm using my computer this thanksgiving to generate a terrain 10,000 by 10,000 studs, with something like 8 different splits using Diamond Square Terrain generation in lighting. Having no idea how many parts this will have, I realize reiterating through it to generate the terrain around each player will create a ton of lag. So, I was like. I'll divide it into 256 areas, and copy those areas into a player's cache. But then I was like..... it generates the areas in 1 big area. So...

How can I split the terrain into areas, (16 parts on each side), label it, and recall sections to load using a plugin and, ingame, a local script, and find where the player is, ect.

I was thinking FindPartsInRegion3(), but would that lag a ton?

Also, can I successfully do building in these regions with a plugin?
Report Abuse
ENET is not online. ENET
Joined: 01 Jan 2010
Total Posts: 4820
24 Nov 2011 04:32 PM
Seems like this could be a rather interesting project.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 Nov 2011 04:49 PM
Yeah. I would think after 78 views someone would atleast give me a HINT.

My computer is also still running the script, but the screen turned black.... But output is still running....

Ummm.....
Report Abuse
ENET is not online. ENET
Joined: 01 Jan 2010
Total Posts: 4820
24 Nov 2011 04:59 PM
Be sure to use wait() often so that it doesn't ever overpower the cpu.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 Nov 2011 05:06 PM
Don't worry, it does that, it's just taking a while. :)

Also, I believe I could create a navmesh using these just by calculating the angle of the surrounding triangles? Really, this is the perfect terrain for creating/testing navigation AI's, ect.

But would my cache idea work? Also, how would I execute it?
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 Nov 2011 05:27 PM
ROBLOX crashed. Should I try overnight when I won't be prone to clicking on it?
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 Nov 2011 09:50 PM
So I found out it crashed because I had the explorer open. So after closing it, it ran in like 10 minutes. Now what should I do?
Report Abuse
kaboom1 is not online. kaboom1
Joined: 13 Nov 2008
Total Posts: 363
24 Nov 2011 10:13 PM
What's the file size of the place? If it isn't to big, Upload it! :D

~Kaboom
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
24 Nov 2011 10:39 PM
Only 35,000 KB or 35 megabytes or so..... :)

It's a love-hate relationship....
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
25 Nov 2011 06:17 AM
If its a heightmap, you now are supposed to compress it with whatever png uses to compress the pics.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
25 Nov 2011 02:38 PM
It's a model in lighting made out of wedge parts.

It's a love-hate relationship....
Report Abuse
kaboom1 is not online. kaboom1
Joined: 13 Nov 2008
Total Posts: 363
25 Nov 2011 02:41 PM
Try forming it into a multi-demensional table that saves them as 'chunks' of 16x16?

~Kaboom
Report Abuse
liavkr104 is not online. liavkr104
Joined: 02 Nov 2008
Total Posts: 4320
25 Nov 2011 03:31 PM
Isn't 35k KB is pretty big for a ROBLOX game...?
Report Abuse
Radioaktiivinen is not online. Radioaktiivinen
Joined: 25 Apr 2009
Total Posts: 18629
25 Nov 2011 03:36 PM
@liavkrbeib98

Over twice the max place size much?
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
25 Nov 2011 05:02 PM
There's a place limit upload size???

It's only 12417 parts according to ctrl + F1
I have no idea, since any attempts to open up the model creates a lag that only stops with closing the explorer. If I upload it, will someone spend 10 minutes and help me create a script to divide it into models?


It's a love-hate relationship....
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image