Page 1 of 28 12311 ... LastLast
Results 1 to 20 of 555

Thread: Tiles Texture

  1. #1
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911

    Tiles Texture

    [EDIT] This started life as a plugin but the implementation is being moved to blender as a new texture. [/EDIT]

    I was going through some of the texture plugins and had a different idea of computing the intensity and bump map. Moreover I wanted to produce a set of bricks of random width that was repeatable and could be offset arbitrarily to produce different patterns.

    Screenshots (artifacts due to JPEG compression):
    Click image for larger version. 

Name:	test.jpg 
Views:	532 
Size:	42.3 KB 
ID:	19448Click image for larger version. 

Name:	test1.jpg 
Views:	402 
Size:	32.4 KB 
ID:	19449

    Click image for larger version. 

Name:	test2.jpg 
Views:	422 
Size:	144.6 KB 
ID:	19450

    There are 3 modes: Linear, Quadratic and Cubic. These basically control the fall-off of the brick intensity function from the brick face to the mortar.
    Click image for larger version. 

Name:	test3.jpg 
Views:	432 
Size:	58.9 KB 
ID:	19451Click image for larger version. 

Name:	test4.jpg 
Views:	366 
Size:	58.7 KB 
ID:	19452Click image for larger version. 

Name:	test5.jpg 
Views:	356 
Size:	58.0 KB 
ID:	19453

    My next idea is to introduce some sort of noise function to perturb the texture.

    [EDIT]: I ended up borrowing a couple of functions from other plugins. Will double-check terms of use before releasing source code (in case some one wants this).
    [EDIT2]: I borrowed a mod() function from the brick.c in the Blender Plugin Repository and its Public Domain. Didn't want to write it myself

    Download: Win32 version compiled with mingw + Linux version compiled with bmake + Mac version.

    Beta Version: Win32 version compiled with mingw.

    Please read the README.TXT file. It has a note about bump mapping.
    The Mac version was supplied by sarah and it may or may not work on all Macintosh systems.
    Last edited by Wizard; 01-May-08 at 08:57.
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



  2. #2
    Member goosey's Avatar
    Join Date
    Mar 2005
    Location
    Wellington NZ
    Posts
    490
    Nice. Look forward to it being released



  3. #3
    Member PapaSmurf's Avatar
    Join Date
    Sep 2004
    Location
    Southeast USA
    Posts
    8,812
    This sounds very nice! Please ensure that it is tileable (scale less than 1 or add the Repeats fields). With a speckle tex on top of this and some procedureal coloring I bet you could easily get a very good looking brick texture simply and quickly. Keep up the good work!



  4. #4
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911
    Here's another little modification that allows rounded corners and as a bonus circular patterns.

    Click image for larger version. 

Name:	test.jpg 
Views:	273 
Size:	38.2 KB 
ID:	19519Click image for larger version. 

Name:	test2.jpg 
Views:	266 
Size:	36.3 KB 
ID:	19521Click image for larger version. 

Name:	test4.jpg 
Views:	278 
Size:	26.3 KB 
ID:	19523
    Click image for larger version. 

Name:	test1.jpg 
Views:	271 
Size:	219.1 KB 
ID:	19520Click image for larger version. 

Name:	test3.jpg 
Views:	280 
Size:	225.1 KB 
ID:	19522Click image for larger version. 

Name:	test5.jpg 
Views:	375 
Size:	57.8 KB 
ID:	19524

    I'm having trouble with the interpolation right now so as soon as I fix it, I can post the source code for your scrutiny.
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



  5. #5
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911
    I started messing around with the texture panels and found a nice use of IWarp. This may mean I wouldn't need to add any noise functions to my code.

    The following was generated by using a Stucci texture on top of the brick pattern with IWarp.
    Click image for larger version. 

Name:	test6.jpg 
Views:	503 
Size:	45.8 KB 
ID:	19526

    This one uses the brick pattern as stencil followed by a stucci texture for IWarp followed by the same brick pattern for bump map.
    Click image for larger version. 

Name:	test7.jpg 
Views:	395 
Size:	38.1 KB 
ID:	19527
    Last edited by Wizard; 24-Apr-07 at 20:42.
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



  6. #6
    Member tarkata14's Avatar
    Join Date
    Oct 2006
    Location
    In a parellel Universe...o_O O_o
    Posts
    744
    Looks awesome! You should release a test version....
    Last edited by tarkata14; 16-Jan-08 at 11:02.



  7. #7
    Member PapaSmurf's Avatar
    Join Date
    Sep 2004
    Location
    Southeast USA
    Posts
    8,812
    love that rounded texture - used on commercial floor mats. It made me think of the other common tex is the diamond plate stainless steel trim, usually on truck panels and steps, utility/tool boxes. This boiler plate, which is rouneded, whereas diamond is sharp-edged to grip better.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	boiler_plate_rust-b.jpg 
