Live data from Hacker News

Trimensional: 3D Scanner for iPhone

trimensional.com

21–30 of 42 posts

Re: Trimensional: 3D Scanner for iPhone

#21
post #13
post #11

Earlier quoted context omitted.

The first question that comes to mind for me is: Is it possible to export the generated mesh that is shown in the stills?

Good question. Version 1.0 only saves/emails images, but trading 3D scans and exporting the raw mesh is certainly on the feature list for future versions.

Please add .obj export. That format is easy, free and widely supported.

Re: Trimensional: 3D Scanner for iPhone

#23
post #12

This is a shape from shading approach, which will only work if you're in the dark, with the phone as the only illumination source. If white dots are shown in different places on the screen, and assuming the phone and subject don't move during the process, surface normals can be computed from the resulting images, and once you have the normals then the shape can be approximated. Normals can be found by calculating the…

What are good resources for looking into converting photos into 3d object models? I'm really impressed by Shapeways but would like to take current real-world objects as a base rather than building them in a 3D tool etc.

I've seen the laser scanners but they're relatively expensive. Is there anything like a mount that takes two iphones, and software that can take those two photos to create atleast a projection?

Re: Trimensional: 3D Scanner for iPhone

#24
post #23
post #12

This is a shape from shading approach, which will only work if you're in the dark, with the phone as the only illumination source. If white dots are shown in different places on the screen, and assuming the phone and subject don't move during the process, surface normals can be computed from the resulting images, and once you have the normals then the shape can be approximated. Normals can be found by calculating the…

What are good resources for looking into converting photos into 3d object models? I'm really impressed by Shapeways but would like to take current real-world objects as a base rather than building them in a 3D tool etc. I've seen the laser scanners but they're relatively expensive. Is there anything like a mount that takes two iphones, and software that can take those two photos to create atleast a projection?

there are plenty of DIY laser scanners that give much better results than anything you could do with an iphone alone. laser, line splitting lens, turntable, hi-resolution webcam, done.

Re: Trimensional: 3D Scanner for iPhone

#25
Very cool and very uncool.

Cool: that it works in a decent way, and uses a neat trick.

Uncool: You can't export the image into a 3D file, making it 99% less useful that it would be otherwise.

