
There are some terrific models available from repositories, but often they come in some other 3D file format like 3DS, LWO, or DXF. You can still use those models in your VRML worlds if you simply convert them to VRML.
Many VRML modelers import from other file formats. The first thing you should do is fire up the modelers you have on hand, look under "File/Import", and see if they import the format your object is in.
Many 3D modeling and CAD programs already have the capability of exporting VRML 1 and some can even export VRML 2. You may need to select the model you want to export. Choose "File" and "Save As..." or "Export As..." and see if VRML is supported.
Here are other converters, exporters and plugins for popular modeling and CAD programs
Keith Rule's freeware Win95 program Crossroads 3D converts to VRML 1 or 2 from:
and future releases will support 3DMF ASCII and binary, Imagine, Lightwave, and POVRay V3.0.
You can also use Crossroads 3D to convert from VRML 1 to 2, but you should note one feature of this program: it centers objects on the origin. Many times that's exactly what you want. For example, you can convert the famous dolphins (originally 3DS models from the Avalon Repository) one at a time, then combine them into this animated dolphin, turning the second and third dolphin into CoordinateInterpolator keyValues. Sometimes you don't want the object to be centered, for example with CAD drawings of parts that go together into an assembly, and then you may be better off with a regular VRML 1 to 2 converter.
Keith has an older freeware program wcvt2pov which has a few different features, and may be worth getting as well.
Thomas Baier's freeware Win95 program 3DWin and 3DWinOGL converts to VRML 1 from:
and exports a bunch of other formats. Even though it only exports VRML 1, its scaling option makes it invaluable for objects that use some other units than meters, and I'm intrigued by (but haven't used yet) its facilities for triangle smoothing and adjacent face joining. The OGL version lets you see a 4-view of the model before exporting. Thomas also has a shareware program 3Dto3D on the same sit that handles even more formats.
|
File |
Format |
Converter |
|---|---|---|
| 3dmf | QuickTime 3D | Amplified Intelligence's FAQ on converting between 3DMF and VRML |
| 3ds | 3D Studio | Blaxxun's 3DS VRML NURBS exporter -- see their paper on their VRML NURBS extensions |
| aai | ARC/INFO and ESRI Shapefile | MassGIS's DXFAuthor -- converts to DXF |
| bsp | Quake map | Patrick McCormick's bsp2wrl |
| dem | USGS Digital Elevation Map | Richard Horne's 3DEM70 -- also converts other geo formats and lets you excerpt, texture, and color the terrain |
| dwg | AutoCAD Drawing | OpenDWG Alliance's DConvert converts DWG to DXF |
| e3d | Extreme 3D | 3DSite's e3d2vrml |
| fst | Flight Simulator Toolkit | Bryan McNett's fst2pov |
| igrip tgrip part |
Deneb Robotics | Qiming Wang's converters at NIST |
| lwo | LightWave | Arnie Cochelin's tips and tools for creating web
content with Lightwave3D or Inspire3D includes his VRML 2.0 exporter |
| mus | Virtual Home Space Builder | 3DSite's mus2wrl |
| obj | Wavefront | John Moreland's obj2wrl at the San Diego Supercomputer Center |
| off | 3D Object File Format | Jason Mathews's off2vrml.pl |
| pdb | Molecular model | Horst Vollhardt's pdb2vrml |
| pgm pnm |
Portable grayscale map (to ElevationGrid) |
My pbm2wrl Armagon's ppm2wrl (in Qbasic) |
| pnm | Portable 4-color anymap | My pnmtopix -- converts to PixelTexture |
| sat | ACIS model | Gordon Little's sat2vrml |
| stl | Stereolithography file | stlpack at Winsite (shareware) |
| tin | Arc/Info | Erich Schroeder's tin2wrl at the Illinois State Museum's GIS Lab |
| wad | Doom | Ken Russell's doom2vrml (PC | SGI) |
| --- | Many formats | Viewpoint Datalabs' InterChange (commercial product) |
| --- | Many formats | Eric Haines' Standard Procedural Databases at the ACM |
| --- | Many formats | Woolleysoft's Visual Explorer (commercial product, free beta) |
| --- | Many formats | 4D Solutions Accutrans (commercial product) |
| --- | Many formats | Joe Slayton's Wilbur also has blur, raise, dig, noise (freeware) |
| --- | Many formats | Okino's PolyTrans (commercial product) |
Not long ago the best cheap or free modelers you could get were for POVRay, and you had to export or convert to VRML. Illustrating either that VRML has come a long way or that Hopkins people are as crazy as they were when I was there, Paul Thiessen's free vrml2pov converts VRML 97 to POVRay.
If you've installed Cosmo Player for Windows 95, you already have a program vrml1tovrml2 in your
C:\Windows\System folder, or you can get one here (Win95/NT),
(Irix 6.2), (Irix
5.3). If you've downloaded Community Place browser, you also have a VRML 1 to 2 converter in your installation
directory, or you can get one here. The one I prefer
generally varies as each company comes out with a new version.
If you can't find a converter in this list, and you know your way around a programming language that supports data structures, writing your own converter is always a possibility. A couple of hints from experience:
Here's some resources on graphics file formats
normal, normalIndex,
color, and colorIndex fields that are a waste of space and often make your file look
awful.
![]()
Did I leave anything out about converters that you need to know, or did I miss a good converter? Let me know.
-- Bob Crispen