CameraExport: PhotoSynth to Camera Projection in 3DS Max

1 year, 5 months ago

 

I’ve written a modification to Christoph Hausner’s SynthExport that will export the camera positions of your PhotoSynth, and create projection maps of the original images to retexture your model in high-res. Let me know how you find it!

 

Download the CameraExport app here: http://files.neonascent.net/CameraExport_v1-2.zip

GitHub of the CameraExport app: https://github.com/neonascent/SynthExport-Fork

 

Henri Astre has also added the functionality into the latest version of the PhotoSynth toolkit.

 
 
Previous Updates:
 


Edit 1: I’ve just changed the way the composite materials chain; they now cascade which makes everything a little more straightforward.
  

Edit 2:Version 1.1 now works out 35mm focal length for you, so the process is entirely automatic.

  

Edit 3:Version 1.2 rotates portrait-format images within the 3DS material, so you do not need to rotate the actual image file.

 

I was excited to see Greg Downing’s post regarding camera projection mapping from PhotoSynth, but a little disappointed there was no working system made available. I’ve put something together on the back of Christoph Hausner’s SynthExport, that will recreate camera positions and set up camera projection maps with assigned images in 3DS Max. This makes it a fairly painless process to get high-res textured models.

 

12 Responses to “CameraExport: PhotoSynth to Camera Projection in 3DS Max”

  1. Very promising, Josh!

    I’ll admit, I still need more time to process what you’re presenting here (that and I don’t have a 3DSMAX installation at present), but I am still keenly interested in watching progress in this direction.

    As always, thanks for sharing your knowledge and talent. It is much appreciated.

  2. Laczko says:

    This is a very usefull plugin for 3dsmax. And this is what i’m looking for. I have already tried it, but i have got an error message when i run the script. I have 3dsmax 2009. Does your plugin works with this version?
    The error message:

    –Syntax error: at ),, expencted
    – In line: lens1,0

  3. Laczko says:

    In your video the code is different from my code.
    I have “,” between the lens and numbers. In the video there is “_”.

    lens1,0468 = 37
    lens1,04986 = 37
    lens1,04201 = 37
    lens1,03099 = 37

  4. Josh says:

    @Laczko;
    That’s very odd, and something maybe to do with not using a US/UK characterset? For the moment please replace all the “,” with “_” in the script, and I’ll change the character in the next update. Let me know how that goes.

    Kind Regards,
    Josh

  5. Laczko says:

    Hy Josh!

    Thanks for your help. i have replaced the characters, but i have got another error message:
    – Unable to convert: undefined tp type: Float

  6. Laczko says:

    Ohhh… I havent replaced all. Now its working! Awesome :)

  7. Josh says:

    @Laczko;

    I’ve updated the .zip file to fix your problem, and also set up a better blending type immediately. Give it a try! :)

  8. [...] neonascent exploring architecture, technology, art, and philosophy « CameraExport: PhotoSynth to Camera Projection in 3DS Max [...]

  9. [...] Harle has created CameraExport: a solution for 3DS Max that enable to render the picture of the Synth using camera projection. I [...]

  10. [...] updated the PhotoSynthToolkit, it now integrates the CameraExport 3DS Max script created by Josh Harle. I’ve converted his code from C# to C++ with his [...]

  11. Martin says:

    Hey, looks very promising, have to test that asap. For now, just a quick note that your mesh is initially rotated in your video because you have that option selected in the OBJ import.

  12. Josh says:

    @Martin,

    Thanks for that; I realized today when I read Henri Astre’s instructions for running the script. I’d just assumed it was a slight miscalculation in the transformation matrix for the cameras, but I feel a bit foolish now! :)

Leave a Reply