Twisted DIRT Forums

MX vs ATV (and prior MX games) Forum => General Discussion MCM 2 => Topic started by: ElDiablo (Paul) on December 04, 2005, 12:14:40 AM

Title: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 04, 2005, 12:14:40 AM
Hey all!

   After multiple requests for a tutorial on Leveller I finally gave in and made one. You can find it on the Tutorials page or just follow this link http://www.twisteddirt.com/TutorialStuff/leveller_01.html.

It's a video tutorial and as the topic says...it's an ADVANCED tutorial. SO if you don't know a thing about Leveller it's likely to be hard to follow, but you might pick a few things up still. Check it out and hopefully it will teach somebody something! lol  ;D
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: VMX_CrAzEd on December 04, 2005, 06:50:39 PM
im not into track making or mcm2 anymore but I watched the whole thing and it was a good tutorial. good work paul
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: Metla666 on December 07, 2005, 12:53:29 PM
Video tutorials rock, Well worth watching.

Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: VMX_101 on December 07, 2005, 09:45:56 PM
Yes Paul does an amazing job with his video tutorials, I'm sure a lot of people will find this tutorial very handy. I personally found it very helpful, but I still find myself crawling back to Photoshop. Just can't get my head around leveller, I do admit a never version would probably help. But I'll wait until MVA comes out to purchase a copy.

But none the less this tutorial has definatly shed some light on how you can actually make tracks in leveller. Cause before I had no idea. LOL

Thanks Again Paul awesome tutorial.

Regards,
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 07, 2005, 10:41:21 PM
Thanks guys...glad you enjoyed it and learned something. Maybe I'll make more then? Maybe another more advanced Terragen tutorial? Or something else? Maybe a sky cube tutorial with Terragen and 3DEM?

;D
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ATR_RaTaX2 on December 07, 2005, 10:57:54 PM
awesome vid, making a whole sx section using negative gradients is an idea i never would have thought of. Thanks alot. id like to see terragen textures tutorial next :)
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: V_Muskaman on December 07, 2005, 11:01:06 PM
Hey Paul. Just watched this and as someone who uses leveller almost exclusively I found it really interesting seeing the way another works. Especially the way you create the terrain after the path. One thing I would reccomend is learning the key shorcuts for flying around within leveller. After a while it's second nature. Anyway Great job, we really need more like this!  :)

Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: V_Muskaman on December 07, 2005, 11:01:51 PM
Oh and I really want the newer leveller now!
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: sX5Fe_giZM0o on December 07, 2005, 11:27:14 PM
Well done Paul!  In the past I have only used it to smooth out portions.  The one thing I have been trying to figure out forever is what format to export as.   I can only get greyscale when exporting as an 8 bit TGA.
24 bit looks like this   http://www.thegaragefanatic.com/2112.jpg 
Anyone know where I'm going wrong?
Looks way to much like the 70's and I can't afford the flashbacks!!!  lol
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: Bulldog on December 07, 2005, 11:36:44 PM
Quote from: sX5Fe_giZM0o on December 07, 2005, 11:27:14 PM
24 bit looks like this   http://www.thegaragefanatic.com/2112.jpg 
Anyone know where I'm going wrong?
I believe that is what it is suppposed to look like.  You should be able to import that into Dillo and get a nice smooth terrian.  But it has been years since I have even worked on a track so I may be mistaken.

Pete
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: V_Muskaman on December 07, 2005, 11:41:46 PM
You're correct Pete. You can't edit this 24-bit version in photoshop, etc, but it'll work in armadillo just fine.
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 08, 2005, 12:37:17 AM
The problem with exporting a greyscale image from Leveller to PS (or any graphic proggy) is that Leveller has 64,000 levels of detail and all Graphic proggys have only 256. So the best way to WRAP your head around Leveller is to do everything that you're EVER gonna do in PS BEFORE you go to Leveller.

However...for the purposes of rendering shadows and such in MAX and any other 3D proggy you do still need a greyscale image to displace your mesh. So the solution is this-

(this will be different in older versions of leveller btw)

1) Above your window (use the right one for this part) is a series of icons that look like light switches (in 2.3 and later I believe)...click the first (left) one. That tells Leveller to use NO lighting.

2) Directly under the word WINDOW (in your top bar in Leveller) there is an icon that looks like a gradient...if you put your cursor over it, it says, "Colormap". Click it...change the SCHEME to classic grey and hit apply and ok to close.

