L3DT users' community
Large 3D terrain generator

Generating Textures in L3DT

Cool programs, tutorials, texture libraries, et cetera.

Generating Textures in L3DT

Postby jack.dingler » Mon Nov 27, 2006 6:41 pm

Maybe this topic has come up before, but L3DT is a great resource for generating tileable textures. With added plugins it could become a tremendous resource. :)

I did this one in a few minutes with L3DT and Gimp.

Image
jack.dingler
Contributing member
 
Posts: 36
Joined: Mon Oct 09, 2006 2:58 am

Postby jack.dingler » Mon Nov 27, 2006 7:01 pm

Essentially to create the effect above, I generated a relatively flat map with wrapped edges turned on.

I set scale to tiny and lakes to few.

Then I calculated the height map.

I took the height map and in gimp, used a black brush to make the seams where the morter between the bricks go. To make sure that the edges were seamless, I used the layer transform to offset the image some number of pixels to make the edges wrap, so that I wouldn't have to paint to the edges.

I then ran a noise filter on it, then blurred it, until I liked the look.

I imported the hightmap back into L3DT and generated a texture from it with water effects off.

I took the resulting texture and painted the bricks in GIMP using a brush set 50% opacity.

That's how I did it.

The nice thing is that you even get a bump map in the process.
jack.dingler
Contributing member
 
Posts: 36
Joined: Mon Oct 09, 2006 2:58 am

Postby Aaron » Tue Nov 28, 2006 12:05 am

Hi Jack,

Wow, I had never thought of using L3DT in that way. Well done indeed.

I wonder, if I added an mouse tool for painting land types on the L3DT attributes map, and you defined a climate with land types for, say, bricks and mortar, could you do the whole thing in L3DT, and would that make it easier?

Hmmm...I guess you would also need some tools for modifying the heightfield, to put in the mortar noise (on the to do list, of course.)

Anyway, well done again. This is a great idea, and I think one that will be supported better in the future.

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby jack.dingler » Tue Nov 28, 2006 4:53 am

This does open up possibilities :)

I used noise for the mortar, just to show a quick way to do it. If it were all done in L3DT then a sand texture could be substituted.

Also, when I reimported the height map, I lost my climate and wrap settings. So when I got the texture back into Gimp, there was a faint line visible that I needed to blur out. It was obvious when I did Layer-Transform-Offset to shift the image.

When importing heighfields, it would be useful to have a wrap setting to clean those lines up in L3DT.
Last edited by jack.dingler on Tue Nov 28, 2006 12:55 pm, edited 1 time in total.
jack.dingler
Contributing member
 
Posts: 36
Joined: Mon Oct 09, 2006 2:58 am

Postby notareal » Tue Nov 28, 2006 9:37 am

Nice idea!
notareal
Contributing member
 
Posts: 25
Joined: Thu Nov 16, 2006 12:25 pm

Postby Aaron » Fri Dec 01, 2006 7:21 am

Hi Jack,

At the moment the import process creates a new project, which nukes your climate/wrapping settings. I guess what we want here is a way to import a map into an existing project. I can add this in a plugin, m’thinks.

JD wrote:When importing heighfields, it would be useful to have a wrap setting to clean those lines up in L3DT.


Do you mean an edge-blurring algorithm, or simply setting the wrap flag? I think the importer does have a wrap flag checkbox, so I guess it’s the former. Hmmm…I wonder if I can do this in a plugin also (answer: yes.)

I guess there are a few more items on my to-do list now.

Cheers,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Postby SeerBlue » Fri Dec 01, 2006 3:46 pm

excellant !, now just to find the time to experiment with it.
SeerBlue
Check Out Me-DEM
SeerBlue
Luminary
 
Posts: 68
Joined: Thu Dec 01, 2005 12:42 am

Postby Shealladh » Fri Dec 01, 2006 7:58 pm

Good lateral thinking mate :D
I take solice from the fact that I know nothing...compared to the rest of the world.
Shealladh
Contributing member
 
Posts: 49
Joined: Fri Sep 29, 2006 1:52 pm
Location: Melbourne, Australia

Postby jack.dingler » Mon Dec 04, 2006 6:17 am

Thanks Aaron!

I see that flag now. That's all I needed The artifacts occurred when I started a new project and imported the Hightmap with Edge Wrapping off, Just I would expect to

aaron wrote:Hi Jack,

At the moment the import process creates a new project, which nukes your climate/wrapping settings. I guess what we want here is a way to import a map into an existing project. I can add this in a plugin, m’thinks.

JD wrote:When importing heighfields, it would be useful to have a wrap setting to clean those lines up in L3DT.


Do you mean an edge-blurring algorithm, or simply setting the wrap flag? I think the importer does have a wrap flag checkbox, so I guess it’s the former. Hmmm…I wonder if I can do this in a plugin also (answer: yes.)

I guess there are a few more items on my to-do list now.

Cheers,
Aaron.
jack.dingler
Contributing member
 
Posts: 36
Joined: Mon Oct 09, 2006 2:58 am

Postby Pez_man » Fri May 16, 2008 1:05 am

awman............i can't see the picture on the first post. It has a red "x" in it............ :cry:
Go Bretons!!!!!!!! (Elder Scrolls IV: Oblivion)
I'm 14th top poster!!!
You lose THE GAME!!! :)
User avatar
Pez_man
Luminary
 
Posts: 64
Joined: Thu Feb 14, 2008 12:46 am
Location: On Earth

Postby jack.dingler » Sat Jun 21, 2008 1:48 pm

I had that picture posted on my old Comcast site. I got upgraded to Road Runner. They migrated my website, then later deleted it, as I think they have some better plan for home pages.

Now I can't even figure out how to ftp stuff up to it. But it's easier than ever, if you can ever find out how!

I may revisit this later, and do a better post with the steps shown.

The picture was simply some brick work.

Pez_man wrote:awman............i can't see the picture on the first post. It has a red "x" in it............ :cry:
jack.dingler
Contributing member
 
Posts: 36
Joined: Mon Oct 09, 2006 2:58 am

Postby Pez_man » Sat Jun 21, 2008 6:10 pm

oh.... :D nevermind then i'm not sad. It seemed like an iteresting picture though
Go Bretons!!!!!!!! (Elder Scrolls IV: Oblivion)
I'm 14th top poster!!!
You lose THE GAME!!! :)
User avatar
Pez_man
Luminary
 
Posts: 64
Joined: Thu Feb 14, 2008 12:46 am
Location: On Earth


Return to Useful resources

Who is online

Users browsing this forum: No registered users and 6 guests

cron