Page 4 of 6 FirstFirst ... 23456 LastLast
Results 31 to 40 of 58

Thread: [Award Winner] Thatching for dummies...

  1. #31
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,530

    Post

    Quote Originally Posted by su_liam View Post
    I think the thatch and the shingles rock. The wood and the blue things still seem... odd. Still, I am in serious want of your script just for the thatch and the shingles! Good work, technical problems or no.
    They are just seamless patterns... The script lets you apply any pattern to a heightfield.

    Getting real close now....

    [Award Winner] Thatching for dummies...-next1.png

    [Award Winner] Thatching for dummies...-next2.png

    -Rob A>

  2. #32
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,530

    Post

    I might have to rename it from "thatch" to "roof"...

    sample hf:
    [Award Winner] Thatching for dummies...-house_hf.png

    result (with shadow and ground added):
    [Award Winner] Thatching for dummies...-house.png

    99% done now...

    -Rob A>

  3. #33
      töff is offline
    Guild Artisan töff's Avatar
    Join Date
    Nov 2007
    Location
    Fresno, California USA
    Posts
    864

    Post 4 applications (n,s,e,w) of photoshop "render lighting"

    It seems to me, without having tried it, that the directional masks might be generated more easily from the height map with 4 applications (n,s,e,w) of photoshop's standard "render lighting" filter.

    Feel free to Fred Picker Stamp me ...

    This is all a very clever idea with great results. Cheers!

  4. #34
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,530

    Post

    Quote Originally Posted by töff View Post
    It seems to me, without having tried it, that the directional masks might be generated more easily from the height map with 4 applications (n,s,e,w) of photoshop's standard "render lighting" filter.

    Feel free to Fred Picker Stamp me ...

    This is all a very clever idea with great results. Cheers!
    If I had photoshop, I might try it

    I've actually come up with a much better way than the curves I was playing with.

    I illuminate (emboss) three copies of the heightfield at 0, 120 and 240 degrees.
    These get combines as RGB layers into a new image.
    That RGB image gets converted into a HSV image and the H layer is grabbed out. This layer represents the direction (without magnitude) of the heightfield as a value from 0 to 255. I then posterize that layer into the number of faces desired, and select each colour sequentially, using that as a mask for rotated copies of the pattern.

    It takes a while to run, especially for large images, but I like the results.

    And it lets you (if desired) use up to 16 faces when generating the result:
    [Award Winner] Thatching for dummies...-thatch_16.png

    I think I worked out the last couple of bugs on the weekend, so I will post it up, hopefully tomorrow.

    -Rob A>

  5. #35
      ravells is offline
    Community Leader Gracious Donor ravells's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    10,862

    Post

    Hi Rob, as a test would you mind running your script against this city which I am in the process of drawing? I'd be interested to see the results. If you need the image manipulated in any way for better results just ask and I'll post it here.

    Cheers!

    Ravs
    Attached Thumbnails Attached Thumbnails [Award Winner] Thatching for dummies...-test-city.png  

  6. #36

  7. #37

  8. #38
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,530

    Post

    I'm not sure if the pattern scales works with the map scale...but here is a result running once with the light purple selected and once with the fark purple selected.

    I made heightfields with simple shaped spherical gradients based on the selection shape.

    [Award Winner] Thatching for dummies...-tt.jpg

    -Rob A>

  9. #39
      töff is offline
    Guild Artisan töff's Avatar
    Join Date
    Nov 2007
    Location
    Fresno, California USA
    Posts
    864

    Post

    I begin to see why my simpler n,s,e,w idea won't work: the roofing material needs more angles to match huts that are at odd angles.

    OT: speaking of odd angles ... @ Ravells ... hey pal, that city is tweaking my head. It almost looks as if the TAN areas should be the buildings ... bcz the PURPLE area are the funkiest shapes for buildings that man or alien has ever seen. But then ... there's tan lines (hahah, I mean lines colored tan) that look like streets ... but are they like tunnels btwn bldgs? Please do explain!

  10. #40
    Guild Novice Black Tower of Time's Avatar
    Join Date
    Feb 2009
    Location
    Germany
    Posts
    10

    Post

    Quote Originally Posted by töff View Post
    @ Ravells ... hey pal, that city is tweaking my head. It almost looks as if the TAN areas should be the buildings ... bcz the PURPLE area are the funkiest shapes for buildings that man or alien has ever seen. But then ... there's tan lines (hahah, I mean lines colored tan) that look like streets ... but are they like tunnels btwn bldgs? Please do explain!
    Hmm Purple and Tan colour? Hmm for me its just grey for the building arias and light sand yellow for the streets.
    But your true when looking on the "rendered" version of RobA the buildings look strange. But I think this is that the building aria has been used as "one" building for test purpose. Maybe run RobA's Tutorial/Script method using Mosaic Filter to make building patterns for cities would gave a better result as you got a more regular structured pattern of single houses.
    But on the other side I don't know about the maps cultural background so the strange look of the buildings basic form may be intended to be.
    I am new in this aria so be a nice guide

Page 4 of 6 FirstFirst ... 23456 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
  •