Results 1 to 8 of 8

Thread: Automation: 2D to 3D

  1. #1

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Automation: 2D to 3D

    http://www.youtube.com/watch?v=VuoljANz4EA

    This is really cool. I wish I could find the code they used to do this.

  2. #2
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Automation: 2D to 3D

    I'm pretty sure it's a matter of them stretching the image... something about the 3d simulations didn't look right

  3. #3

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: Automation: 2D to 3D

    I assumed they were analyzing the shading. Thats the only way I can see it working out without specifying whats an object and what is't. But even then, assoiating one object to another that ight be way far ahead of the one behind it would take something else.

  4. #4
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: Automation: 2D to 3D

    They aren't actually making those objects properly 3D. As timeshifter said, they're just being stretched and then mapping the bitmaps onto a pseudo-3D surface.

    What it looks like they've done is some sort of object recognition to see where the object is and what the floor is like in relation to that. Then generated a simple 3D image behind that and mapped the parts of the bitmap onto it.

    The train and the first street scene are basically the same - there's an object strecthing along the LHS of the picture, so make that the "wall", make the end of the train (or the side street) the "back" and the floor is as is. Then just move your camera position and redraw the bitmap.

    The second street is similar but with objects along both sides.

    The ship and the building are both objects in the middle with space down both sides.

    Nevertheless, it's a good start.
    I use VB 6, VB.Net 2003 and Office 2010



    Code:
    Excel Graphing | Excel Timer | Excel Tips and Tricks | Add controls in Office | Data tables in Excel | Gaussian random number distribution (VB6/VBA,VB.Net) | Coordinates, Vectors and 3D volumes

  5. #5
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Automation: 2D to 3D

    The hardest part would probably be identifying the vanishing point(s) of the scene. Once you have that ten you can use edge detection to find convenient rectangula areas. Its a nice effect but not impressive enough in its current form.
    I don't live here any more.

  6. #6
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Automation: 2D to 3D

    Hear hear.

  7. #7
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Automation: 2D to 3D

    Rhubarb.
    I don't live here any more.

  8. #8
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Automation: 2D to 3D

    Guacamole

Posting Permissions

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



Click Here to Expand Forum to Full Width