HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Stained Glass in 3DSM5 Without Custom Textures

07-23-2006, 09:00 PM#1
Mc !
Is it possible? Of course it is, in fact, one could use any texture from the mpq and turn it into stained glass.

So lets get started:

Tools you need
· 3dsmax 5
· War 3 Art Tools (find them here)
· You will need WcIII image extractor (http://www.wc3campaigns.net/showthread.php?t=83092) or Warcraft 3 Viewer (http://www.wc3campaigns.net/showthread.php?t=82558) for getting the textures.

Starting
Ok, the first step is to put a plane, this one will be for the main texture, so also assign it the material with the texture you want to be converted into stained glass,

The material should be additive, from 50 to 80% of opacity, unshaded

Click image for larger version

Name:	1.jpg
Views:	75
Size:	119.1 KB
ID:	9840

In Warcraft 3 previewer:

Click image for larger version

Name:	2.jpg
Views:	114
Size:	79.4 KB
ID:	9842

Stained Glass effect

Create another plane with the same size and put it in the same place, only a bit forward, but this one with more segments, I used 4 for length and 4 for width, the numbers should be powers of 2(if not it will end having an stretched unwraping). Now you should give him a new material.

We will use the Temple of the Damned texture (why?, because it has what we need, but I think you could use the human tower texture as well)

This is the path of the Temple texture: Buildings\Undead\TempleoftheDamned\NewTempleoftheDamned.blp

Extract it, and use it as texture for the new plane's material

Use the Modulate 2x filter. Put it unshaded,

and crop this part of the texture(How? using this(Click image for larger version

Name:	3.jpg
Views:	52
Size:	51.7 KB
ID:	9843) button at the material editor, you should also check "Apply")

Click image for larger version

Name:	Newcrop.jpg
Views:	134
Size:	149.4 KB
ID:	9906

Unwrapping the new temple's plane

Select the Unwrap UVW modifier on the modifier list. Click on edit, a window like this should appear:

Click image for larger version

Name:	4new.jpg
Views:	54
Size:	298.0 KB
ID:	9911

Now, mirror the edges from the horizontal 2nd half part and move them to the 1st half (This part is for giving it some kind of symmetry) do the same vertically then, you should repeat this process until having a single square, then you should scale the square to use all the texture area, at the end it should look like this:

Click image for larger version

Name:	NewUnwr.jpg
Views:	20
Size:	131.7 KB
ID:	9910

Finishing

Ok, now copy the Temple's plane and put it in front of the Temple's plane, and create a new plane with only one segment (no need of more) and put it in front of the new one. This last plane will give the stained glass some kind of glow and also color. It should be fulll alpha with 50% opacity, unshaded

For this one you could use any texture, but I strongly recommend this one: Textures\Loading-BarFill.blp

Now, watch it at the Warcraft III previewer, and it should look like this:

Click image for larger version

Name:	FinalResultNew.jpg
Views:	261
Size:	139.4 KB
ID:	9907

It doesn't look that much like stained glass!! Well, its because this system isn't designed for making floating glasses, these glasses look extremely better when they are in buildings, mainly dark ones:

Click image for larger version

Name:	SingleTempleTower.jpg
Views:	433
Size:	151.5 KB
ID:	9908

Enjoy creating Stained Glass!
Attached Images
File type: jpg1.jpg (119.1 KB)
File type: jpg2.jpg (79.4 KB)
File type: jpg3.jpg (51.7 KB)
File type: jpgNewcrop.jpg (149.4 KB)
File type: jpgFinalResultNew.jpg (139.4 KB)
File type: jpgSingleTempleTower.jpg (151.5 KB)
File type: jpgNewUnwr.jpg (131.7 KB)
File type: jpg4new.jpg (298.0 KB)
07-24-2006, 04:12 AM#2
Daelin
Great tutorial... +Rep!

~Daelin
07-24-2006, 02:39 PM#3
Archian
Good tutorial, well done..
07-24-2006, 03:02 PM#4
Whitehorn
Can't see a use for this as your example pic is a bit ugly. Texture flats aren't very pretty as a whole surface.
07-24-2006, 03:34 PM#5
TDR
those look more like glass bricks than stained glass. I have never actualy seen a stained glass wich looks like that.
07-25-2006, 12:07 AM#6
Mc !
k improved the effect itself a bit
07-25-2006, 01:42 AM#7
Tim.
It still doesn't look much like stained glass..
07-26-2006, 01:10 AM#8
Mc !
hmm, what about now?
07-26-2006, 01:15 AM#9
Tim.
Much better, approved.