News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

VRML

Started by Dr PR, October 27, 2011, 11:21:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Has anyone used the VRML output (File/Export) from DesignCAD? VRML is a 3D modeling language to permit 3D models to be viewed and rotated in real time in Internet browsers.

I have generated a few VRML files. One was just a simple rectangular solid, and another was a pretty complicated 11 Mbyte model boat.

AccuTrans opens the files and they look almost exactly like the render in DesignCAD! AccuTrans also displays them with phenomenal rotation speed.

I tried the Flux Player plugin for Internet Explorer. It displays the simple solid OK, but crashes when I try to view the boat. It did load the file and produced one image - at an odd angle, and all of the color information was lost. After that it crashed, and I couldn't even get it to start up again.

Does anyone have any positive experiences with a VRML or X3D viewer plugin for any of the popular browsers?

VRML was a 1990s answer to all of the worlds problems, and it appears to have disappeared into obscurity. X3D was supposed to have been a "Super VRML" but appears to have gone the same way as VRML.

Phil
DesignCAD user since 1987

DrollTroll

I haven't used in a browser plugin in many years -- most vrml plugins seem to have died off along with Windows 98 or 2000.
I've had fair results in the free standalone Myriad 3D Viewer:

http://www.myriadviewer.com/myriadreader.htm

but sometimes some surfaces didn't appear in the viewer -- maybe due to tesselation issues, maybe due to normal directions, not sure.
25 years with DesignCAD

Dr PR

DT,

Thanks. I have the Myriad 3D Viewer. Exploding a design is interesting!

Phil
DesignCAD user since 1987

Rob S

I tried once to publish something on the web using VRML, the problem being there was no "default viewer" like there is for so many other web formats like flash or images, so most users will never see what you have.

If there were a way to load your file along with an instruction or link to download a specific viewer plugin for it, that would be then most useful

Maybe there are some web developers amongst us who can tell us how this could be done.
User since forever

Dr PR

Rob,

I have looked around quite a bit for a simple way to include VRML or X3D files, but it appears there isn't one. The newest viewers and plug-ins are about 10 years old. It looks like VRML was stillborn in the late 1990s and the successor X3D died 8-10 years ago.

It seems odd to me that a 3D viewer wasn't built into all browsers. It can't be too difficult since most viewers and plug-ins are freeware.

Phil
DesignCAD user since 1987

MarkX

Quote from: Rob S on October 29, 2011, 08:20:29 AM
I tried once to publish something on the web using VRML, the problem being there was no "default viewer" like there is for so many other web formats like flash or images, so most users will never see what you have.

If there were a way to load your file along with an instruction or link to download a specific viewer plugin for it, that would be then most useful

Maybe there are some web developers amongst us who can tell us how this could be done.

This page is run by the U.S. government, and claims to have been updated just last month though that might have been a technical update:

  http://cic.nist.gov/vrml/vbdetect.html

They have links to plugins and mention WebGL, so they're probably somewhat modern.

They use a bit of javascript code to detect plugins and create the right wrapper.  Take a look at:

  http://cic.nist.gov/vrml/vb_Embed.js

This code wraps the  file appropriately and if no viewer is found provides links to viewers. You are allowed to borrow their code with attribution. There's another js that gets loaded first so you'll need that too. Looks like mainly you would have to change the variables to point to your own files.  No, I didn't try it -- I'm plugin wary ;)

My guess is that Flash has been so successful that there's limited interest in 3D-specific technology.

Mark


Dr PR

Mark,

That NIST page seems to be the best source of information. However, if you look at the plug-ins and browsers they list most were last updated about a decade ago. I found one that was last updated about five years ago, and it had a notice that there would be no further updates. So the web page is up to date, but the things it links to are all fossils.

Phil
DesignCAD user since 1987