Remote 3D files

Web Browser Viewing Notes
- on Linux

Formats such as 3ds, dxf,
iv, obj, ply, stl, vrml-1, vrml-2, vtk


the 'bunny' ply file,
in the 'paraview' 3D viewer

Home > RefInfo menu > Computer topics menu > Linux Notes/Guides by 'Blaze' menu >
3D tools (viewers & converters) Introduction/Menu page >
3D test/demo files LOCAL-ACCESS notes page >
This 3D test/demo files REMOTE-ACCESS notes page

!PRELIMINARY! UNDER CONSTRUCTION.
More remote-access experimenting is to be done
in trying to find ways to implement web browser 'helper apps'
for ALL these 3D file types, when the 3D files are on a 'remote' web server,
along with this web page on that remote server.
About half work and half fail (2011 Feb).

Also, a few more 3D file types, with test file links, may be added.

< Go to Table of Contents, below. >
(Skip Introduction)


the bunny beside a big cube,
in the 'paraview' 3D viewer

Introduction :

This is a page of notes on 'web experiments' with 3D file types. The intended purpose is to find a way to setup a 3D viewer as a 'helper application', in a web browser, for each of many 3D file types --- when the 3D files, and the web page giving access to those files, is on a *REMOTE* web server --- separate from the computer on which the web browser (and the 3D viewers) is running.

The scenario is 'link' statements on this web page --- for each of about 15 different 3D file types. On this page, there will be 'links' to several representative 3D files for each 3D format type --- a total of about 50 links.

The experiments, for a given 3D file type, may include

  • trying various file suffixes on the filenames, of the files stored on a remote web server

  • trying various 'type=' parameters in link statements, on this web page, when the web page is on the remote web server

  • editing an underlying 'mime-types' file of the web browser, a file that resides on the local machine that is running the web browser.

The intent of these experiments is to get the web browser (in concert with the web server) to pass the 3D file to an appropriate viewer, running on the local machine.

The file types to be considered on this web page are 3D file formats such as :

A parent page of this page (3D test files for Linux viewers and converters) showed that you CAN successfully set up 3D viewers in a web browser, for about 15 different 3D file types, IF you are satisfied to setup the web page and 3D files in a local 'kiosk' mode --- that is, if the 3D files, the web page providing access to them, and the web browser (and the 3D file viewers) are ALL installed on the same computer.

That web page was used to confirm that the following 3D file viewers --- which are easily installed on Linux (at least, on Ubuntu Linux) --- are capable of serving as 'helper applications', in a web browser, for about 15 different 3D file types. These viewers were easily installed thanks to the Ubuntu Software Center, apt-get, and Gdebi.

  • glc_player which reads-and-shows '.3ds', '.obj', '.stl' files

  • ivview which reads-and-shows '.iv' and VRML1 files

  • paraview which reads-and-shows '.ply' and '.vt*' files

  • whitedune which reads-and-shows (and edits) VRML2 files

  • varicad-view which reads-and-shows '.dwg' (2D), '.dxf' (2D only?), '.igs' (maybe), '.stp' (3D) files

  • geomview will read-and-show the OFF file format.

  • g3Dviewer which is said to read-and-show the many 3D file formats supported by the LibG3D library, which includes '.3ds', '.lwo', '.obj', '.dxf', '.md2', '.md3', '.wrl', '.vrml', '.dae' (COLLADA), '.ase' (ASCII Scene Exporter), '.ac' (AC3D) --- but I have not tried 'g3dviewer' on all of these formats yet. The viewer capabilities seem to be rather minimal compared to 'glc_player' or 'paraview'.

  • The mm3d modeller loads quickly and is said to read-and-show '.obj' and '.dxf' (3D) files as well as about 7 others including '.md2', '.md3', and '.lwo'.

  • The Blender modeller will read '.blend' files and several other 3D file types.

  • The wings3D modeller will read-and-show '.obj' and '.3ds' files and several other 3D file types.

  • The K3D modeller is said to read '.obj' and '.off' files.

The 3D test files for Linux viewers and converters web page showed, with screenshots, the process of setting up a viewer program as a 'helper application' in a Mozilla web browser (Seamonkey2), for a given 3D file type.

That page also pointed out that the process works fine if you keep the 3D files, the web page accessing them, and the web browser TOGETHER on the same computer.

But when you move the web page and the 3D files to a remote web server --- a computer different from the one running the web browser program and the 'helper applications' --- then one starts to have problems viewing some of the file types.

The 3D test files for Linux viewers and converters web page pointed out that about 4 different things can happen --- and 2 of them are not good. Namely ...


