The Hierarchy of my Web-Pages logo

OpenVSP-Connect

OpenVSP-Connect 3D Visualization

Reach this site with http://3D.ProfScholz.de

Please read about OpenVSP-Connect pin
Please check out the OpenVSP-Connect Hangar

 

Table of Contents

How Others Can See YOUR Aircraft in 3D
Summary of Data Flow for Viewing of 3D Active Graphics
Viewing 3D Active Graphics in PDF (with Adobe Acrobat Reader DC)
Producing 3D Active Graphics in PDF (with LaTeX)
Combining PDF Pages with 3D Graphics
Just as a matter of interest:
An Alternative to 3XDOM - The Integrated X3D Viewer X_ITE

 

How Others Can See YOUR Aircraft in 3D

You have designed your aircraft and now you would like to share it with someone. What are your possibilities? See your options listed from "easy" to "difficult":

 

Summary of Data Flow for Viewing of 3D Active Graphics

3D graphics in a *.vsp or *.x3d file online or transmitted (e.g. in an e-mail):
Aircraft Document => OpenVSP-Connect => *.vsp => OpenVSP used as Viewer
Aircraft Document => OpenVSP-Connect => *.vsp => OpenVSP => *.x3d => X3D-Viewer (viewer options are given above)
Advantage: Files *.vsp or *.x3d are readily available from OpenVSP.
Disadvantage: The recipient needs to install a viewer that is most probably not yet installed on his/her computer.

3D graphics in *.pdf file online or transmitted (e.g. in an e-mail). With bug in MeshLab (as of 2020):
Aircraft Document => OpenVSP-Connect => *.vsp => OpenVSP => *.x3d => MeshLab => *.obj => Online Converter => *.u3d => AdobePro or LaTeX => *.pdf => Adobe PDF Reader
Advantage / Disadvantage: See below.

3D graphics in *.pdf file online or transmitted (e.g. in an e-mail). Without bug in MeshLab (once MeshLab is fully back to work):
Aircraft Document => OpenVSP-Connect => *.vsp => OpenVSP => *.x3d => MeshLab => *.u3d => AdobePro or LaTeX => *.pdf => Adobe PDF Reader
Advantage:
a) The Adobe PDF Reader is installed already on most computers and well known.
b) The PDF can be used also in a larger report.
Disadvantage:
a) Producing a PDF with embedded 3D graphics is time consuming and not easy - especially if no money should be spent on software.
b) The PDF must be downloaded from the Internet before viewing, otherwise the 3D graphics remain hidden. This and the PDF download (right-click) can be a source of irritation.

3D graphics shown online in HTML with an embedded X3D viewer (like X3DOM):
Aircraft Document => OpenVSP-Connect => *.vsp => OpenVSP => *.x3d and *.html file online => any browser
Advantage: Works without any additional installation. Works without additional clicks.
Disadvantage: Requires access to a server.

Note:

 

Viewing 3D Active Graphics in PDF (with Adobe Acrobat Reader DC)

Generally, there are two options to look at PDF files provided on the Internet:
  1. You can look at a PDF file directly in a browser, either in the same tab or a new tab or embedded in the HTML page (as shown "life" in the figure below on the left).
  2. You can download a PDF file and look at it in the Adobe PDF Reader (as shown with a screen shot in the figure below on the right).
Adobe and 3D Active Content, Close

Adobe and 3D Active Content, Open

  1. Related to 1. (above, left):
  2. What you see above on the left is - at best - a static aircraft in a PDF in a box. If you do not see it, inspect, how it might look like (in Firefox). Note: 3D active content will never show (as of 2020) - as embedded PDF or in a (new) tab or window - no matter what browser you use!!! This means - no matter, if you see the preview of the PDF (above) or not - you need to download the PDF and look at it in the (free) Adobe PDF Reader. 3D active content will most probably not display in other PDF readers!

  3. Related to 2. (above, right):
  4. The way to go is to download the PDF document (with active 3D content) with a right-click on the link "A320.pdf" below and select Save As ...:

    *.pdf A320.pdf (as produced with Adobe Acrobat Pro)     Size:  331K    pin

    Open the file in Adobe PDF Reader. Initially the active content is closed. It is opened by clicking on "Options" (above and right) and by making your choice:

    This is a safety feature. The reader of the document has to take the responsibility for opening active content that could potentially harm the computer. A simple 3D graphic is not able to harm the computer, but active content can also include Java Script, ... Once the PDF is open, the 3D active content may be manipulated with mouse and menue (right).
Learn more how to handle PDFs with 3D content:

 

Producing 3D Active Graphics in PDF (with LaTeX)

Adobe Acrobat Pro (now Acrobat Pro DC) is expensive. Only subscriptions seem to be possible for something like 18 EUR/month (no purchase of the software). Adobe Acrobat Pro has the advantage that 3D graphics can be embedded by clicking and dragging. That does not mean it is easy, but with a few hints (see above) it is doable.

I present here a free option to embed 3D active graphics into PDF files with LaTeX. It is much more complicated than the Adobe way, but it does not cost you money - only time and sweat. The only possible way is (as far as I know) with the LaTeX multimedia inclusion package media9. It has amazing capabilities. So, there is just one way to 3D graphics with LaTeX, but there are many ways to deal with LaTeX. The solution selected and presented here, is for those without prior knowledge of LaTeX (like myself). It is one of many possible solutions. It is an easy one (as easy as LaTeX can get). It is based on the distribution MikTeX:

  1. Read About MikTeX.
  2. Get MikTeX with its Installer. pin
  3. Get my files to get you started with Aircraft 3D Graphics: LaTeX-3D-Aircraft.zip. pin See also below.
  4. Extract LaTeX-3D-Aircraft.zip into any directory.
  5. Start TeXworks, the editor for LaTeX under MikTeX.
  6. Open the file 3D-Aircraft.tex from my Zip-File with TeXworks.
  7. Compile the file 3D-Aircraft.tex with the standard option "pdfLaTeX" with Ctr+T in TeXworks. MikTeX - which starts with a minimum installation - will automatically load all required packages from the Internet (i.e. you must be online). This download will also get "media9". Finally (if everything went well?!), you should see an aircraft in the TeXworks PDF Viewer.
  8. Open the file 3D-Aircraft.pdf with the Acrobat Reader. Follow the instructions above under "Viewing 3D Active Graphics in PDF". Checkout the predefined views!
  9. Read the Package documentation for "media9" (PDF, 3.6 MB). Read in this order: Page 1, Chapter 7.2, 7.1, 4, 5.1.
  10. Read the comments (marked with"%") in the files 3D-Aircraft.tex and A320-views.vws.
  11. Get going yourself and show "YOUR Aircraft in 3D with PDF". Start with a simple TeX-file (3D-Aircraft-Simple.tex) and built it up slowly. Make sure your Tex-file keeps compiling without error.
    1. Compile 3D-Aircraft-Simple.tex and check in Acrobat Reader. Right-click into (blank) 3D window and select "Generate Default View". Now you should see a side view of the A320.
    2. Prepare the *.u3d file, as explained above.
    3. Adapt 3D-Aircraft-Simple.tex with the name of your *.u3d file, compile and check in Acrobat Reader. Right-click into (blank) 3D window and select "Generate Default View". Now you should see YOUR aircraft.
    4. Change the view with mouse and keyboard to what you intend as Default View. Right-click into 3D window and select "Generate Default View".
    5. Copy the default view from the JavaScript Debugger Console Window into your *.tex file as shown in 3D-Aircraft.tex. Compile and check in Acrobat Reader, if you can now see an aircraft right away and as intended. Repeat step d. and e. until you are happy with your initial view.
    6. Add a 2D default view (like I did with A320.png) to your *.tex file as shown in 3D-Aircraft.tex, compile and check in Acrobat Reader. Note 1: The 2D graphic (here: A320.png) has to have the same height-width-ratio as the provided box on the page (her a square; accordingly with the 2 D graphic e.g. 1000px x 1000px). Note 2: You can also make a screen shot of your 3D default view and use this as your 2D graphic.
    7. Add the command "3Dviews=A320-views.vws" to your *.tex file as shown in 3D-Aircraft.tex, compile and check in Acrobat Reader.
    8. Modify the file A320-views.vws as needed (also rename it) to produce good Views for your aircraft. You may adapt the parameters directly in the *.vws file (read the comments), or you make use of a "Right-click into 3D window" and select "Get Current View" and get parameters from the JavaScript Debugger Console Window. Copy the parameters into the *.vws file. Compile and check in Acrobat Reader. Repeat this step until you are happy with the results.
    9. Finalize your PDF by deleting the command "3Dmenu" as this is more for PDF production than for the end user. Unfortunately, this also eliminates the "Play Buttom" in the unopened graphic window. So decide, what you like more. Compile and check in Acrobat Reader.
*.zip LaTeX-3D-Aircraft.zip     Size:  406K    pin

Download the PDF document with active 3D content:
*.pdf LaTeX-3D-Aircraft.pdf (as produced with LaTeX)     Size:  273K    pin
Open the file in Adobe Acrobat Reader. Initially the active content is closed. It is opened by clicking on "Options" (above and right) and by making your choice.

 

Combining PDF Pages with 3D Graphics

In the same way as above, there are paid options and the free options: Download a combined PDF document with several pages of active 3D content included to see how it may look like:
*.pdf Hangar3D.pdf     Size:  1.0M     (as produced with PDFEN; PDF TOC with Acrobat Writer 6.0, 2003)
Open the file in Adobe Acrobat Reader. Initially the active content is closed. It is opened by clicking on "Options" (above and right) and by making your choice.

 

An Alternative to 3XDOM -
The Integrated X3D Viewer X_ITE

logo X_ITE
Right click = menue, scroll = zoom, double click = zoom in.
OBSERVER: Explore: left-click = rotate, Fly: left-click = pan

As far as things were developed here, the viewer showed some bugs, has an unpleasant black background, and lacks important functionality.


LAST MODIFIED:  28 April 2020
AUTHOR:  Prof. Dr. Scholz
IMPRESSUM (PDF)

E-Mail-Address
home  Prof. Dr. Scholz
home  Aircraft Design and Systems Group (AERO)
home  Aeronautical Engineering
home  Department of Automotive and Aeronautical Engineering
home  Faculty of Engineering and Computer Science
home  Hamburg University of Applied Sciences