Views:	585 
Size:	119.4 KB 
ID:	19547  




  8. #8
    Member sarah's Avatar
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    279
    Nice bricks! I particularly like the stucci-warped ones.

    I discovered the "warp" feature after adding noise and distortion to my first plugin, but I'm still of two minds about whether to take them out. On the one hand, they aren't really necessary, but on the other hand, it's a little easier to tweak a texture, particularly for newbies, since you don't have to know how to use a texture to warp another one... you can just click on the little buttons in the plugin panel and see the results immediately.



  9. #9
    Member
    Join Date
    Apr 2006
    Location
    Utah, USA
    Posts
    87
    That's nice! I'd like to use it when you release it. I can foresee some awesome uses for the rounded edges in my sci-fi stuff.



  10. #10
    Member PapaSmurf's Avatar
    Join Date
    Sep 2004
    Location
    Southeast USA
    Posts
    8,812
    imho, simple redundancy is better. It staves off the "gosh I have to go here and then here and then over here just to..." argument. It also easier to say X in this is the same as Y in this and Z in that, as once they learn it in Y then their knowledge applies to X and Z, and helps with the "got it" factor. so, if it doesn't complicate matters terribly, leave it in. I would hope you donate this to the open source so it can become another great procedural texture.



  11. #11
    Member sarah's Avatar
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    279
    Originally Posted by PapaSmurf View Post
    imho, simple redundancy is better. It staves off the "gosh I have to go here and then here and then over here just to..." argument. It also easier to say X in this is the same as Y in this and Z in that, as once they learn it in Y then their knowledge applies to X and Z, and helps with the "got it" factor. so, if it doesn't complicate matters terribly, leave it in. I would hope you donate this to the open source so it can become another great procedural texture.
    Yeah, that's pretty much what I ended up deciding... besides, it was less work to leave it in than to take it out!

    I put my plugins under the GPL... I hope the bricks will be Open Source too; I'd like to see the bump mapping code, as that was something I had a little trouble with, as I recall.
    Last edited by sarah; 25-Apr-07 at 14:27. Reason: oops...



  12. #12
    Member darkcgi's Avatar
    Join Date
    Mar 2005
    Location
    Gulf Coast
    Posts
    382
    Awesome cant wait to use it.
    Hope I can find you again when its done.
    Should try and get blendernation to post it on their site when its finished
    a blenderhead



  13. #13
    Member migero's Avatar
    Join Date
    Dec 2006
    Location
    the bottom of Poland
    Posts
    585
    yea really cool one waiting for a beta or at least an alpha version ;]



  14. #14
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911
    I finally ironed out some nasty little details with the round corners (hopefully). So now all 3 types of interpolation should work (Linear, Quadratic, Cubic).

    Please see Post #1 for links to the Windows version of the plugin. I'll see what I can do about compiling for Linux.

    If you have any questions, concerns or ideas, feel free to let me know. The source will be GPL when I'm done after all I've learnt a lot from other plugins.

    If you manage to create something cool with it, please post your results in this thread if possible. Would like to know if it finds use anywhere.

    Cheers.
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



  15. #15
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911
    I forgot to add. I've added a rotation control. So you can mask marble and wood textures as their default orientation is at a 45 degree angle.
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



  16. #16
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911
    A quick test with displacement modifier:
    Click image for larger version. 

Name:	displace_test.png 
Views:	561 
Size:	92.9 KB 
ID:	19568
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



  17. #17
    Member Ace Dragon's Avatar
    Join Date
    Feb 2006
    Location
    Wichita Kansas (USA)
    Posts
    26,491
    Maybe you can add random intensity to it, one result would be bricks sticking out more then others. Another use would be tight colorband controls to give random color (I've done this with cellnoise)
    Sweet Dragon dreams, lovely Dragon kisses, gorgeous Dragon hugs. How sweet would life be to romp with Dragons, teasing you with their fire and you being in their games, perhaps they can even turn you into one as well.
    Adventures in Cycles; My official sketchbook



  18. #18
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911
    Originally Posted by Cyborg Dragon View Post
    Maybe you can add random intensity to it, one result would be bricks sticking out more then others. Another use would be tight colorband controls to give random color (I've done this with cellnoise)
    This is actually a very good idea.

    Right now, mortar is at 0 intensity followed by a ramp (linear, quadratic, cubic) for the bevel from 0 to 1. I was thinking of compressing this range to something like 0.25 - 0.75 so it can allow for other effects. I will add your idea to my list of enhancements; each brick can be randomly displaced up or down (based on a min/max setting).

    Thanks.
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



  19. #19
    Member Ace Dragon's Avatar
    Join Date
    Feb 2006
    Location
    Wichita Kansas (USA)
    Posts
    26,491
    And what do I have to do to make it work, just download this and chuck it into the plugins folder?

    I'll see about downloading this once this is to its full potential.
    Sweet Dragon dreams, lovely Dragon kisses, gorgeous Dragon hugs. How sweet would life be to romp with Dragons, teasing you with their fire and you being in their games, perhaps they can even turn you into one as well.
    Adventures in Cycles; My official sketchbook



  20. #20
    Member Wizard's Avatar
    Join Date
    Jan 2004
    Location
    Ontario, Canada
    Posts
    911
    As long as you unzip all files in one folder, you can load the plugin from anywhere.
    Spartans! Ready your breakfast and eat hearty... For tonight, we dine in hell!



Page 1 of 28 12311 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •