Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

making nice terrains
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
MeinenM
DeleD PRO user


Joined: 09 Mar 2008
Posts: 183
Location: Canada

PostPosted: Tue Sep 09, 2008 12:54 am    Post subject: making nice terrains Reply with quote

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
View user's profile Send private message
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Tue Sep 09, 2008 9:08 am    Post subject: Reply with quote

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 Smile
DeleD on IRC
Back to top
View user's profile Send private message
MeinenM
DeleD PRO user


Joined: 09 Mar 2008
Posts: 183
Location: Canada

PostPosted: Tue Sep 09, 2008 8:21 pm    Post subject: Reply with quote

I'm not exactly sure what you mean. And how to you add transparency?
Back to top
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Tue Sep 09, 2008 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Tue Sep 09, 2008 9:23 pm    Post subject: Reply with quote

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 Smile
DeleD on IRC
Back to top
View user's profile Send private message
Jeroen
Site Admin


Joined: 07 Aug 2004
Posts: 5332
Location: The Netherlands

PostPosted: Wed Sep 10, 2008 7:34 am    Post subject: Reply with quote

That's a GREAT example, Fletcher. Excellent work. Smile
_________________
Check out Figuro, our online 3D app! More powerful 3D tools for free.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MeinenM
DeleD PRO user


Joined: 09 Mar 2008
Posts: 183
Location: Canada

PostPosted: Fri Sep 12, 2008 9:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Daaark
DeleD PRO user


Joined: 01 Sep 2004
Posts: 2696
Location: Ottawa, Canada

PostPosted: Fri Sep 12, 2008 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
afecelis
DeleD PRO user


Joined: 08 Aug 2004
Posts: 427
Location: Colombia

PostPosted: Fri Sep 12, 2008 10:45 pm    Post subject: Reply with quote

wow Fletch! this quick tutorial is great!!!! Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Fri Sep 12, 2008 11:55 pm    Post subject: Reply with quote

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 Smile
DeleD on IRC
Back to top
View user's profile Send private message
MeinenM
DeleD PRO user


Joined: 09 Mar 2008
Posts: 183
Location: Canada

PostPosted: Sat Sep 13, 2008 12:55 am    Post subject: Reply with quote

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
View user's profile Send private message
trucker2000
DeleD PRO user


Joined: 11 May 2005
Posts: 1839
Location: Sacramento, California

PostPosted: Sat Sep 13, 2008 1:40 am    Post subject: Reply with quote

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) Smile
_________________
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
View user's profile Send private message Visit poster's website
santutatu
DeleD PRO user


Joined: 18 Aug 2007
Posts: 729
Location: ARGENTINA

PostPosted: Tue Sep 16, 2008 11:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Wed Sep 17, 2008 12:23 am    Post subject: Reply with quote

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 Smile
DeleD on IRC
Back to top
View user's profile Send private message
santutatu
DeleD PRO user


Joined: 18 Aug 2007
Posts: 729
Location: ARGENTINA

PostPosted: Wed Sep 17, 2008 1:09 am    Post subject: Reply with quote

Thanks! Smile
_________________

Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum