Announcement

Collapse
No announcement yet.

Pin Displacement Test

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pin Displacement Test

    A simple test I recently finished. As quoted from my site:

    "This was a test produced in order to achieve a similar effect to a "Pin Art" toy which creates images by extending an array of pins.

    This effect is quite simple actually, and the basic concept is to read an image, look at the luminance values of the pixels, and displace geometry accordingly. The brighter the pixel, the greater the displacement and effectively, the higher the pin elevates. The main problem in achieving this is that building any type of geometry and displacing it with the pixel values will distort the mesh. This is because the left vertices of a mesh may be displaced 10% while the right vertices may be displaced 80% due to neighbouring brighter pixels. The solution to this is to not displace geometry, but rather displace a point, or even better, a spline. Since a point is one dimensional, it can be directly mapped to a single pixel. Once the pixel value is derived, the point shifted, and the spline displaced, any object can then be attached to the spline. In the example below, 3dsmax has a feature which will allow one to convert a spline to an object with a configurable thickness and number of sides at render-time.

    The example below has an array of 50x30 splines, which are converted to 4-sided rectangles at rendertime, and are displaced using an animated map, in this case the "Monster's Inc" movie trailer. Of course, greyscale images/maps would work better since pixel values are based on luminance and the pin array can be of any desired resolution."



    Movie and project page:
    http://www.richardrosenman.com/project/?cid=54

    -Richard
    Richard Rosenman
    Creative Director
    http://www.hatchstudios.com
    http://www.richardrosenman.com

  • #2
    That's really freakin cool. How long did it take for you to figure this one out?

    -juju
    LunarStudio Architectural Renderings
    HDRSource HDR & sIBL Libraries
    Lunarlog - LunarStudio and HDRSource Blog

    Comment


    • #3
      nice, I really like it.

      is this just a pure experiment or you going to incorporate it into an actual production project??

      paul.

      Comment


      • #4
        cool, I wonder what it would look like with the movie mapped on top of the pins.
        Eric Boer
        Dev

        Comment


        • #5
          very cool ..
          Natty
          http://www.rendertime.co.uk

          Comment


          • #6
            GREAT !!!!

            Comment


            • #7
              No, not for production...did it just because I had (for the first time in a long time) some free time. And I thought it was kinda cool...

              Someone suggested putting a spring controller on the splines which would make them a little bouncy everytime they shift which could look even better.

              And of course, you could link X-Form any object to the splines, and texture map them any which way...

              -Richard
              Richard Rosenman
              Creative Director
              http://www.hatchstudios.com
              http://www.richardrosenman.com

              Comment


              • #8
                actually there is a script on scriptspot.com that does this. i tried it once back when we were original beta testers on the versions below 1.0

                ---------------------------------------------------
                MSN addresses are not for newbies or warez users to contact the pros and bug them with
                stupid questions the forum can answer.

                Comment


                • #9
                  This is looking great.
                  So little free time and then spend it behind your computer, you must be a real addict

                  Gijs
                  You can contact StudioGijs for 3D visualization and 3D modeling related services and on-site training.

                  Comment


                  • #10
                    Could've it been done by reducing the size of projected image to an appropriate one, in this caser to 50x30 pixels? This way all, lets say 12 vertizes of a cilinders base vould be on one pixel, therefore one color, one height information?

                    Comment


                    • #11
                      Or run the movie trough AFX and use mosaic to make "big blocks".

                      /Thomas
                      www.suurland.com
                      www.cg-source.com
                      www.hdri-locations.com

                      Comment


                      • #12
                        You would only need to widen the base of the image by one gap lenght between two pins in both directions (half on each side).

                        Comment


                        • #13
                          Originally posted by Gijs
                          This is looking great.
                          So little free time and then spend it behind your computer, you must be a real addict

                          Gijs
                          my thought exactly...

                          paul.

                          Comment


                          • #14
                            isn't there a plugin or a script that does this?
                            I can't remember off hand where I saw this before but I'll look into it if there is any interest.

                            -lander

                            Comment


                            • #15
                              found it

                              http://www.asd.3d.pl/scripts/pinsman/pinsman.html

                              Comment

                              Working...
                              X