View previous topic :: View next topic |
Author |
Message |
MeinenM DeleD PRO user
Joined: 09 Mar 2008 Posts: 183 Location: Canada
|
Posted: Tue Sep 09, 2008 12:54 am Post subject: making nice terrains |
|
|
Hey, i've been stuck on a problem thats been nagging me for a while and i wanted to bring it to you guys to see if you could help. I'm trying to make this game right now (using realmcrafter) and i need some advice on modelling terrain. I have 2 seperate textures and i need to make nice looking paths in my terrain. If i just make some extra square polygons for the paths it doesn't look very good at all, there is to much contrast inbetween the textures. Can someone give me a good example of terrain with a path on it using 2 seperate textures or just some advice? thanks |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Tue Sep 09, 2008 9:08 am Post subject: |
|
|
You could add transparency to the sides of the path texture. Then create another mesh for the path with that texture and it will blend smoothly. _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
MeinenM DeleD PRO user
Joined: 09 Mar 2008 Posts: 183 Location: Canada
|
Posted: Tue Sep 09, 2008 8:21 pm Post subject: |
|
|
I'm not exactly sure what you mean. And how to you add transparency? |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Tue Sep 09, 2008 8:25 pm Post subject: |
|
|
A nice way to do it is to project your whole terrain onto a bitmap and then just spraypaint your roads and stuff, and use a second texture layer as a detail map, but DeleD forces you to use the same UVs on each layer so that doesn't work.
A few games I modded had like 8 textures for the roads. You had the dirt texture, and then various textures for the edge of the road hitting the grass, and the corners. _________________
|
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Tue Sep 09, 2008 9:23 pm Post subject: |
|
|
MeinenM wrote: |
I'm not exactly sure what you mean. And how to you add transparency? |
So you've got your path texture, right? You set that to alphablend in the material editor. Then, you create an object like this:
A quad with two neighboring quads.
Then, select the outer vertices, go to the object inspector -> vertex color and set the alpha value ("A") to 1. It should look like this:
Then you can create a path by extruding the edges
Alternatively, you can store the alpha information in the path texture, so you don't need those extra polygons and have some more possibilities to play around. _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
Jeroen Site Admin
Joined: 07 Aug 2004 Posts: 5332 Location: The Netherlands
|
Posted: Wed Sep 10, 2008 7:34 am Post subject: |
|
|
That's a GREAT example, Fletcher. Excellent work. _________________ Check out Figuro, our online 3D app! More powerful 3D tools for free. |
|
Back to top |
|
|
MeinenM DeleD PRO user
Joined: 09 Mar 2008 Posts: 183 Location: Canada
|
Posted: Fri Sep 12, 2008 9:45 pm Post subject: |
|
|
thanks but theres still one problem that i have...do you need to use 2 seperate objects one for the terrain and one for the road? Because when i do this it flickers back and forth not very nicely. When i use on object the colour just goes white in that area and doesn't blend to the other texture |
|
Back to top |
|
|
Daaark DeleD PRO user
Joined: 01 Sep 2004 Posts: 2696 Location: Ottawa, Canada
|
Posted: Fri Sep 12, 2008 9:47 pm Post subject: |
|
|
MeinenM wrote: |
thanks but theres still one problem that i have...do you need to use 2 seperate objects one for the terrain and one for the road? Because when i do this it flickers back and forth not very nicely. When i use on object the colour just goes white in that area and doesn't blend to the other texture |
You can use the same trick in a paint program to create a flat road texture with the grass under it. _________________
|
|
Back to top |
|
|
afecelis DeleD PRO user
Joined: 08 Aug 2004 Posts: 427 Location: Colombia
|
Posted: Fri Sep 12, 2008 10:45 pm Post subject: |
|
|
wow Fletch! this quick tutorial is great!!!! |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Fri Sep 12, 2008 11:55 pm Post subject: |
|
|
MeinenM wrote: |
thanks but theres still one problem that i have...do you need to use 2 seperate objects one for the terrain and one for the road? |
If you do it that way, yes. Well, you could merge those two of course. By flicker you probably mean z-fighting? If so, you could move the road polygons slightly upwards, the two objects don't lie exactly on each other. _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
MeinenM DeleD PRO user
Joined: 09 Mar 2008 Posts: 183 Location: Canada
|
Posted: Sat Sep 13, 2008 12:55 am Post subject: |
|
|
Thats what i did moving the objects slightly upward and then the 2 texture weren't touching eachother anymore so there was no more texture blend |
|
Back to top |
|
|
trucker2000 DeleD PRO user
Joined: 11 May 2005 Posts: 1839 Location: Sacramento, California
|
Posted: Sat Sep 13, 2008 1:40 am Post subject: |
|
|
You can select the faces you want to add your blended texture too and get the same effect without adding geometry. (no more Z fighting eather) _________________ Some day I will grow up and be a real modeler.
"Never give up! Never surrender!!"
Sys specs:
asus
8 gigs ram
Invidia gtx560 video card
Windows 8 (worst op sys Ever) |
|
Back to top |
|
|
santutatu DeleD PRO user
Joined: 18 Aug 2007 Posts: 729 Location: ARGENTINA
|
Posted: Tue Sep 16, 2008 11:21 pm Post subject: |
|
|
May I ask from where did you get that textures from Mr.Fletcher?...Are them from any pack from DeleD or from a web? _________________
|
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Wed Sep 17, 2008 12:23 am Post subject: |
|
|
Those two are part of one of Nocturn's texture packs I think. Either that, or they come with DeleD. _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
santutatu DeleD PRO user
Joined: 18 Aug 2007 Posts: 729 Location: ARGENTINA
|
Posted: Wed Sep 17, 2008 1:09 am Post subject: |
|
|
Thanks! _________________
|
|
Back to top |
|
|
|