Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 13-07-2003, 09:09 PM   #1
BabyDuck
Subscriber
 
BabyDuck's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 1,170
Thanks: 3
Thanked 12 Times in 12 Posts
Default how to: non repeating brick

here is my experience with (almost) nonrepeating brick texture. i always wondered why there was no easy solution to it. and i managed today to create something that was exactly what i want

after a little bit playing i created 2 128x128 file textures with some noise in it. depending on what shade of grey is in it i activate the correct brick. for that i used stencils. each stencil took an equal part of value range (in hsv color space) with key mapping and positive key. the image it produces is pretty much useless for transparency - as it still has many shades in it. but stencil provides an out alpha that has exactly what i need. now i connected the outalpha to tranparency r g and b of the layer in layerd texture that includes my brick. and voila done.

problems: the file texture that feeds the stencils must not be filtered, so that the border from one brick to next is sharp. then to have bricks that are not like a checker needed a little workaround. i mentioned 2 testures with noise as one is for the even rows and the other for the uneven rows. to mix them together i created with 3 checker textures a alpha channel for one of the noise textures. i know i know - i could just have created a 1x2 file texture that has a white and a black pixel in it and just let it repeat. oh well - now i like i got around that with 3 checker textures - here was also important to switch off the filtering, so the edges are sharp.

the example (next post) uses 3 bricks. each is 256x128 pixel big. for not need to place it for even and uneven row seperately, the brick texture has 256x256 pixel - the brick cut in half and change left and right did the trick.

oh i know, the bricks look a bit repeating. but that will be taken care off when i use more than 3 bricks. but for only 3 small brick textures, the result is great - and if you did not notice yet - it is not repeating. well after 128 bricks it is. just imagine a brick about a foot long - and the pattern on the wall repeats after 128 feet. most walls are not that long. and you are not able to see the bricks big enough to make out the pattern anyway. also nobody forces you to use only 128x128 files for the brick distribution ...


here is the shading network:
Attached Thumbnails
 
BabyDuck is offline   Reply With Quote
Old 13-07-2003, 09:13 PM   #2
BabyDuck
Subscriber
 
BabyDuck's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 1,170
Thanks: 3
Thanked 12 Times in 12 Posts
Default example wall

this plane uses the brick texture as color on a lambert. note that no bump map is aplied. and it uses only 3 bricks in total - so you are likely to find the same brick over and over again.

how did i get the bricks? digital cam and then cutted out 3 bricks.
Attached Thumbnails
 
BabyDuck is offline   Reply With Quote
Old 14-07-2003, 12:40 AM   #3
schmick
Registered User
 
Join Date: Apr 2002
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That's lookin nice BabyDuck
schmick is offline   Reply With Quote
Old 08-08-2003, 12:13 AM   #4
fredriksson
Subscriber
 
fredriksson's Avatar
 
Join Date: Jun 2003
Location: Sweden
Posts: 571
Thanks: 0
Thanked 1 Time in 1 Post
Default

Would you mind sharing that shader ducky?
Looks interesting, but you lost me in the text
__________________
Björn 'santa' Fredriksson

<A href=http://www.bjornfredriksson.com>Site Online.</A>

Check out our 1on1on1 battle for the SandCrawlers.
fredriksson is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.