Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Different textures based on heights  (Read 1031 times)
Canning
Community Member
*
Posts: 592


« on: November 23, 2011, 10:57:31 PM »

I can't find the class and the method to have different textures on a landscape depending on the height of the terrain...

Where should I find this?

thanks

Canning
Logged

I am using 2010 VB.NET and TV 6.5 with Windows 7
Hypnotron
Customers
Community Member
*****
Posts: 1046


« Reply #1 on: November 24, 2011, 12:13:25 PM »

There is no such thing.

If you're using splatting you can write your own code to determine if for instance rocky mountain splat textures should be exposed in some places (via alpha splats).

Or you can write a terrain editor and paint those splats manually.

Look on the forums.  I think a lot of people initially wrote their heightmap editors based on newborn's terrain painting and terrain shaping tool he released some years ago.
Logged
Canning
Community Member
*
Posts: 592


« Reply #2 on: November 24, 2011, 03:29:36 PM »

I have found the posts on Newborn's tool... yet all links are broken.  Sad

Does anyone have a working link that I can use?

thanks

Canning
Logged

I am using 2010 VB.NET and TV 6.5 with Windows 7
leghola
Customers
Community Member
*****
Posts: 45


« Reply #3 on: November 25, 2011, 02:57:50 AM »

Hi,

You must use the "TexGen_AddLayer" command in the landscape class.

But for my case, i developp a little sub that analyze the heightmap and with a grayscale control create alpha maps.

you can see a video of my editor here :

http://www.youtube.com/watch?v=_t9ehUuq1vI


bye !

Nico
Logged

i prefers live one day like a lion instead of one life like a dog...
Canning
Community Member
*
Posts: 592


« Reply #4 on: November 28, 2011, 07:39:33 PM »

Very nice video on your editor.

I don't suppose you have a working version for me to have a look at?

thanks

Canning
« Last Edit: November 28, 2011, 07:48:50 PM by Canning » Logged

I am using 2010 VB.NET and TV 6.5 with Windows 7
Hypnotron
Customers
Community Member
*****
Posts: 1046


« Reply #5 on: November 28, 2011, 07:56:38 PM »

I have added Newborn's old LandEditor tool to the TV Tools SVN.

See this post for details:

http://www.truevision3d.com/forums/companion_tools/tv_tools-t21437.0.html

Logged
Canning
Community Member
*
Posts: 592


« Reply #6 on: December 04, 2011, 12:13:22 AM »

I will have a look at that editor.

Quote
You must use the "TexGen_AddLayer" command in the landscape class.

I don't suppose there is a tutorial on this, or maybe even some sample code for me to look at?

Canning
Logged

I am using 2010 VB.NET and TV 6.5 with Windows 7
jviper
Community Member
*
Posts: 2130

Discipline in training


« Reply #7 on: December 04, 2011, 08:33:10 AM »

I think the simplest solution would be to use a shader. There was also a sample project for this. If you can't find a link, I may have it somewhere.
Logged

JAbstract.....Don't just imagine, make it happen!
Canning
Community Member
*
Posts: 592


« Reply #8 on: December 25, 2011, 03:49:44 PM »

jviper: If you have some time, can you find that link pls?
Logged

I am using 2010 VB.NET and TV 6.5 with Windows 7
jviper
Community Member
*
Posts: 2130

Discipline in training


« Reply #9 on: December 31, 2011, 08:08:08 PM »

I have the file and tried to attach it to this post (the zip file is only 237 KB). I got an error saying the upload server was full (it might need to be reset again).
Logged

JAbstract.....Don't just imagine, make it happen!
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks