06-17-2014, 05:52 AM
Yay!
Finished my exams and "recovered" my computer!
Finished my exams and "recovered" my computer!
Random Chitchat 2012-2016
|
06-17-2014, 05:52 AM
Yay!
Finished my exams and "recovered" my computer!
06-17-2014, 05:58 AM
Everyone's done with their exams, we'll have so much new code written
06-18-2014, 06:14 AM
I'm currently trying to figure out the cubic noise algorithm. What is the algorithm Unoptimised?
Also. Is Generate2D functionally equivalent to
Code: for (int x = 0; x < SizeX; x++)
06-18-2014, 04:02 PM
Almost. It has an additional coord scaling into the CubicNoise function, but the principle is the same - generate an array of values:
for (int x = 0; x < SizeX; x++) { double NoiseX = StartX + (EndX - StartX) * x / SizeX; // Go from StartX to EndX in SizeX steps for (int y = 0; y < SizeY; y++) { double NoiseY = StartY + (EndY - StartY) * y / SizeY; // Go from StartY to EndY in SizeY steps CubicNoise2D(NoiseX, NoiseY); } }Similarly for a 3D version, it adds another dimension.
06-18-2014, 07:15 PM
Okay. I'll use that algorithm for the GPU version. The for loops can be made parallel easily.
06-18-2014, 08:46 PM
Jeb finaly showed his new underwater mob: http://instagram.com/p/pYcww-pMHC/# It's going to be in the snapshot today.
06-18-2014, 11:55 PM
What's that. Instagram for screenshots now? O.o
06-18-2014, 11:59 PM
I just re-did a profiling session of MCS with a single player online. I am pretty surprised.
The chunk generator ran at some ~120 chunks per second, which is more than enough for a regular server. The world ticking took about 6% of the CPU, which is near to nothing.
06-19-2014, 12:05 AM
Is there a cWorld:IsChunkLoaded function? Or just any way I can check if a chunk is loaded.
|
« Next Oldest | Next Newest »
|