Share H3D Files

Using an HTML File

You can use HyperView Player to share information by embedding it in an HTML file. You can use either a relative path or a standard Uniform Resource Locator (URL) to specify the path for the H3D file in the <OBJECT> and <EMBED> statements. There are three different ways to define file transfer protocol: FILE, HTTP and FTP. This section describes how to select a protocol for file transfer using files, anim1.html and anim1.h3d as examples.

Embedded Mode

FILE://
Example: <OBJECT>
<EMBED type="application/x-h3d" width=450 height=400
SRC="File://c:\Altair\demos\hvp\anim1.h3d">
An absolute path is required for File:// and the H3D file must reside in the specified path. When you distribute the files, you may need to modify the HTML file for the path.
HTTP://
Example:
<EMBED type="application/x-h3d" width=450 height=400
SRC="http://www:8080/~John/anim1.h3d>
Others can access your public web area on the Internet. When sharing an H3D file, you can place the anim1.html and anim1.h3d files in your public HTML directory and send the link to others in the company by email. The link can be, for example, http://www:8080/~John/anim1.html. By doing this, you do not need to distribute the H3D file and can guarantee the path is working correctly. If you have HyperView Player installed, and you click the link in the email, the model will be displayed.
FTP://
Example:
<EMBED type="application/x-h3d" width=450 height=400
SRC="FTP://ftp.altair.com/pub/outgoing/HVP/anim1.html>
You can place the anim1.html and anim1.h3d files on your FTP site. If you have HyperView Player installed, and you click ftp://ftp.altair.com/pub/outgoing/HVP/anim1.html, the model will be displayed.
Relative Path
Example:
<EMBED type="application/x-h3d" width=450 height=400
SRC="../anim/.h3d>
Using a relative path allows you to distribute an HTML file easily. You can create a folder with the necessary HTML and h3d files for distribution.

Full page mode

In an HTML file, you can easily hyperlink a string to an H3D file. When you click the hyperlink, the plug-in loads a model in full-page mode.
Using E-mail
You can attach an H3D file to an email. If the recipient is using a PC, he or she can click the attachment and the H3D file will load automatically. You can also save the H3D file and at a later time, double-click the file to invoke the standalone version of HyperView Player.

Trademark Acknowledgments

HyperView Player®, HyperMesh®, MotionView®, and HyperView™ are registered trademarks of Altair Engineering, Inc. All other product trademarks and registered trademarks are the property of their respective owners.