- Forums
- Forum Help
- Search Forum
- Login
- Register
Truevision3D
>>
TV3D SDK
>>
TV3D SDK 6.5
(Moderators:
Waterman
,
Mithrandir_
,
beyonder
,
ZaPPZion
) >>
Different textures based on heights
Pages: [
1
]
« previous
next »
Print
Author
Topic: Different textures based on heights (Read 1031 times)
Canning
Community Member
Posts: 592
Different textures based on heights
«
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
Re: Different textures based on heights
«
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
Re: Different textures based on heights
«
Reply #2 on:
November 24, 2011, 03:29:36 PM »
I have found the posts on Newborn's tool... yet all links are broken.
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
Re: Different textures based on heights
«
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
Re: Different textures based on heights
«
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
Re: Different textures based on heights
«
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
Re: Different textures based on heights
«
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
Re: Different textures based on heights
«
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
Re: Different textures based on heights
«
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
Re: Different textures based on heights
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Truevision3D Official Information
-----------------------------
=> Development Information
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.3
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Game Development
-----------------------------
Projects
-----------------------------
=> In-Development
=> Showcase
=> Recruitment
=> Announcements
-----------------------------
Truevision3D Official Information
-----------------------------
=> News and Announcements
-----------------------------
TV3D SDK
-----------------------------
=> TV3D SDK 6.5
-----------------------------
Game Development
-----------------------------
=> Engine Comparison
-----------------------------
TV3D SDK
-----------------------------
===> Shader Development
===> Content Pipeline
===> Bugs
-----------------------------
Game Development
-----------------------------
=> Companion Tools
=> Design and Theory
Powered by SMF 1.1.3
|
SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks