Results 1 to 7 of 7

Thread: Controling Separate Surfaces

  1. #1

    Question Controling Separate Surfaces

    Hello Everyone. It's been a long time.

    I'm learning to code in processing, and while reading some tutorials, I did a script that creates 3D cubes depending on the color/brightness of an image. I did some tests, but now I would like to control the height of each cube separately, could be random, but I want them to grow at different rates. what would you suggest me to do?

    Here's a render test I did.
    https://www.youtube.com/watch?v=0ZSGI8C6hlo

  2. #2
    da what? daforum's Avatar
    Join Date
    May 2006
    Location
    Bristol, England
    Posts
    1,689
    Your render test looks interesting.
    Are you able to demonstrate how the script works ( tutorial )?
    Montage Reel, Portfolio, PIN_01, Prime......«« go on, click on a link!

  3. #3
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    8,082
    I guess, your script is Modeler Lscript?
    You should make weight map, and assign index to each of these boxes. Increment index for each box.
    Then in Displacement Node Editor get weight map value and plug to randomizing node, and output use for changing Y position Y (for example).

    I used similar method in video tutorials of TrueArt's TrueTypeText plugin:
    https://www.youtube.com/watch?v=Ow7Um2ks0Ek
    You can see how each letter, each column, each row, each word can be transformed thanks to Weight map.

  4. #4
    Quote Originally Posted by daforum View Post
    Your render test looks interesting.
    Are you able to demonstrate how the script works ( tutorial )?
    Yes, the tutorial is located here: https://www.funprogramming.org/153-R...n-Blender.html

  5. #5
    The script was done in processing, it reads an image brightness per pixel and creates cubes. You just gave me an idea, I'll create a separate script to create a displacement map, so I can get separate heights from each cube. Thanks a lot Sensei!

  6. #6
    da what? daforum's Avatar
    Join Date
    May 2006
    Location
    Bristol, England
    Posts
    1,689
    Quote Originally Posted by alanestrada View Post
    Thank you for the tutorial link
    Montage Reel, Portfolio, PIN_01, Prime......«« go on, click on a link!

  7. #7
    Sure, no problem. Would love to see your tests!

Bookmarks

Posting Permissions

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