Author : ysalex


Reply
Reply
 
Thread Tools Display Modes
Hugh's Avatar
Old (#1)
I want to take a heightmap and make a larger scale environment. I want to cut a heightmap into smaller pieces to then putt together to create a vastly more larger environment by streaming each them together. Anyone know how I can do this. I see L3DT has a mosiac feature is that what I want to use. If so how can I not get seams to show after adding them together.
Offline , card carrying polycounter, 2,372 Posts, Join Date Dec 2009, Location Johnson City,TN Send a message via Skype™ to Hugh  
   Reply With Quote

Ben Apuna's Avatar
Old (#2)
Here ya go!
Ye Olde Portfolio | Google+ | #1GAM | Aspiring indie developer.
Offline , veteran polycounter, 2,522 Posts, Join Date Feb 2009, Location Hawaii Send a message via Yahoo to Ben Apuna  
   Reply With Quote

Hugh's Avatar
Old (#3)
ok thx its kinda confusing at first had to read over a few times. could this be applied to a source that is larger than 8192. Doesnt this only apply to terrain texturing not the actual terrain itself.

Or is it somehow tricking the engine to render a 512 heightmap into 4096 tiled to create a 8192 ?

Last edited by Hugh; 10-28-2010 at 05:14 AM..
Offline , card carrying polycounter, 2,372 Posts, Join Date Dec 2009, Location Johnson City,TN Send a message via Skype™ to Hugh  
   Reply With Quote

Ben Apuna's Avatar
Old (#4)
Oops! You're right, that example was just using a 512 displacement for the terrain with 4 really large diffuse textures.

I haven't messed with UDK's terrain in quite a while.

Importing a 4096 or a 8192 is possible just change the LOD_Group of the imported texture to TEXTUREGROUP_RenderTarget.

Hopefully works.

Keep in mind though that a 4096 displacement map would be displacing 16777216 verts, that's A LOT! might be too much for UDK to handle.

Last edited by Ben Apuna; 10-28-2010 at 07:24 AM..
Ye Olde Portfolio | Google+ | #1GAM | Aspiring indie developer.
Offline , veteran polycounter, 2,522 Posts, Join Date Feb 2009, Location Hawaii Send a message via Yahoo to Ben Apuna  
   Reply With Quote

Ben Apuna's Avatar
Old (#5)
I'm sorry I think I've run you in circles here.

If I'm understanding you correctly what you want to do is place a bunch of smaller terrains in UDK but keep their textures aligned so you don't have seams?

If that's correct you may be able to use a World Position node in your material to keep the textures aligned between the different terrains. Here's a tutorial about it. I haven't ever used this technique with terrains though so I'm not 100% sure it'll work.

So many terrains might still be bad for performance though. You might be better off using smaller displacement textures along with Super Masks and tiling diffuse and normal map textures get more detail onto your terrain.

I personally like to use static meshes in UDK rather than actual terrain. It allows you to have more control over the "terrain's" mesh and also use vertex color based blended materials like this one to achieve very crisp details. You can read more about such materials in The Snow and Ice of Uncharted2? thread if you're interested.

I hope that helps.
Ye Olde Portfolio | Google+ | #1GAM | Aspiring indie developer.
Offline , veteran polycounter, 2,522 Posts, Join Date Feb 2009, Location Hawaii Send a message via Yahoo to Ben Apuna  
   Reply With Quote

Hugh's Avatar
Old (#6)
thnx man will help
Offline , card carrying polycounter, 2,372 Posts, Join Date Dec 2009, Location Johnson City,TN Send a message via Skype™ to Hugh  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch