Turbo Squid
Turbo SquidProductsSearchShopping CartMemberForumsCompanySupport
3D Application Forums : Autodesk 3ds Max : Chalk lines on a football pitch
Forum: Posts From:
Jedigaz
Poster
18 Posts
Chalk lines on a football pitch
Posted 12-Apr-2008 9:29 AM

I have my pitch. Nice grass texture with lights etc. What i am trying to do though is create the lines of a football pitch. Well actually its the touchline and its as if the guy who was laying down the chalk decided to go off and write his name on the pitch cause he got bored. Hope you can picture what im trying to achieve.

I dont really want to do this in photoshop. I would like to try to see if its possible in max 08. Thanks in advance for any responses
Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 13-Apr-2008 1:50 AM

I suppose you could copy your grass shader and make it white (and noisy and grainy), then use a Blend material with a mask.

But if you don't want to use Photoshop at all, I dunno. Make the mask in Paint...   ;)

Jedigaz
Poster
18 Posts
RE: Chalk lines on a football pitch
Posted 13-Apr-2008 9:42 AM

What i meant in me saying i didnt want to use photoshop was not taking my completed render and `drawing` the white lines.
Of course if i had to make a mask/map etc in photoshop thats a different matter. I just want to make sure the whole thing is finally done in max.

Sorry if i didnt explain things clearly enough and thanks for your response.
Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 13-Apr-2008 10:52 AM

...I was just kidding, Jediqaz.

Could you give some details about that grass texture? Is it tiled? Procedural? With Bump or Normal maps? Etc...

Jedigaz
Poster
18 Posts
RE: Chalk lines on a football pitch
Posted 13-Apr-2008 11:10 AM

I have the jpeg texture in diffuse and bump. Jpeg is very high res so it looks good with bump set to only 5. I have a camera in the scene almost at ground level looking across `the pitch` rather than pointing down

Sorry if that isnt much to go on.
Jedigaz
Poster
18 Posts
RE: Chalk lines on a football pitch
Posted 13-Apr-2008 11:35 AM

I have the jpeg texture in diffuse and bump. Jpeg is very high res so it looks good with bump set to only 5. I have a camera in the scene almost at ground level looking across `the pitch` rather than pointing down

Sorry if that isnt much to go on.
Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 13-Apr-2008 2:16 PM

Ok, I've made a try. Grass bitmap in Diffuse and Bump slots for Mtl 1, whashed out copy (almost white) of the grass bitmap in Diffuse slot and original grass bitmap in Bump slot for Mtl 2, Blend material using Mtl 1 and Mtl 2 plus a b&w pic (with some Spatter filter) in the Mask slot for the lines.
A couple of Direct lights (one from above and one from the side) and Scanline.

How does it look?

Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 13-Apr-2008 2:22 PM

Damn TurboSquid for recompressing the jpegs so badly! And this place is supposed to be about graphic arts!!!
Andy Rak
Advanced Poster
4125 Posts
160 Products
RE: Chalk lines on a football pitch
Posted 14-Apr-2008 7:20 AM
Modified by Andy Rak On 14-Apr-2008  7:22 AM

Ya... maybe resize and replace it?  I forgot what the limit is for these posts, but I know 400x400 works will not be resized...

Ah... your picture shows as 600x450 so perhaps a resize to those dimensions?

btw, is the grass tiled or is the entire pitch textured without tiling?

Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 14-Apr-2008 8:15 AM

Hi Andy. The size is not the issue. I'm aware of the 600x450 limitation on TS. I rendered it at this size, saved as .tga, then converted to .jpg with Photoshop. But when displayed here, it has been recompressed, hence the ugly artifacts.

I found the grass picture with Google (nice tileable 1280x1024, btw). The bitmap has been tiled by 4 in U and V, but the render only shows something like 2 tiles as I zoomed on the plane.
Jedigaz
Poster
18 Posts
RE: Chalk lines on a football pitch
Posted 14-Apr-2008 9:26 PM

First off thanks for taking the time out to not only reply but to spend time trying to practically answer my dilema.

Tried and tried your method but to no avail. Im a quick learner, or so i thought, but i just couldnt get anywhere near your finished piece.

Attached is the inspiration behind my idea. The image is a few years old now. The game in question is actually on number 7, even though named 2008...however...the game aside, my idea did stem from that image. I like the way the white chalklines are almost indented into the ground ever so slightly, aswell as the overall realism. As a photoshop user i do believe that the image was created in another program, namely a 3d package.

My weapon of choice in this field is of course max so if i could learn how this is done all the better.

Thanks again

Gaz
Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 15-Apr-2008 3:44 AM

It's weird that it didn't work for you. Let's try again.

First you need three bitmaps (jpeg or better, targa). The first is you grass texture (say Grass.jpg), the second is a photoshopped version of the first, very desaturated and almost white (Chalk.tga), the third is your white lines/text/whatever on a black background (Mask.tga). For that last, you can use one the filters in Photoshop to make irregular edges.

Then you need three materials:
- Grass Mtl: Use a Standard material with Grass.jpg in the Diffuse slot. Apply it to a plane and adjust the tiling as you see fit. When you're done, drag from the Diffuse to the Bump slot. That way you keep the same tiling values.
- Chalk Mtl: Drag the Grass Mtl to an empty slot in the materials window to make a copy and - again - keep the tiling, rename it and, in the Diffuse slot, replace Grass.jpg by Chalk.tga. You might need to lower the bump value or else it will look to sharp.
- Blend Mtl: this time create a Blend material. Drag the Grass Mtl to its Material 1 slot, then the Chalk Mtl to its Material 2, click on the Mask slot and browse to your Mask.tga file. Finally apply that material to the plane.

Render, adjust your lights, render again, etc... and that's it.

Extra: For the indentation of the chalk lines, in the Chalk Mtl, add Mask.tga in the Displacement slot with a small negative amount.

This is what I got (with a bad grass texture, you can see the repetion of patterns):

Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 15-Apr-2008 3:51 AM

Amost forgot. Either it's normal or I'm missing a setting but I needed to use Mental Ray to see the displacement. Didn't work with Scanline.
Caprier
Advanced Poster
559 Posts
RE: Chalk lines on a football pitch
Posted 15-Apr-2008 4:14 AM
Modified by Caprier On 15-Apr-2008  4:33 AM

It wasn't the texture that was bad, it was me! I had Mirror checked instead of Tile, lol.
I've adjusted a few values and made a new render:
DragonAssasin
Advanced Poster
577 Posts
1 Product
RE: Chalk lines on a football pitch
Posted 22-Apr-2008 11:30 AM

this tutorial also lays it out in a similar if not identical fashion, (except that one has pretty pictures lol :'P)






Jedigaz
Poster
18 Posts
RE: Chalk lines on a football pitch
Posted 08-May-2008 1:40 PM

Apologies for not replying in this thread sooner. Been very busy of late with other projects.

First off massive thanks to Caprier for your help mate. Your way worked best for me in the end.

Glad i popped in to ask for help. A top site with a very helpful community. Thanks guys
Items per page