But I'd like to make this huge terrain by hand
You say it's caused nothing but problems, but now with the experience you have gained by making Frontiers, would you do it again knowing what you know now? If you ever decide to make another open world game would go use Unity again or another engine?
By the way are you still on track for a Q2 2014 release?
Given might be the guy you want to talk to.
Railboy wrote: I would have gone with a different engine, OR tried to redesign the game to use levels in a quasi open world.
public static bool LoadTerrainHeights (ref float [,] heights, int resolution, string chunkName, string rawFileName)
string directory = System.IO.Path.Combine (gBaseWorldModsPath, System.IO.Path.Combine ("Chunk", chunkName));
string fullPath = System.IO.Path.Combine (directory, (rawFileName + gHeightMapExtension));
FileMode mode = FileMode.Open;
FileShare share = FileShare.ReadWrite;
FileAccess access = FileAccess.ReadWrite;
if (!File.Exists (fullPath))
byte [ ] bytes = System.IO.File.ReadAllBytes (fullPath);
int byteNumber = 0;
for (int x = 0; x < resolution; x++)
for (int z = 0; z < resolution; z++)
heights [x, z] = ((float)((bytes [byteNumber] << 0x08) | bytes [byteNumber + 1])) / 65536f;
byteNumber += 2;
yarnevk wrote:Unity Pro supports more occlusion and lighting than Skyrim had so glad you are sticking with the open world.
yarnevk wrote:I mean camera occlusion for rendering purposes. In Indy it takes out everything out of camera, in Pro it also takes out that which is occluded, like houses behind a mountain that you cannot see, or furniture in the house you cannot see.
ensiferum888 wrote:Thank you very much for the piece of code!
I suppose you also move the entire world back to the origin when going above a certain distance from the center of the scene?
I'll start tinkering with world machine eventually it looks extremely powerful.
yarnevk wrote:Are you sure about the camera occlusion do not see how that could be baked since it depends on camera view. Skyrim uses occlusion boxes for large dungeons so the game would fit on consoles, Unity also supports baking that in. Does not matter to me since my Pro trial expired and did not want to fiddle with Indy missing features so I am fooling with Skyrim modding now.
Users browsing this forum: No registered users and 0 guests