Your Search Ends here

Saturday, 19 September 2015

How to Convert 2D Images to 3D Using Java 3D?

Instructions:

  1. Open your image in Java 3D.
  2. Select “ConvolveOp” from the “Filter” menu. This is the most useful tool for such conversions, as it can automatically get your image remarkably far along in the conversion.
  3. Click “Create” at the next window to implement the filter. Your image will now look a lot closer to the three-dimensional image you want.
  4. Select “Vector” from the “Insert” menu.
  5. Begin drawing vectors on your image along the perceived Z-axis -- which depends on your image contents -- to add three-dimensional details. If you have a bullet firing toward the viewer, for instance, one perceived Z-axis would be from the gun barrel to the bullet. Vector drawing can be a process of trial-and-error, particularly if you are new at it. Using "CTRL + Z" will undo any mistakes you make. Do not worry if your image looks a little choppy with the vectors added, because the next step will smooth it out.
  6. Run “Extrusion” from the “Tools” menu on the image. This is similar to the ConvolveOp in that it automates a basic 3-D process, but it works off the vectors you have, smoothing out the image and making it look more natural.
  7. See how the image looks. If you want to change it, undo the Extrusion ("CTRL + Z"), change the vectors accordingly and then redo the Extrusion. Keep doing so until you get the 3-D picture you want.
  8. Save the image.


Things You'll Need:
Java 3D API installed
Post a Comment