3) Go to VIEW/Overview/Export to Bitmap and save as whatever file type you like (usually a .tga)

This is a MUCH cleaner and sharper image than exporting as an 8-bit .tga and I'm sure you'll be MUCH happier with it this way. This is how I export my dismaps for rendering shadows in Max.

Hope that clears things up.  ;D
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ToaDsiX on December 08, 2005, 12:58:45 AM
QuoteI do admit a never version would probably help. But I'll wait until MVA comes out to purchase a copy.

QuoteOh and I really want the newer leveller now!

It looks like leveller is going open source.

http://www.daylongraphics.com/products/leveller/opensrc.htm

Thats pretty cool ;D

Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: sX5Fe_giZM0o on December 08, 2005, 02:04:36 AM
Thnx so much!!  It worked..  Not that I doubted you guys lol...   I changed to classic grey and it altered map quite a bit.  I guess that needs to be set before I import?   I'm using ancient version of LEV, but I may buy new version now.  Do you know if MXU vs ATV's new editor will have something like this built in?   Do you know of any special settings I should use when exporting as a TMESH?  Bryce takes them but not the 24 bit TGAs.  Well it will but it looks like pic I posted above and renders that way also.   I am missing something with the TMESH import.  It only has worked about 4 out of the 20 or so times I have tried it.   Looks like it is creased into 4 sections.

Also I was wondering if any thought was given to making MXU vs ATV backwards compatable to mcm2 tracks?
Will there be a lap time recorder?  They should get Mike Gecko on the payroll!!!  After all,, he did pickup where Rainbow dropped the ball..

Guess I'll have to stop cussin out Rainbow now that they decided to finaly take back custody of the MCM2 community.   Better late than never!!  lol

Thnx again

Dave



Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 08, 2005, 02:21:37 AM
No you don't have to set it up before you import. It DOES change the map...but nothing drastic...just a bit of detail is tailed off but it's not a big deal cause you're just using it for shadows...not an actual displacement map...that one would be exported as a proper 24-bit .tga direct from leveller.

As far as I know...this is the best way to export a bitmap for rendering shadows. No other file format seems to be compatible with Max that I'm aware of.

As for the TMESH exporting...I've never once used it. I export my meshes as Terragen Terrain files (.ter). So I don't think I can help you out on that one. There are lots of other export options in the menu of the latest version (and I think they pretty much exhisted in versions at least since 2.0). Perhaps there is another format that Bryce will play nice with?

I am pretty much unfamiliar with Bryce for the modern day. I haven't had it since something like version 4 (which I paid too much money for as I recall) and I never really got into it enough to say I was really good with it. It does do a great job of proceedural textures...but for MCM2 they seem almost TOO clinically perfect...i.e. too perfect to take serious. Although you do a great job with it IMO. Just not the right FIT for me I think, and I think I have a lot more control with Terragen. Probably because I'm more comfortable and completely familiar with all aspects of Terragen.

Wish I could be of more help bro  :P
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 08, 2005, 02:40:57 AM
As for your MXA (MX vs ATV) questions... there is going to be a track editor...so you could remake your tracks providing that the image sizes and file formats are somewhat compatible. If I've heard correctly, the displacement maps are still about the same in MXA and the sizes are still about the same. I think it has something to do with console req's. The game is a direct port from the console version (or that's what I've been told) so you can't expect much to change from the console version except for the online play (still 8 people..but probably not on Xbox live!) and the editor. I doubt very seriously that Rainbow will release anything like a lap recorder. I would think that would be left up to us to figure out. There's enough recorders out there that can handle this kind of thing. I doubt you'll have to wait to long for one to pop up.

Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: cR on December 08, 2005, 08:40:54 AM
Paul about the direct port, i think you'r wrong.. as stated on the site "Major enhancements planned for both versions!" both versions are PC and PSP...so... I think graphic enhancements will be there, that usuall for ports... look at GTA SA for example... the PC and XBOX versions are way better then the first version for the PS2... just an example :)
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 08, 2005, 02:51:55 PM
Wether it says it or not...I wouldn't count on it Clint. BTW lets try to keep this discussion ON TOPIC. There is a topic on MX vs ATV elsewhere on this forum. I don't want this topic getting hijacked and turning into a different discussion. :P
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: Bulldog on December 08, 2005, 07:47:43 PM
Great Tutorial Paul.  Think you could do one on texture creation in Terragen?