Suggestion: export it as VRML, it's trivial format that you can generate starting from your points. Use this format (from my own code, so use it as you wish):

    fprintf(fp,
    "#VRML V2.0 utf8\n"
    "Shape {\n"
    "    appearance Appearance {\n"
    "        material Material {\n"
    "            diffuseColor .5 .5 .5\n"
    "        }\n"
    "    }\n"
    "    geometry ElevationGrid {\n"
    "        xDimension  %d\n"
    "        zDimension  %d\n"
    "        xSpacing 0.01\n"
    "        zSpacing 0.01\n"
    "        solid FALSE\n"
    "        creaseAngle 6.28\n"
    "        height [\n", hgt->width, hgt->height
    );

    for (y = 0; y height ; y++) {
        for (x = 0; x width; x++) {
            height = getheight(x,y);
            h *= YOUR_3D_MULT_FACTOR;
            fprintf(fp, "%f", h);
            if (y != hgt->height-1 && x != hgt->width-1) fprintf(fp,",");
            if (x == hgt->width) fprintf(fp,"\n");
        }
    }

        fprintf(fp,
    "        ]\n"
    "    }\n"
    "}\n"

3d studio and other programs will happily import this stuff.

Re: Trimensional: 3D Scanner for iPhone

#26
post #23
post #12

This is a shape from shading approach, which will only work if you're in the dark, with the phone as the only illumination source. If white dots are shown in different places on the screen, and assuming the phone and subject don't move during the process, surface normals can be computed from the resulting images, and once you have the normals then the shape can be approximated. Normals can be found by calculating the…

What are good resources for looking into converting photos into 3d object models? I'm really impressed by Shapeways but would like to take current real-world objects as a base rather than building them in a 3D tool etc. I've seen the laser scanners but they're relatively expensive. Is there anything like a mount that takes two iphones, and software that can take those two photos to create atleast a projection?

Probably the simplest way of obtaining 3D data suitable for turning into an object model would be using a Kinect.

For large objects, like buildings, you would need either expensive laser scanners or something which solves the multi-view stereo problem. There are systems capable of doing this, such as Photosynth, but in general it's quite involved with no easy solutions.

For medium range models, such as automotive applications, you could have a pair of cameras aligned in parallel and connected to a PC/laptop then use a utility like v4l2stereo.

Re: Trimensional: 3D Scanner for iPhone

#27
post #26
post #23

Earlier quoted context omitted.

What are good resources for looking into converting photos into 3d object models? I'm really impressed by Shapeways but would like to take current real-world objects as a base rather than building them in a 3D tool etc. I've seen the laser scanners but they're relatively expensive. Is there anything like a mount that takes two iphones, and software that can take those two photos to create atleast a projection?

Probably the simplest way of obtaining 3D data suitable for turning into an object model would be using a Kinect. For large objects, like buildings, you would need either expensive laser scanners or something which solves the multi-view stereo problem. There are systems capable of doing this, such as Photosynth, but in general it's quite involved with no easy solutions. For medium range models, such as automotive app…

Thanks for the information - amazing what they've gotten accomplished already with the Kinect.

I found this thread to be a pretty good summary of Kinect progress into 3d-scanning.

http://groups.google.com/group/makerbot/browse_thread/thread...

Re: Trimensional: 3D Scanner for iPhone

#28
post #5

Earlier quoted context omitted.

Can the iphone modulate the intensity of its light via software?

It looks like it is just sending a total blank white screen while it takes a picture. Sure you can change the intensity-- use a gray pixel instead of a white one.

Actually, it briefly displays a sequence of four illumination conditions - a white semicircle at the top, right, bottom, and left edges of the screen.

Re: Trimensional: 3D Scanner for iPhone

#29
post #9

The fact that this only works in the dark made me wonder, how much of what the Kinect does could be possible on an iPhone, and what would be needed to get there? 2 Cameras? What else?

If your subject doesn't move, two cameras can be approximated by taking two pictures a set distance apart.[1] Also note that the method used by this app is very short ranged, and uses the LCD's backlight while it's imaging, so there's zero feedback, making any kind of interactive application impossible. 1: There are third party accessories to make this easy and repeatable, built with varying levels of quality. Here's…

Or what about using built-in motion sensors to record the relative camera location and orientation of a series of frames captured with an e.g. iPhone camera? I don't know exactly how the accelerometers and gyros work, or what sort of data they provide (linear distance vs just orientation changes?), but imagine holding down a "scan" button as you simply swing the phone around a subject to capture a series of images. I would think it would be possible to reconstruct 3d surfaces (at least under suitable illumination conditions, I guess) given known camera location/orientation for each frame. Pushbroom stereo, in remote sensing parlance...

Re: Trimensional: 3D Scanner for iPhone

#30
post #25

Very cool and very uncool. Cool: that it works in a decent way, and uses a neat trick. Uncool: You can't export the image into a 3D file, making it 99% less useful that it would be otherwise. Suggestion: export it as VRML, it's trivial format that you can generate starting from your points. Use this format (from my own code, so use it as you wish): fprintf(fp, "#VRML V2.0 utf8\n" "Shape {\n" " appearance Appearance {…

Wow, there's been a VRML sighting! As an old dude, VRML reminds me of the worst of 90s web hype. Trying to leave that aside, I also don't think it has a lot going for it to keep it around as a format.

I prefer the even simpler Wavefront OBJ format as a scratch format. It's about as printf-compatible as it gets and is supported in many more places than VRML.

http://en.wikipedia.org/wiki/Wavefront_.obj_file

Post reply on HN