The SAD STATE of the web-server-AND-web-browser brain-damaged 'dance' :
(Who's leading who[m]?)

    Basically, there are four different types of responses when you click on a 3D file link (after you have set up the helper applications for each 'locally' stored 3D file type, as described in the 3D test files for Linux viewers and converters web page) :

    1. the 3D file is shown in the helper application

      (This is what we want.)

    2. the 3D file is shown as alphanumeric characters and other characters, in a new (cleared) web browser window

      (If the file is 'ascii', the text is readable. If the file is 'binary', the characters look like a bunch of gobbledy-gook. If we wanted to look at the characters/bytes in the file, we could have downloaded the file and looked at it with a text editor like 'gedit' or a binary editor like 'bless'.

      We want the file to be passed to the helper app we set up. The natural response of the user is 'What the fah? How do I get the file to show up in my helper app?'

      The web browser developers blame the web server administrators. This is a bunch of BS. Getting a web server admin to change a 'mime-type' definition in some web server config file is not a proper solution. The admins have more important things to do than maintain a config file of more than a thousand file types --- and more file-types being added every week, often with a suffix already used for another file type.

      The web browser (and the web server) should be paying attention to the 'type=' statement in the web page developer's web page link --- BEFORE deciding on the file type according to some web server config file that cannot know the file type better than the web page developer.

      And the web server should be passing the file to the web browser as a data stream that preserves all the data in the file --- without deciding to change the data according to the type the web server THINKS the file is. For example, a web developer should not have to try to fool the web server into sending a file as binary data to work around the fact that the web server thinks that the file contains ascii-only data. I have encountered this situation, in a couple of different file-type cases.

      If this IS a problem that requires protocol changes by BOTH the web browser developers (e.g. Mozilla) and the web server developers (e.g. Apache), then someone needs to clarify or change the protocol specifications that they are following in their development processes.

      Another way of looking at it: The current system was designed to support web developers who are developing pages to be 'pushed down' from the web server --- especially 'active' pages that use CGI and PHP scripts that have control on what happens on the server side. The specifications writers have not done a good job of thinking about the web developers who upload their web pages and other files to the web server --- web page developers whose pages work almost totally from the client side.)

    3. the web browser pops open a 'Save file' dialog window

      (We could have done that by rightclicking on the link and choosing 'Save Link Target As ...' from the popup window. So that's no help at all.

      Again, the user response is 'How the f**k do I get the file passed to my helper app?' I don't have an answer for you, yet --- other than download the file on your local file storage and use the appropriate viewer. I.e. fagedabout putting the web browser or the web server in the mix. It's just too frustrating. And it should not be that way.)

    4. the web browser pops open an 'Open-with-OR-Save-file' dialog window

      (That's a heck of a lot better than response 2 or 3. In fact, it's as good or better than response 1. In fact, I would be glad if the web browser that I use, Mozilla Seamonkey, would always respond this way, when I click on ANY media file links other than '.html', '.htm', '.php' ... and several other file types in 'anchor' statement href's that the browser should render automatically, ordinarily, in its own window.)

    It turns out that if you would download this web page, AND its 3D files, onto your local computer, you could see all these 3D files with no problem (in most GUI web browsers), simply by clicking on the links --- if you set up the helper applications as I described on the 3D test files for Linux viewers and converters web page.

    That is, you would get response 1 or 4 above.

    BUT, it turns out that if you try to view some of these 3D files via this web page, as the 3D files and this web page are now (i.e as you access the 3D files remotely, on this remote web server), many of these files will not be passed into your helper apps.

    That is, you would get response 2 or 3 above.

    This web page is intended to collect notes on trying to work around getting responses 2 or 3 --- as I try various experiments with different HTML link statements --- file suffixes and 'type=' statements --- experiments done with the Seamonkey2 or Firefox (or other) web browsers.

    Perhaps I can find a 'work-around' so that most (or all) of the 3D file types can be displayed in helper apps of the user's choosing --- from almost any web server --- or, at least, from this web server.

    'Kiosk' mode :

    Be consoled that you CAN get the helper apps working OK --- IF you resign yourself to working in a 'kiosk' mode. That is, let us say that you want to 'publish' your 3D files on a machine that you install at a store or a conference exhibition hall or wherever. Then you can install your 3D files --- and the web page(s) and web browser and 3D viewers for viewing those files --- on a stand-alone machine.

    In other words, we take the remote web server out of the picture. The 3D test files for Linux viewers and converters web page describes how to set up that 'kiosk'.


Experiments in setting up 'Helper Applications' for these 3D files :

I installed applications on Ubuntu Linux (9.10) that work as viewers for most of the 3D file types listed above.

When I first made links to the 3D files on this web page, I did not put a 'type=' specifier in the HTML 'anchor' statements. They looked like

 <a href="... file-path-and-name-here ..."> ... filename-here ...</a>

When I clicked on '.obj' and '.ply' file links, their text contents were simply shown in the web browser window --- instead of offering me a chance to setup a 'helper app' for these file types --- such as 'glc_player' for '.obj' files and 'paraview' for '.ply' files.

To try to deal with this 'text-display' problem, I added 'MIME' qualifiers like

 type="application/wobj"
and
 type="application/ply"

to the 'anchor-href' statements for the '.obj' and '.ply' files.

Example:

<a href="./obj/archer.obj" type="application/wobj">archer.obj</a>

(See the section below for info on 'mime-types'.)

Then, when I clicked on the file link to a locally stored '.obj' file, instead of getting text-display, I got the Seamonkey 'Open-with-OR-Save-as' prompting popup window.

I chose 'Open-with', and I was able to set 'glc_player' as the viewer (helper) for ALL the '.obj' files --- referred to in the HTML 'anchor' link statements on the web page.

I just needed to click a check-box on the 'Open-with' prompting window. The checkbox was labelled 'Do this automatically for files like this from now on'.

You need to get to that 'Open-with' prompting popup window in order to define helper applications for files referenced in web pages. At least, that's how it is done in the Mozilla Seamonkey2 web browser. In other words, you need to avoid responses 2 and 3 above.

It is my intent to use this web page to perform experiments with remotely stored 3D files --- and with this web page remotely stored with those files. THE GOAL is to get the 'Open-with' prompting popup window, so that we can define a 3D viewer --- that will run on the local machine, with the web browser --- for each 3D file type, for which we have several (remote) sample files referenced in HTML 'link' statments on this page.


An aside on 3D MIME types :

    See the list, below, of some 'mime types' that are said to be useful for some 3D file types --- according to sites like htmlquick.com/reference/mime-types.html.

    MIME = Multipurpose Internet Mail Extensions --- a messaging standard that allows Internet users to exchange e-mail messages enhanced with graphics, video, and voice as attachments to the body of the text.

    Paraphrasing some text at htmlquick.com :
    "MIME is a standard that classifies resources and provides information to programs about how to handle them. It is recommended to provide MIME type information everywhere possible --- for example, with the 'type=' attribute in HTML link tags --- in HTML documents. This may help with browser compatibility and facilitate the correct functionality of the document."

    (A natural question is 'What does mail have to do with web pages?' Apparently, when HTML came along, the MIME standard was applied to web pages. Note: I use the word 'standard' loosely here. It's not so much a standard as a cobbled-up mess, when you get away from some commonly used media types.)

    Published mime indicators for 3D files :

    • .3ds  - ?
    • .blend - ?
    • .dwf  - drawing/x-dwf  -OR-  model/vnd.dwf
    • .dwg  - application/acad  -OR-  image/x-dwg  -OR-  image/vnd.dwg
    • .dxf  - application/dxf  -OR-  image/x-dwg  -OR-  image/vnd.dwg
    • .igs  - application/iges  -OR-  model/iges
    • .iv   - application/x-inventor
    • .md2  - ?
    • .md3  - ?
    • .off  - ?
    • .obj  - ?
    • .ply  - ?
    • .pov  - model/x-pov
    • .stl  - application/sla
    • .stp  - application/step
    • .vrml - application/x-vrml  -OR-  model/vrml  -OR-  x-world/x-vrml
    • .vtk  - ?
    • .wrl  - application/x-world  -OR-  model/vrml  -OR-  x-world/x-vrml
    • .wrz  - x-world/x-vrml OR model/vrml

    You could do a search for other pages listing 3D mime types via a Google search on keywords such as mime type dwg dxf igs iv stl stp wrl.

    Note that even though there do not seem to be sanctioned mime-type indicators for '.obj' and '.ply' files, my attempt at using 'application/wobj' and 'application/ply' proved to be successful (at least when the files were stored locally; NOT when on a remote web server, as I found out later).

    At least one 3D file type was viewable both in local mode and the remote mode. So we have a mixed bag here --- some 3D files are viewable remotely using the same set of parameters that worked in local mode. But some 3D files are NOT viewable remotely using a set of parameters that worked in local mode.

      It MAY be the case that when a web server 'has doubts' about the mime-type of a file that it is being requested to deliver, the web server assigns it a mime-type of 'application/octet-stream' --- or perhaps, in some cases, 'text/plain' or 'application/plain'.

      If that is the case, I hope to find a way to get to the 'Open-with' prompt of my web browser, and establish a 3D viewer for the file, if the the 'ghosts in the machine' can be forced (or tricked) into downloading the file in a way that makes it available to the 3D viewer.

    With respect to VRML file formats (and the suffixes '.wrl', '.vrml', '.vrm'), there seems to be a lot of confusion (and resulting complications) within the systems in web browsers that set 'helper applications' for the VRML1 and VRML2 file types.

    As a consequence, in this web page,

    • for VRML1 files, I will start by using the suffix '.vr1' in their filenames and, in the HTML 'anchor' statement for these files, I will start by using type="application/vr1".

    • for VRML2 files, I will start by using the suffix '.vr2' in their filenames and, in the HTML 'anchor' statement for these files, I will start by using type="application/vr2".

    There is a little more detail on the sad VRML situation, in the 'further aside' section below.


      A further aside on the sad state of helper application management in web browsers :

      The web browser developers do not seem to want to give the users better control (and better flexibility) over setting the 'helper applications' for various file suffixes.

      They could solve most of the problems we encounter with setting helper apps, if they would devise a system for 'opening' files like the system used in GUI file managers, like Gnome-Nautilus.

      In Gnome Nautilus, if you double-click on a file, it is 'opened' in a default application. BUT, IF YOU WANT TO OPEN THE FILE IN ANOTHER APPLICATION, you can right-click on the file and there is an 'Open-with' option.

      Here is a screenshot of a Nautilus 'right-click Open-with' popup window.

      Note that Firefox is the default open-with application for the '.fonts.conf' file on which I right-clicked. That is a heavy-handed default app, but note that I can use a different app by using the 'Open with' option.

      Similarly, web browsers should allow for a 'right-click Open-with' option, for web page links. Then we users could specify one (or more) apps per file suffix --- and per file type in the 'type=' statment of the web page, if the 'type=' parameter is there.

        In fact, we should even be able to right-click on a link to a '.html' or '.htm' or '.php' file and choose to open it in a web browser other than the one we are currently using. This is the kind of freedom we should have, and there is no technical reason why that cannot be done.

      For example, the user should be able to specify a default open-with app for file suffix '.obj' --- and for file suffix '.obj' and type='application/wobj' or type='model/obj' or whatever one might encounter as a 'type=' parameter in a web page (or from a web server) on any given day.

        In fact, the use of the slash ( / ) in the 'type=' statement is rather lame. I should be able to use almost any string, of reasonable length, such as 'Wavefront-obj'.

      Even if a default app has been defined for a file type, the web browser should allow the user to select which of several apps to use when the user right-clicks on a media file 'anchor-href' link. That is, the web browser should always offer an 'Open-with' dialog as an option.

      In fact, here is a screenshot showing that 21 apps (and more) are being offered by Nautilus, to open the '.fonts.conf' file. That's a bit of overkill --- but it's certainly better than not being able to view the file in an appropriate viewer at all.

      Of course, in addition to the very flexible Open-with dialog, the web browser developers should allow the users an option to reset the default 'open-with' app.

      Basically, we Seamonkey2 users need an 'Open-with' option added to the following 'right-click-on-a-link' popup menu.

      We can specify where to 'Save' the file, with 'Save Link Target As ...', but we have no option to specify how to 'Open' the file. The Open options that are there now are lame. They open the file in the 'New Window' or 'New Tab' according to the currently screwed-up 'dance' between web server and web browser. Those Open options do not allow the user to override a stupid 'Open-with' choice made by the brain-damaged 'partnership' of the web-server and the web-browser.

      One other case of web-browser inflexibility: Once you have defined a new suffix and helper app, you cannot delete that suffix and helper definition from the 'Helper Applications' window. (Not in Seamonkey2 anyway. And probably not in Firefox.) You presumably would have to resort to editing the underlying 'mimeTypes.rdf' file.

      The developers (and testers) seem to have sadly neglected the 'Helper Application' area of web browsers --- except to hard-code in the helpers they want to provide.

      If you want to get an idea of the confusing state of things in the 'helper application' area, and if you use the Firefox or Seamonkey web browsers, look at the file named 'mimeTypes.rdf', in the directory $HOME/.mozilla/firefox/random8chars.default or $HOME/.mozilla/seamonkey/random8chars.default .

      For example, they put 'vrm' suffixes in the file, in addition to 'wrl' and 'vrml', whether we want them or not --- and essentially made them all equivalent, with respect to which viewer to use for those file suffixes.

         <RDF:Description RDF:about="urn:mimetype:x-world/x-vrml" 
                          NC:description="" 
                          NC:value="x-world/x-vrml" 
                          NC:editable="true"> 
           <NC:fileExtensions>wrl</NC:fileExtensions> 
           <NC:fileExtensions>vrm</NC:fileExtensions> 
           <NC:fileExtensions>vrml</NC:fileExtensions> 
           <NC:handlerProp RDF:resource="urn:mimetype:handler:x-world/x-vrml"/> 
         </RDF:Description>
      ...
      ...
         <RDF:Description RDF:about="urn:mimetype:model/vrml" 
                          NC:description="" 
                          NC:value="model/vrml" 
                          NC:editable="true"> 
           <NC:fileExtensions>wrl</NC:fileExtensions> 
           <NC:fileExtensions>vrml</NC:fileExtensions> 
           <NC:fileExtensions>vrm</NC:fileExtensions> 
           <NC:handlerProp RDF:resource="urn:mimetype:handler:model/vrml"/> 
         </RDF:Description> 
      

      In a more perfect world, we wouldn't have any of those three suffixes in our mime types file(s). We would be providing those suffixes if we were going to use them --- and we would be using suffixes that clearly indicate whether the file is a VRML1 or a VRML2 file --- such as '.vr1' or '.vr2'.

      See a couple of rants on VRML1, VRML2, and X3D in my VRML1 and VRML2 (and X3D) Notes page.


Quick guide to using the 3D viewers :

Each of the 3D viewers has a different way of doing the 3 basic viewing operations --- rotate, pan, and zoom --- and different ways (if any) of quickly restoring the model to the center of the viewport, filling the viewport.

Someday, I may put a link to a page of those view methods, for each 3D viewer, here.

But the main goal of this page is to simply be able to start up a viewer on a sample 3D file, for each of the 15 or so 3D file types below.

We only want to be able to move the model (or move around the model) to make sure we are not just imagining that we have finally found a successful way to view the REMOTE file, for a given 3D file type.


And now, on to the test/demo files :

I made this page so that I could access these files (and these notes) on any of my computers --- whether at home or away. But others may find these files (and notes) useful.

You can use the Table of Contents, below, to jump to a particular group of 3D files --- about two to four sample files of each file type. (If there are both binary and ascii files of a given type available, I include at least one of each.)

Or, to see the links, simply scroll down this page. You can click on them to see what happens with your web browser, and this web server --- and compare to my results, reported below.


Most of my testing will be done with the Mozilla Seamonkey2 web browser, running on Ubuntu Linux --- 9.04 or above --- mostly on 9.10.

I will be recording the results of my tests below --- in the Table of Contents section. I will provide more details --- on 'workaround' attempts --- in each of the 3D-file-type sections.

Table of Contents :

(These links take you to groups of 3D file links, further down this page.)

< Go to Top of Page, above. >

  • '.3ds' sample files (3D Studio)
    ( REMOTE ACCESS WORKS! Clicking on a '.3ds' link, as defined below,
    starts 'glc_player', which shows the '.3ds' file.
    The [binary] '.3ds' file was downloaded to /tmp. )

  • '.blend' sample files (Blender)
    ( REMOTE WORKS! Clicking on a '.blend' link, as defined below,
    starts the 'Open-with/Save-file' dialog with 'blender' as the
    default 'Open-with' option. Clicking on 'Open-with' starts 'blender', which shows the '.blend' file. The [binary] '.blend' file was downloaded to /tmp. )

  • '.csv' (for 'paraview') sample files (comma separated values)
    ( May be tested later. This is not a well-standardized 3D file type. )

  • '.dwg' sample files (Autodesk)
    ( REMOTE WORKS! Clicking on a '.dwg' link, as defined below,
    starts 'varicad-view', which shows the '.dwg' file.
    The [binary] '.dwg' file was downloaded to /tmp. )

  • '.dxf' sample files (Autodesk)
    ( REMOTE WORKS! Clicking on a '.dxf' link, as defined below,
    starts 'varicad-view', which shows the '.dxf' file.
    The [ASCII] '.dxf' file was downloaded to /tmp. )

  • '.igs' sample files (IGES, 2D CAD)
    ( WORKS?? May be tested later --- if I can find a reader for these test IGES files.
    If the [ASCII] IGES files are at fault, I plan to fix them or replace them.
    'varicad-view' starts successfully but fails to show these IGES files. )

  • '.iv' sample files (SGI Inventor)
    ( ASCII FAILED. Clicked on an ASCII '.iv' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    The ASCII '.iv' file was NOT downloaded to /tmp.
    'ivview' was the viewer that I successfully defined in 'local' mode.

    BINARY WORKED. Clicked a Binary '.iv' file and the 'Open-with/Save-file' dialog
    popped up --- but without 'ivview' as the default viewer. I used the 'Browse...' button
    to select '/usr/bin/ivview' as the viewer and the binary '.iv' file was shown.
    The Binary '.iv' file WAS downloaded to /tmp. )

  • '.md2' sample files (MD2 Quake)
    ( WORKED. Clicked a [BINARY] '.md2' file and the 'Open-with/Save-file' dialog
    popped up --- but without 'mm3d' as the default viewer, which I had defined in the
    local development mode. I used the 'Browse...' button to select
    '/usr/bin/mm3d' as the viewer and the binary '.md2' file was shown.

    BUT, even though I had checked 'Do this automatically for files like this from now on',
    I always get the 'Open-with' dialog when I click on another, or the same, '.md2' file.
    In spite of 'mm3d' not showing as the default Open option (the 'Browse...' prompt showed
    instead), when I clicked Open, the clicked-on '.md2' file was shown with 'mm3d'.
    That is, I did not have to use the 'Browse...' button to specify 'mm3d' as the viewer.

    The [binary] '.md2' files were downloaded to /tmp. If I open the same file twice,
    it is downloaded a second time and the suffix '-1' is added to the midname of the file. )

  • '.obj' sample files (Wavefront OBJ format)
    ( FAILED. Clicked on an [ASCII] '.obj' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.obj' files were downloaded to /tmp.
    'glc_player' was the viewer that I successfully defined in 'local' mode. )

  • '.off' sample files (Object File Format)
    ( FAILED. Clicked on an [ASCII] '.off' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.off' files were downloaded to /tmp.
    'geomview' was the viewer that I successfully defined in 'local' mode. )

  • '.ply' sample files
    ( FAILED. Clicked on an [ASCII] '.ply' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.ply' files were downloaded to /tmp.
    'paraview_wrapper.sh' was the viewer that I successfully defined in 'local' mode. )

  • '.pov' sample files
    ( FAILED. Clicked on an [ASCII] '.pov' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.pov' files were downloaded to /tmp.
    'povray_wrapper.sh' was the viewer that I successfully defined in 'local' mode. )

  • '.stl' sample files (STereoLithography)
    ( ASCII WORKED. Clicked on an ASCII '.stl' file and it was shown with 'glc_player'.
    I did not get the 'Open-with' dialog, so I did not have to 're-define' the viewer.
    The ASCII '.stl' files were downloaded to /tmp.

    BINARY WORKED. Clicked a Binary '.stl' file and it was shown with 'glc_player'.
    I did not get the 'Open-with' dialog, so I did not have to 're-define' the viewer.
    The Binary '.iv' files were downloaded to /tmp. )

  • '.stp' sample files (STEP)
    ( FAILED. Clicked on an [ASCII] '.stp' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.stp' files were downloaded to /tmp.
    'varicad-view' was the viewer that I defined in 'local' mode. )

  • '.vtk' sample files (Kitware's Virtual Tool Kit)
    ( FAILED. Clicked on an [ASCII] '.vtk' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.vtk' files were downloaded to /tmp.
    'paraview_wrapper.sh' was the viewer that I successfully defined in 'local' mode. )

  • '.vr1' sample files (VRML1 - a subset of the SGI Inventor 2 format)
    ( FAILED. Clicked on an [ASCII] '.vr1' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.vr1' files were downloaded to /tmp.
    'ivview' was the viewer that I successfully defined in 'local' mode. )

  • '.vr2' sample files (VRML2, a.k.a. VRML97)
    ( FAILED. Clicked on an [ASCII] '.vr2' file and it was shown as text in
    the browser window. Need to try to get the 'Open-with' dialog.
    None of the [ASCII] '.vr2' files were downloaded to /tmp.
    'whitedune' was the viewer that I successfully defined in 'local' mode. )

  • '.x3d' sample files (essentially VRML2 wrapped in XML)
    ( Need a decent viewer of '.x3d' files --- for Linux. )

End of Table of Contents. Links to 3D files are below.


the bunny under a cow,
in the 'paraview' 3D viewer

Start of the Links to 3D files :

GROUP - 3ds : (3D Studio files)

< Return to Table of Contents, above. >

These '.3ds' files are showable (when 'local') with 'glc_player'.

In the following 'anchor' link statments for sample '.3ds' files, I started with application/3ds for the 'type=' parameter value.

After setting up the 'helper application' for these (local) '.3ds' files, using the 'Open-with' dialog of the Seamonkey2 web browser, I had the following 3ds-related statments in my 'mimeTypes.rdf' file :

  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/3ds"
                   NC:path="/usr/bin/glc_player"
                   NC:prettyName="glc_player" />
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/3ds" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/3ds"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:application/3ds" 
                    NC:value="application/3ds" 
                    NC:editable="true" 
                    NC:fileExtensions="3ds" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/3ds"/> 
   </RDF:Description> 

When I click on one of these '.3ds' file links, in local 'kiosk' mode, the 'glc_player' program starts up and shows the '.3ds' file.

At the top right of the 'glc_player' viewing window are three icons for pan, rotate, and zoom. Click on any one of these icons and then click in the viewing window and drag the mouse around, to perform the chosen function.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


geom_box.3ds
(0.6 KB)

geom_sphere.3ds
(4.3 KB)

geom_cone.3ds
(5.4 KB)

teapot.3ds
(28 KB)


    NOTE: The following fish and flower '.3ds' files (and their accompanying '.bmp' texture files), were found at toucan.co.jp. Many more such files can be found there.

    I found that running 'glc_player' in my web browser (Seamonkey) caused the texture files to be ignored (not found?) --- when I access the '.3ds' files remotely. Instead of a colored image, like the glc_player screenshot at the top of this page, I ended up with silver (or light gray) fish and flowers. This is no doubt happening because only the '.3ds' file is copied locally (in /tmp) for viewing --- but not the associated '.bmp' file.

    When I start my Seamonkey web browser on the locally stored web page and click on the link to '.3ds' files (stored locally, with the '.bmp' files in the same directory), the 'glc_player' helper application DOES show the texture-mapped model.

    Also, when I run 'glc_player' on these files without the web browser (for example, by using Nautilus to navigate to the directory containing the files, and right-clicking on the '.3ds' file to open the file with 'glc_player'), the '.bmp' texture file IS 'mapped' onto the 3D model. The only requirement is that the '.bmp' file has to be in the same directory with the [binary] '.3ds' file.

    If your web browser downloads the '.3ds' file to the '/tmp' directory before starting up the helper app to view the file, you could probably see the texture mapping if you would download the associated '.bmp' file into your '/tmp' directory.


fish_Kumanomi0.3ds
(151 KB)

KumanoT.bmp (colored BMP file that goes with the fish file above)
(384 KB)


fish_Rantyu0.3ds
(152 KB)

RantyuT.bmp (colored BMP file that goes with the fish file above)
(192 KB)


flower_YukiTubaki0.3ds
(312 KB)

YukiTuT.bmp (colored BMP file that goes with the flower file above)
(192 KB)


GROUP - blend :

< Return to Table of Contents, above. >

The following '.blend' files are showable (when 'local') with 'blender'.

In the following 'anchor' link statments for sample '.blend' files, I did not use a 'type=' parameter value.

The following blender-related statments are in my 'mimeTypes.rdf' file :

  <RDF:Description RDF:about="urn:mimetype:application/x-blender"
                   NC:value="application/x-blender"
                   NC:editable="true"
                   NC:description="Blender scene">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-blender"/>
  </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/x-blender" 
                    NC:alwaysAsk="false" 
                    NC:useSystemDefault="true">
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-blender"/>
   </RDF:Description>

In spite of no 'type=' qualifier in the '.blend' anchor-link statements of this web page and no 'NC:path=' statement for 'application/x-blender' in the 'mimeTypes.rdf' file, when I click on these '.blend' links, in local 'kiosk' mode, the Blender program is started and the model is displayed.

What the .... ? Is Seamonkey2 using the default 'player' for '.blend' files as defined in the Nautilus file manager on my development computer? I will have to try more experiments, perhaps on some of my other computers, to experiment with this web page and these '.blend' files.

At least the files are being 'played'. So this situation is not a problem. It's a mystery.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


armature_elbow_cap.blend
(112 KB)

Combatknife2uv19.blend
(113 KB)


GROUP - csv : (comma separated values)

< Return to Table of Contents, above. >

CSV [ Comma Separated Values ] files are showable by 'paraview --data=', if the file contents are formatted properly --- like the example below.

In the following 'anchor' link statments for sample '.csv' files, I did not use a 'type=' parameter value.

When I click on a '.csv' link, in local 'kiosk' mode, I get the Seamonkey2 'Open-with' dialog.

I will try setting up 'paraview --data=' as the viewer and see what gets put in the 'mimeTypes.rdf' file.

There are no csv-related statments in my 'mimeTypes.rdf' file. This is not really surprising, since I did not set up a viewer for '.csv' files using the Seamonkey2 'Open-with' dialog.

Check back later --- or perform your own experiments.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


xyz_3lines.csv


GROUP - dwg :

< Return to Table of Contents, above. >

These '.dwg' files (2D) are showable (when 'local') with 'varicad-view'.

In the following 'anchor' link statments for sample '.dwg' files, I started by using application/acad for the 'type=' parameter value.

After setting the 'helper application' for these (local) '.dwg' files to be 'varicad-view', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following dwg-related and acad-related statements in my 'mimeTypes.rdf' file :

  <RDF:Description RDF:about="urn:mimetype:application/acad"
                   NC:fileExtensions="dwg"
                   NC:description=""
                   NC:value="application/acad"
                   NC:editable="true">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/acad"/>
  </RDF:Description>
...
...
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/acad"
                   NC:path="/usr/bin/varicad-view"
                   NC:prettyName="varicad-view" />
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/acad" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/acad"/> 
   </RDF:Description> 

When I click on one of these '.dwg' file links, in local 'kiosk' mode, the 'varicad-view' program starts up and shows the '.dwg' file.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


harley_logo.dwg
(29 KB)

pr-4000d.dwg
(104 KB)


GROUP - dxf :

< Return to Table of Contents, above. >

These '.dxf' files (2D) are showable (when 'local') with 'varicad-view'.

In the following 'anchor' link statments for sample '.dxf' files, I started by using application/dxf for the 'type=' parameter value.

After setting the 'helper application' for these (local) '.dxf' files to be 'varicad-view', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following dxf-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:application/dxf" 
                    NC:value="application/dxf" 
                    NC:editable="true" 
                    NC:fileExtensions="dxf" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/dxf"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/dxf" 
                    NC:prettyName="varicad-view" 
                    NC:path="/usr/bin/varicad-view" /> 
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/dxf" 
                    NC:alwaysAsk="false"> 
     <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/varicad-view"/> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/dxf"/> 
   </RDF:Description>

When I click on one of these '.dxf' file links, in local 'kiosk' mode, the 'varicad-view' program starts up and shows the '.dxf' file.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


teeth_021_2Dsketch.dxf
(44 KB)

Lshape-1_2Ddemo.dxf
(162 KB)


GROUP - igs :

< Return to Table of Contents, above. >

IGES files are said to be showable by 'varicad-view', but I was not able to show the following IGES files with version 3.03 of 'varicad-view' that I installed on Ubuntu 9.10 using a '.deb' file from 'ftp.varicad.com' --- even if I tried using 'varicad-view' without going through this web page.

I get a 'Translation from IGES failed' popup window from 'varicad-view', when trying to read any of these '.igs' files.

The files look like typical IGES files when I look at them in a text file viewer.

In any case, I set up 'varicad-view' as the Seamonkey2 viewer for '.igs' files, as follows.

In the following 'anchor' link statments for sample '.igs' files, I have used application/iges for the 'type=' parameter value.

After setting the 'helper application' for these '.igs' files to be 'varicad-view', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following igs-related and iges-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:handler:application/iges" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/iges"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:application/iges" 
                    NC:value="application/iges" 
                    NC:editable="true" 
                    NC:fileExtensions="igs" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/iges"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/iges" 
                    NC:path="/usr/bin/varicad-view" 
                    NC:prettyName="varicad-view" /> 

If I find a viewer that works on these IGES files, I will try re-setting the Seamonkey2 viewer for these files. Clicking on these '.igs' file links, I DO startup the 'varicad-view' program, but it shows the 'Translation from IGES failed' popup message window, on each file.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


adjust_part1_mir_050106.igs
(40 KB)

harley_logo.igs
(123 KB)


GROUP - iv :

< Return to Table of Contents, above. >

The following '.iv' files are showable (when 'local') with 'ivview'.

In the following 'anchor' link statments for sample '.iv' files, I have started this page by using application/iv for the 'type=' parameter value.

After setting the 'helper application' for these (local) '.iv' files to be 'ivview', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following iv/ivview/inventor-related statements in my 'mimeTypes.rdf' file :

  <RDF:Description RDF:about="urn:handler:local:/usr/bin/ivview"
                   NC:prettyName="ivview"
                   NC:path="/usr/bin/ivview" />
...
...
   <RDF:Description RDF:about="urn:mimetype:application/x-inventor" 
                    NC:fileExtensions="iv" 
                    NC:description="" 
                    NC:value="application/x-inventor" 
                    NC:editable="true"> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-inventor"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-inventor" 
                    NC:path="/usr/bin/ivview" 
                    NC:prettyName="ivview" />
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/x-inventor" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-inventor"/> 
     <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/ivview"/> 
   </RDF:Description>

When I click on one of these '.iv' file links, in local 'kiosk' mode, the 'ivview' program starts up and shows the '.iv' file.

    For some reason unbeknownst to me, even though the type 'application/iv' does not appear in the 'mimeTypes.rdf' file, the following '.iv' files are shown successfully with 'ivview'.

    The file extension 'iv' IS registered --- but under 'application/x-inventor'.

    I may try this setup on a different computer someday, to make sure of the steps that I went through to use type 'application/iv' to setup 'ivview' as the viewer of the '.iv' files. I will check the contents of the 'mimeTypes.rdf' file on that computer.

    Since the '.iv' files are shown successfully, this is not really a problem. But it IS a mystery, to me. The 'helper application' logic in web browsers should be documented. It might force the developers to take more care in the implementation of the 'helper application' logic.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


diamond.iv
(1.7 KB)

dodec.iv
(3.7 KB)

chair_binary.iv
(131 KB)


GROUP - md2 :

< Return to Table of Contents, above. >

The following '.md2' Quake game files can be shown (when 'local') with 'mm3d'.

In the following 'anchor' link statments for sample '.md2' files, I started this page using application/md2 for the 'type=' parameter value.

After setting the 'helper application' for these (local) '.md2' files to be 'mm3d', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following md2-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:handler:application/md2" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/md2"/> 
   </RDF:Description> 
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/md2" 
                    NC:path="/usr/bin/mm3d" 
                    NC:prettyName="mm3d" />
...
...
   <RDF:Description RDF:about="urn:mimetype:application/md2" 
                    NC:value="application/md2" 
                    NC:editable="true" 
                    NC:fileExtensions="md2" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/md2"/> 
   </RDF:Description>

When I click on one of these '.md2' file links, in local 'kiosk' mode, the 'mm3d' program starts up and shows the '.md2' file.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


MedicFemLacFace.md2
(13 KB)

MedicFemLacBody.md2
(61 KB)


GROUP - obj :

< Return to Table of Contents, above. >

The following Wavefront '.obj' files are showable (when 'local') with 'glc_player'.

In the following 'anchor' link statments for sample '.obj' files, I started this page using application/wobj for the 'type=' parameter value.

After setting the 'helper application' for these (local) '.obj' files to be 'glc_player', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following obj/wobj-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:application/wobj" 
                    NC:value="application/wobj" 
                    NC:editable="true" 
                    NC:fileExtensions="obj" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/wobj"/> 
   </RDF:Description> 
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/wobj" 
                    NC:alwaysAsk="false"> 
     <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/glc_player"/> 
     <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/gedit"/> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/wobj"/> 
   </RDF:Description> 
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/wobj" 
                    NC:prettyName="glc_player" 
                    NC:path="/usr/bin/glc_player" /> 

When I click on one of the following '.obj' file links, in local 'kiosk' mode, the 'glc_player' program starts up and shows the '.obj' file.

    Note that I also set up 'gedit' as an alternate helper application for 'application/wobj' files, as seen in one of the statements, above, in the 'mimeTypes.rdf' file. I can use the 'Edit > Preferences > Helper Applications' window of Seamonkey2 to access and execute this alternate helper app --- AND I can also specify 'Always ask' there, instead of defaulting to opening with 'glc_player'.


dodecahedron.obj
(1.0 KB)

cube.obj
(1.5 KB)

dumbHead.obj
(6.8 KB)


GROUP - off : (Geomview Object File Format)

< Return to Table of Contents, above. >

The following '.off' files are showable (when 'local') with 'geomview'.

In the following 'anchor' link statments for sample '.off' files, I started this web page using application/goff for the 'type=' parameter value.

After setting the 'helper application' for these (local) '.off' files to be 'geomview', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following off/goff-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/goff" 
                    NC:path="/usr/bin/geomview" 
                    NC:prettyName="geomview" /> 
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/goff" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/goff"/> 
   </RDF:Description> 
...
...
   <RDF:Description RDF:about="urn:mimetype:application/goff" 
                    NC:fileExtensions="off" 
                    NC:description="" 
                    NC:value="application/goff" 
                    NC:editable="true"> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/goff"/> 
   </RDF:Description> 

When I click on one of these '.off' file links, in local 'kiosk' mode, the 'geomview' program starts up and shows the '.off' file.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


cone.off
(1.1 KB)

abstr.off
(1.5 KB)


GROUP - ply :

< Return to Table of Contents, above. >

The following '.ply' files are showable (when 'local') with 'paraview --data='.

In the following 'anchor' link statments for sample '.ply' files, I started this web page using application/ply for the 'type=' parameter value.

After setting the 'helper application' for these (local) '.ply' files to be a wrapper-script for 'paraview --data=', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following ply-related statements in my 'mimeTypes.rdf' file :

  <RDF:Description RDF:about="urn:mimetype:handler:application/ply"
                   NC:alwaysAsk="false">
    <NC:possibleApplication RDF:resource="urn:handler:local:/home/userid/apps/paraview/paraview_wrapper.sh"/>
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/ply"/>
  </RDF:Description>
...
...
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/ply"
                   NC:prettyName="paraview_wrapper.sh"
                   NC:path="/home/userid/apps/paraview/paraview_wrapper.sh" />
...
...
   <RDF:Description RDF:about="urn:mimetype:application/ply" 
                    NC:value="application/ply" 
                    NC:editable="true" 
                    NC:fileExtensions="ply" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/ply"/> 
   </RDF:Description> 

The wrapper script, paraview_wrapper.sh, that I put in a directory called $HOME/apps/paraview, simply calls the command

    /usr/bin/paraview --data="$1"

When I click on one of these '.ply' file links, in local 'kiosk' mode, the 'paraview_wrapper.sh' script starts the 'paraview' program, which shows the '.ply' file --- after I click on the 'Apply' button to apply the loaded file whose name shows in the paraview 'Pipeline browser' window.


sphere.ply
(8.3 KB)

mobius.ply
(84 KB)


GROUP - pov :

< Return to Table of Contents, above. >

The following '.pov' files (when 'local') are renderable to high-quality 2D images, with shadows and reflections, using the 'povray' program.

In the following 'anchor' link statments for sample '.pov' files, I started this web page using application/pov for the 'type=' parameter value.

After setting up the 'helper application' for these (local) '.pov' files to be a wrapper-script for 'povray', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following pov-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:handler:application/pov" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pov"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/pov" 
                    NC:path="/home/userid/apps/povray/povray_wrapper.sh" 
                    NC:prettyName="povray_wrapper.sh" /> 
...
...
   <RDF:Description RDF:about="urn:mimetype:application/pov" 
                    NC:value="application/pov" 
                    NC:editable="true" 
                    NC:fileExtensions="pov" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pov"/> 
   </RDF:Description> 

The wrapper script, povray_wrapper.sh, that I put in a directory called $HOME/apps/povray, calls the following commands

    FILENAME="$1"
    FILEMIDNAME=`echo "$FILENAME" | cut -d'.' -f1`

    /usr/bin/povray "$FILENAME"

    /usr/bin/eog "${FILEMIDNAME}.png"
in order to make and show a 2D '.png' file.

    We are depending here on povray to make a png file, by default, using the midname of the input file to build the name of the png file.

    Of course, we could change this script to use the many command line parameters available with povray.

When I click on one of the '.pov' file links, below, in local 'kiosk' mode, the 'povray_wrapper.sh' script starts the 'povray' program, and shows the resulting '.png' file --- with the 'eog' (Eye of Gnome) viewer program.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


polygon.pov
(0.8 KB)

trimesh1.pov
(1.6 KB)

cube.pov
(2.8 KB)


GROUP - stl : (STereoLithography - ascii and binary)

< Return to Table of Contents, above. >

The following '.stl' files are showable (when 'local') with 'glc_player'.

In the following 'anchor' link statments for sample '.stl' files, I started this web page using application/stl for the 'type=' parameter value.

After setting up the 'helper application' for these (local) '.stl' files, using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following stl-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:application/vnd.ms-pki.stl" 
                    NC:fileExtensions="stl" 
                    NC:description="" 
                    NC:value="application/vnd.ms-pki.stl" 
                    NC:editable="true"> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vnd.ms-pki.stl"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vnd.ms-pki.stl" 
                    NC:path="/usr/bin/glc_player" 
                    NC:prettyName="glc_player" />
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/vnd.ms-pki.stl" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vnd.ms-pki.stl"/> 
     <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/whitedune"/> 
     <NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/glc_player"/> 
   </RDF:Description>

When I click on one of the '.stl' file links, below, in local 'kiosk' mode, the 'glc_player' program, shows the '.stl' file.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


cube_binary.stl
(0.7 KB)

cube.stl
(2.0 KB)

sphere.stl
(53 KB)

bat_cover_binary.stl
(95 KB)


GROUP - stp : (STEP files)

< Return to Table of Contents, above. >

STEP files (3D) are showable (when 'local') by 'varicad-view'.

In the following 'anchor' link statments for sample '.stp' files, I started this web page using application/step for the 'type=' parameter value.

After setting up 'varicad-view' as the 'helper application' for these (local) '.stp' files, using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following stp/step-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:handler:application/step" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/step"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:application/step" 
                    NC:value="application/step" 
                    NC:editable="true" 
                    NC:fileExtensions="stp" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/step"/> 
   </RDF:Description> 
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/step" 
                    NC:path="/usr/bin/varicad-view" 
                    NC:prettyName="varicad-view" /> 

When I click on one of the '.stp' file links, below, in local 'kiosk' mode, the 'varicad-viewer' program, shows the '.stp' file.

In 'varicad-viewer', in 3D mode, you can move the model with the mouse as follows

  • rotate - with Ctl-and-Shift keys pressed
  • pan - with Ctl key pressed
  • zoom - with Shift key pressed

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


adjust_part1_MIR_050106.stp
(0.03 MB)

innerslab_050926.stp
(0.9 MB)

inner_vessel_end_flange_mod.stp
(0.9 MB)


GROUP - vtk : (Visual Tool Kit)

< Return to Table of Contents, above. >

VTK files are showable (when 'local') by 'paraview --data='.

In the following 'anchor' link statments for sample '.vtk' files, I started this web page using application/vtk for the 'type=' parameter value.

After setting up the 'helper application' for these (local) '.vtk' files to be a wrapper-script for 'paraview --data=', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following vtk-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:handler:application/vtk" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vtk"/> 
   </RDF:Description> 
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vtk" 
                    NC:path="/home/userid/apps/paraview/paraview_wrapper.sh" 
                    NC:prettyName="paraview_wrapper.sh" /> 
...
...
   <RDF:Description RDF:about="urn:mimetype:application/vtk" 
                    NC:value="application/vtk" 
                    NC:editable="true" 
                    NC:fileExtensions="vtk" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vtk"/> 
   </RDF:Description> 

The wrapper script, paraview_wrapper.sh, that I put in a directory called $HOME/apps/paraview, simply calls the command

    /usr/bin/paraview --data="$1"

When I click on one of these '.vtk' file links, in local 'kiosk' mode, the 'paraview_wrapper.sh' script starts the 'paraview' program, which shows the '.vtk' file --- after I click on the 'Apply' button to apply the loaded file whose name shows in the paraview 'Pipeline browser' window.

In 'paraview', in 3D mode, you can move the model with the mouse as follows

  • rotate - click the LEFT (#1) mouse button and drag
  • pan - click the MIDDLE (#2) mouse button and drag
  • zoom - click the RIGHT (#3) mouse button and drag

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


hello.vtk
(0.5 KB - 22 points)

polyex.vtk
(0.5 KB - 8 points)

triangle_mesh_linear.vtk
(0.6 KB - 8 points)

v.vtk
(4.7 KB - 100 points - letter V, serif)


GROUP - vr1 :
(VRML1 files - a subset of the SGI Inventor 2 format)

< Return to Table of Contents, above. >

VRML1 files are showable (when 'local') with 'ivview'.

In the following 'anchor' link statments for sample '.vr1' files, I started this web page using application/vr1 for the 'type=' parameter value.

After setting up the 'helper application' for these '.vr1' files to be 'ivview', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following vr1-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vr1" 
                    NC:path="/usr/bin/ivview" 
                    NC:prettyName="ivview" /> 
...
...
   <RDF:Description RDF:about="urn:mimetype:application/vr1" 
                    NC:fileExtensions="vr1" 
                    NC:description="" 
                    NC:value="application/vr1" 
                    NC:editable="true"> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vr1"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:handler:application/vr1" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vr1"/> 
   </RDF:Description>

When I click on one of these '.vr1' file links, in local 'kiosk' mode, the 'ivview' program starts up and shows the '.vr1' file.

In 'ivview', you can move the model with the mouse as follows

  • rotate - click the LEFT (#1) mouse button and drag
  • pan - click the MIDDLE (#2) mouse button and drag
  • zoom - use the 'Dolly' dial on the right of the GUI

For more help, click on the '?' button on the right of the GUI.

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


apple_vrml1.vr1
(0.1 MB)

1923_inventor2_to_vrml1.vr1
(1.0 MB - roughly sculpted head)


GROUP - vr2 :
(VRML2, a.k.a. VRML97, files)

< Return to Table of Contents, above. >

VRML2 files are showable (when 'local') with 'whitedune'.

In the following 'anchor' link statments for sample '.vr2' files, I started this web page using application/vr2 for the 'type=' parameter value.

After setting up the 'helper application' for these (local) '.vr2' files to be 'whitedune', using the 'Open-with' dialog of the Seamonkey2 web browser, I ended up with the following vr2-related statements in my 'mimeTypes.rdf' file :

   <RDF:Description RDF:about="urn:mimetype:handler:application/vr2" 
                    NC:alwaysAsk="false" 
                    NC:saveToDisk="false" 
                    NC:useSystemDefault="false" 
                    NC:handleInternal="false"> 
     <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/vr2"/> 
   </RDF:Description>
...
...
   <RDF:Description RDF:about="urn:mimetype:application/vr2" 
                    NC:value="application/vr2" 
                    NC:editable="true" 
                    NC:fileExtensions="vr2" 
                    NC:description=""> 
     <NC:handlerProp RDF:resource="urn:mimetype:handler:application/vr2"/> 
   </RDF:Description> 
...
...
   <RDF:Description RDF:about="urn:mimetype:externalApplication:application/vr2" 
                    NC:path="/usr/bin/whitedune" 
                    NC:prettyName="whitedune" /> 

When I click on one of these '.vr2' file links, in local 'kiosk' mode, the 'whitedune' program starts up and shows the '.vr2' file.

In 'whitedune', you can move the model with the mouse as follows

  • rotate - hold down the LEFT (#1) mouse button and drag
  • pan - ?
  • zoom - hold down the MIDDLE (#2) mouse button and drag
  • reset the model to the middle of the viewing window - ?

NOTES ON REMOTE VIEWING ATTEMPTS ARE TO BE PUT HERE.


geom_ball_vrml2.vr2
(0.3 KB)

geom_cone_vrml2.vr2
(0.3 KB)

colors_tree_green-red_vrml2.vr2
(0.4 KB)

geom_anchor_cube-sphere-cone_vrml2.vr2
(1.0 KB)

astro_solar_sun-earth-moon_vrml2.vr2
(1.5 KB)


GROUP - x3d :
(basically XML wrapped around VRML2)

< Return to Table of Contents, above. >

X3D files are showable with ???.

Ask the Web3D Consortium. They've had 10 years to come up with a good viewer --- easily installable on Ubuntu Linux, or any other OS. They have pissed away the good foundation that SGI laid for them. Disgusting.

They don't seem to understand that the PDF document format became ubiquitous because Adobe provided a free reader, cross-platform.

For 10 years now, the x3d format has been languishing. It is actually easier to find old VRML files than X3D files.

It is time the consortium made the 'Xj3D' Java-based X3D reader available across major platforms and easily installable and functional --- or devise a C++-based reader. Or go back to VRML2, and provide a cross-platform reader for that format --- and its enhancements.

I guess this is what happens when a decent format is put in the hands of a committee of strict, anally-retentive XML enthusiasts, who have more interest in syntax than in graphical viewers.


basics-2.x3d
(2.1 KB)

basics-shapes-5V.x3d
(2.4 KB)



NOTE :
There is a 'RDF:Seq' 'mimetypes:root' section of the Seamonkey2 'mimeTypes.rdf' file. It apparently gets updated when I add new mime-types via the Seamonkey2 'Open-with' dialog.

I know this because new mime-types like 'application/ply', 'application/wobj', 'application/vr1', and 'application/vr2' showed up at the bottom of the list.

  <RDF:Seq RDF:about="urn:mimetypes:root">
    <RDF:li RDF:resource="urn:mimetype:application/zip"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-mpg"/>
    <RDF:li RDF:resource="urn:mimetype:image/x-jpg"/>
    <RDF:li RDF:resource="urn:mimetype:application/octet-stream"/>
    <RDF:li RDF:resource="urn:mimetype:application/msword"/>
    <RDF:li RDF:resource="urn:mimetype:application/rtf"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-excel"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-powerpoint"/>
    <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
    <RDF:li RDF:resource="urn:mimetype:image/x-ms-bmp"/>
    <RDF:li RDF:resource="urn:mimetype:image/x-vcard"/>
    <RDF:li RDF:resource="urn:mimetype:audio/mpeg"/>
    <RDF:li RDF:resource="urn:mimetype:audio/mp3"/>
    <RDF:li RDF:resource="urn:mimetype:audio/x-mpeg-url"/>
    <RDF:li RDF:resource="urn:mimetype:audio/x-mpeg"/>
    <RDF:li RDF:resource="urn:mimetype:audio/mpeg-url"/>
    <RDF:li RDF:resource="urn:mimetype:audio/wav"/>
    <RDF:li RDF:resource="urn:mimetype:audio/x-wav"/>
    <RDF:li RDF:resource="urn:mimetype:video/mpeg"/>
    <RDF:li RDF:resource="urn:mimetype:audio/mpeg3"/>
    <RDF:li RDF:resource="urn:mimetype:audio/x-mpeg3"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-iso9660-image"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-httpd-php"/>
    <RDF:li RDF:resource="urn:mimetype:video/3gpp"/>
    <RDF:li RDF:resource="urn:mimetype:application/futuresplash"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-shockwave-flash"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-gzip"/>
    <RDF:li RDF:resource="urn:mimetype:x-world/x-vrml"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-bzip2"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-compress"/>
    <RDF:li RDF:resource="urn:mimetype:model/vrml"/>
    <RDF:li RDF:resource="urn:mimetype:application/java-archive"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-deb"/>
    <RDF:li RDF:resource="urn:mimetype:image/tiff"/>
    <RDF:li RDF:resource="urn:mimetype:application/vnd.ms-pki.stl"/>
    <RDF:li RDF:resource="urn:mimetype:application/dxf"/>
    <RDF:li RDF:resource="urn:mimetype:application/acad"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-inventor"/>
    <RDF:li RDF:resource="urn:mimetype:application/ply"/>
    <RDF:li RDF:resource="urn:mimetype:application/3ds"/>
    <RDF:li RDF:resource="urn:mimetype:application/wobj"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-tcl"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-debian-package"/>
    <RDF:li RDF:resource="urn:mimetype:application/goff"/>
    <RDF:li RDF:resource="urn:mimetype:application/vr1"/>
    <RDF:li RDF:resource="urn:mimetype:application/vr2"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-blender"/>
  </RDF:Seq>

You can look for more 3D test/demo files via globalfilesearch.net.
Enter a files suffix such as .3ds or .wrl .

OR, try Google with filepath:wrl or some other suffix.


'varicad-view' screenshot - in 3D mode - on a STEP file

Bottom of REMOTE 3D files - Web Browser Viewing Notes - on Linux page.

To return to a previously visited web page location, click on the
Back button of your web browser, a sufficient number of times.
OR, use the History-list option of your web browser.
OR ...

< Go to start of 3D File Links, above. >
< Go to start of Table of Contents, above. >
< Go to Top of Page, above. >

Page created 2011 Feb 16. Changes 2011 Feb 18.