Pete
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 08, 2005, 08:26:20 PM
Sure I can Pete! I think that's the next one. I did one a while back but the quality wasn't the best and it had audio problems (sound overlapping, etc..) so it wasn't so easy to follow.

I think I'll start writing up a script/outline sometime this weekend and see what happens. Anything specific that anybody is interested in seeing in it?

Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: sX5Fe_giZM0o on December 09, 2005, 12:06:16 AM
You have helped a ton Paul thanx again.

I also admire the way you handled Mike Mach's comment on you patting yourself on the back.   Have you ever considered teaching grade school? lol

Good to see you are still creating and helping..

Dave
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 09, 2005, 01:23:48 AM
The chronic downfall of posting on message boards is that no two people will read what you've posted in quite the same way. In other words...what you post doesn't always come through in the way it was intended.

Having said that, Mikemach and I are completely cool with each other and I consider him a friend (although we don't talk much admittedly). I just clarified myself with whatever it was that I said (can't really remember at the moment) because I figured he just misunderstood my meaning. Since he didn't come back and post again...I assume that was the case. Mike, like myself isn't afraid to speak up or call BS when he thinks someone or something is out of line. I admire that about him. I wasn't trying to talk down to him at all, and you can be sure that if he thought that I was...he'd have been ALL over me like white on rice! lol

No I never thought of teaching school. I'm 42 years old...been married twice, but have no kids. I do have two brothers that have collectively provided me with 4 nephews and a niece. Having spent enough time with them...I find that I'm probably a much better UNCLE than I would be a DAD. I couldn't be a teacher because then you don't get to play with the kids, get them all wound up on candy (or sugar), get their clothes all filthy and disgusting and them hand them back to mom and dad (like I do as an uncle)!

Glad the tutorial and this post is helping out. If I do nothing else, giving back to the community that has given me SO much is the LEAST I can do. Hopefully somebody will put this to good use and wind up making games for a living. That to me would be better than getting 1000's of downloads or 100 "awesome" reviews (or winning any track contest).

;)
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: Crashnburn11 on December 09, 2005, 01:39:59 AM
Quote from: ElDiablo on December 08, 2005, 08:26:20 PM
Sure I can Pete! I think that's the next one. I did one a while back but the quality wasn't the best and it had audio problems (sound overlapping, etc..) so it wasn't so easy to follow.

I think I'll start writing up a script/outline sometime this weekend and see what happens. Anything specific that anybody is interested in seeing in it?


i would like to see some help on picking colors that will look realistic in mcm2, and mostly the surface mapping. thats my biggest problem
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 09, 2005, 01:53:54 AM
I think surface mapping in Terragen is MOST people's problem. I will most certainly be covering that in great detail. I will also cover my methods of choosing colors.

It's really pretty simple. I do a google image search for some pictures of the type of grass, dirt, etc... that I'm looking for and convert the image using the INDEX color method to 12 or so colors. Then you just use your cursor over the color pallet to see what the RGB values are. Usually before I do this I also darken the image by about 25% since Terragen brightens all colors up considerably.

If that doesn't make sense...don't worry. When you see the tutorial it will all be explained in great detail I assure you. That info was also in my last (crappy) Terragen tutorial. This time hopefully...I can get it done much better!

Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: metal_miracle on December 10, 2005, 02:56:27 PM
hi eldiablo why you use wireframe render mod in levller and not solid rendering mod in that tutorial

i think the wirefame mode make it much harder ro see that changes..

andi noticed another thin you smooth the edges why not just invert the selection and raise the sorunding untikl it match
looks much smoother not so cut out
Title: Re: New Tutorial - Advanced Displacement Mapping with Leveller
Post by: ElDiablo (Paul) on December 10, 2005, 03:31:32 PM
Quote from: metal_miracle on December 10, 2005, 02:56:27 PM
hi eldiablo why you use wireframe render mod in levller and not solid rendering mod in that tutorial

i think the wirefame mode make it much harder ro see that changes..

andi noticed another thin you smooth the edges why not just invert the selection and raise the sorunding untikl it match
looks much smoother not so cut out

Because wireframe mode lets you see each individual poly instead of just a rendered representation of the land, and because I'm used to it. But it really IS much more detailed than the solid rendering...just takes getting used to and sometimes it's good to switch back and forth between solid depending on your perspective.

What you're talking about with inverting the selection and raising the offtrack...sounds like a hell of a lot more work than just using the blur/smooth tool! lol  :P