home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / sgi / faq / inventor < prev    next >
Encoding:
Internet Message Format  |  2001-07-06  |  25.5 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news-out.nibble.net!news-in.nibble.net!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!enews.sgi.com!news.tamu.edu!sgi-faq
  2. From: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  3. Newsgroups: comp.sys.sgi.misc,comp.answers,news.answers
  4. Subject: SGI inventor Frequently Asked Questions (FAQ)
  5. Supersedes: <inventor_993016817@viz.tamu.edu>
  6. Followup-To: comp.sys.sgi.misc
  7. Date: 6 Jul 2001 05:59:45 GMT
  8. Organization: Visualization Lab, Texas A&M University
  9. Lines: 656
  10. Approved: news-answers-request@mit.edu
  11. Expires: 3 Aug 2001 06:00:15 GMT
  12. Message-ID: <inventor_994399215@viz.tamu.edu>
  13. Reply-To: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  14. NNTP-Posting-Host: viz.tamu.edu
  15. NNTP-Posting-Date: 6 Jul 2001 05:59:45 GMT
  16. Originator: sgi-faq@viz.tamu.edu
  17. Xref: senator-bedfellow.mit.edu comp.sys.sgi.misc:57364 comp.answers:46109 news.answers:210661
  18.  
  19. Archive-name: sgi/faq/inventor
  20. Last-modified: Wed Oct  6  1:00:04 CDT 1999
  21. Posting-Frequency: Twice monthly
  22. URL: http://www-viz.tamu.edu/~sgi-faq/
  23.  
  24.     SGI inventor Frequently Asked Questions (FAQ)
  25.  
  26. This is one of the Silicon Graphics FAQ series, which consists of:
  27.  
  28.     SGI admin FAQ - IRIX system administration
  29.     SGI apps FAQ - Applications and miscellaneous programming
  30.     SGI audio FAQ - Audio applications and programming
  31.     SGI diffs FAQ - Changes to the other FAQs since the last posting
  32.     SGI graphics FAQ - Graphics and user environment customization
  33.     SGI hardware FAQ - Hardware
  34.     SGI impressario FAQ - IRIS Impressario
  35.     SGI inventor FAQ - IRIS Inventor
  36.     SGI misc FAQ - Introduction & miscellaneous information
  37.     SGI movie FAQ - Movies
  38.     SGI performer FAQ - IRIS Performer
  39.     SGI pointer FAQ - Pointer to the other FAQs
  40.     SGI security FAQ - IRIX security
  41.  
  42. Read the misc FAQ for information about the FAQs themselves. Each FAQ is
  43. posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  44. newsgroups (whose purpose is to store FAQs) twice per month. If you
  45. can't find one of the FAQs with your news program, you can get it from
  46.  
  47.     ftp://viz.tamu.edu/pub/sgi/faq/
  48.     ftp://rtfm.mit.edu/pub/usenet/news.answers/sgi/faq/
  49.  
  50. (rtfm.mit.edu is home to many other FAQs and informational documents,
  51. and is a good place to look if you can't find an answer here.) The FAQs
  52. are on the World Wide Web at
  53.  
  54.     http://www-viz.tamu.edu/~sgi-faq/
  55.  
  56. If you can't use FTP or WWW, send mail to mail-server@rtfm.mit.edu with
  57. the word 'help' on a line by itself in the text, and it will send you a
  58. document describing how to get files from rtfm.mit.edu by mail. Send the
  59. command 'send usenet/news.answers/sgi/faq/misc' to get the SGI misc FAQ,
  60. and similarly for the other FAQs. Send the command 'send
  61. usenet/news.answers/internet-services/access-via-email' to get the
  62. "Accessing the Internet by E-Mail FAQ".
  63.  
  64. You may distribute the SGI FAQs freely and we encourage you to do so.
  65. However, you must keep them intact, including headers and this notice,
  66. and you must not charge for or profit from them. Contact us for other
  67. arrangements. We can't be responsible for copies of the SGI FAQs at
  68. sites which we do not control, and copies published on paper or CD-ROM
  69. are certain to be out of date. The contents are accurate as far as we
  70. know, but the usual disclaimers apply. Send additions and changes to
  71. sgi-faq@viz.tamu.edu.
  72.  
  73. Topics covered in this FAQ:
  74. ---------------------------
  75.    -1- GENERAL QUESTIONS
  76.    -2- What is Open Inventor?
  77.    -3- What is IRIS Inventor?
  78.    -4- Is Inventor a format for 3D data?
  79.    -5- Can I use Inventor to create 3D objects?
  80.    -6- Is Inventor a user interface toolkit?
  81.    -7- Is there a performance cost using a software layer on top of GL?
  82.    -8- Does Inventor require C++?
  83.    -9- Does Inventor work with the GNU C++ compiler?
  84.   -10- Does Inventor have a Fortran or Ada API?
  85.   -11- Where can I get detailed, technical information on Inventor?
  86.   -12- How can I order Inventor software and/or documentation?
  87.   -13- How can I learn Inventor Programming?
  88.   -14- QUESTIONS ABOUT OPEN INVENTOR
  89.   -15- What version of Open Inventor runs on which version of IRIX?
  90.   -16- What Silicon Graphics platforms support Open Inventor?
  91.   -17- What are the new features in Open Inventor 2.1?
  92.   -18- How hard is it to port from IRIS Inventor to Open Inventor?
  93.   -19- How hard is it to port from Open Inventor 2.0.1 to Open Inventor
  94.        2.1?
  95.   -20- How can I make my Open Inventor application faster?
  96.   -21- When I compile my Inventor program, I get an error in
  97.        SoDebugError.h.
  98.   -22- QUESTIONS ABOUT IRIS INVENTOR
  99.   -23- What version of IRIS Inventor runs on which version of IRIX?
  100.   -24- Will I be automatically upgraded to Open Inventor if I have IRIS
  101.        Inventor?
  102.   -25- Will my IRIS Inventor programs stop working if I install Open
  103.        Inventor?
  104.   -26- Can I develop Open and IRIS Inventor programs on the same system?
  105.   -27- Prerequisite error installing Inventor 1.1.2
  106.   -28- Why do I get errors compiling the Inventor sample programs?
  107.  
  108. ----------------------------------------------------------------------
  109.  
  110. Subject:    -1- GENERAL QUESTIONS
  111. Date: 06 May 1995 00:00:01 EST
  112.  
  113.   General questions.
  114.  
  115. ------------------------------
  116.  
  117. Subject:    -2- What is Open Inventor?
  118. Date: 30 Apr 1994 15:45:00 CDT
  119.  
  120.   Open Inventor is an object-oriented 3D toolkit offering a
  121.   comprehensive solution to interactive graphics programming problems.
  122.   It presents a programming model based on a 3D scene database that
  123.   dramatically simplifies graphics programming. It includes a rich set
  124.   of objects such as cubes, polygons, text, materials, cameras, lights,
  125.   trackballs, handle boxes, 3D viewers, and editors that speed up your
  126.   programming time and extend your 3D programming capabilities.
  127.  
  128.   Open Inventor: 
  129.       o is built on top of OpenGL 
  130.       o defines a standard file format for 3D data interchange 
  131.       o introduces a simple event model for 3D interaction 
  132.       o provides animation objects called Engines 
  133.       o provides high performance object picking 
  134.       o is window system and platform independent 
  135.       o supports PostScript printing 
  136.       o encourages programmers to create new customized objects 
  137.       o is fun to use 
  138.  
  139. ------------------------------
  140.  
  141. Subject:    -3- What is IRIS Inventor?
  142. Date: 30 Apr 1994 15:45:00 CDT
  143.  
  144.   IRIS Inventor was the first release of Inventor; it is also known as
  145.   Inventor 1.0 (Open Inventor is Inventor 2.0). It is built on top of
  146.   IRIS GL rather than OpenGL, and has fewer features.
  147.  
  148. ------------------------------
  149.  
  150. Subject:    -4- Is Inventor a format for 3D data?
  151. Date: 30 Apr 1994 15:45:00 CDT
  152.  
  153.   Inventor defines a powerful, extensible format for 3D objects and
  154.   scenes.  The Inventor format is the standard for 3D objects on
  155.   Silicon Graphics machines, and may become the standard for all
  156.   machines.
  157.  
  158.   However, Inventor is more than a 3D object file format; it is a
  159.   complete toolkit for writing interactive, 3D applications.
  160.  
  161. ------------------------------
  162.  
  163. Subject:    -5- Can I use Inventor to create 3D objects?
  164. Date: 30 Apr 1994 15:45:00 CDT
  165.  
  166.   Inventor is for programmers writing 3D applications, and does not
  167.   directly provide any way for users to create 3D objects. Several
  168.   Inventor applications have been written that create 3D objects.
  169.   Showcase 3.0, which is bundled with IRIX, is a fairly simple
  170.   example.  A much more sophisticated modeller called Ez3d built on
  171.   top of Inventor is available from Radiance Software International.
  172.  
  173. ------------------------------
  174.  
  175. Subject:    -6- Is Inventor a user interface toolkit?
  176. Date: 30 Apr 1994 15:45:00 CDT
  177.  
  178.   Yes and no. Inventor contains mostly 3D objects. There is little in
  179.   the way of conventional user interface objects such as buttons,
  180.   dialogs, and menus.  However, Inventor includes a full-fledged event
  181.   model, a framework designed for 2D or 3D user interaction, and some
  182.   manipulator objects for 3D user interface building. Note that the
  183.   Inventor Xt Component and Utility Library includes some traditional
  184.   2D user interface widgets.
  185.  
  186. ------------------------------
  187.  
  188. Subject:    -7- Is there a performance cost using a software layer on
  189.                 top of GL?
  190. Date: 30 Apr 1994 15:45:00 CDT
  191.  
  192.   Sometimes. Note that few GL programs achieve peak graphics
  193.   performance. This is because most applications have natural
  194.   application overhead, and also because many programmers lack a
  195.   thorough understanding of the details and eccentricities of GL. If
  196.   you are writing a simple display-only, immediate-mode GL program,
  197.   then it will run faster using straight GL, but not much. However, if
  198.   your program has scene traversal, interactivity, picking, bounding
  199.   box calculations, and other object space tasks, then Inventor will
  200.   perform better for you. This is because Inventor is specially tuned
  201.   to make optimal use of GL on each SGI machine. Furthermore, Inventor
  202.   supports render caching which results in peak GL performance in most
  203.   cases.
  204.  
  205.   We have found that in many cases, Inventor programs run FASTER than
  206.   the original GL program, and that the programmer productivity
  207.   increases easily outweigh the overhead of the toolkit.
  208.  
  209. ------------------------------
  210.  
  211. Subject:    -8- Does Inventor require C++?
  212. Date: 30 Apr 1994 15:45:00 CDT
  213.  
  214.   No. You can use the C API and never see or use C++. However,
  215.   subclassing to extend the toolkit does require C++.
  216.  
  217. ------------------------------
  218.  
  219. Subject:    -9- Does Inventor work with the GNU C++ compiler?
  220. Date: 30 Apr 1994 15:45:00 CDT
  221.  
  222.   No, Inventor requires SGI's C++ compiler. The GNU C++ compiler and
  223.   SGI's C++ compiler produce incompatible code, and Silicon Graphics
  224.   does not ship an Inventor library compatible with GNU C++.
  225.  
  226. ------------------------------
  227.  
  228. Subject:   -10- Does Inventor have a Fortran or Ada API?
  229. Date: 09 Jan 1996 00:00:01 PST
  230.  
  231.   No. Silicon Graphics is, however, in the process of creating an Ada95
  232.   binding for Open Inventor.
  233.  
  234. ------------------------------
  235.  
  236. Subject:   -11- Where can I get detailed, technical information on
  237.                 Inventor?
  238. Date: 30 Apr 1994 15:45:00 CDT
  239.  
  240.   The Inventor Mentor, written by Josie Wernecke, is published by
  241.   Addison-Wesley and is available in technical bookstores (ISBN
  242.   0-201-62495-8).
  243.  
  244. ------------------------------
  245.  
  246. Subject:   -12- How can I order Inventor software and/or documentation?
  247. Date: 09 Jan 1996 00:00:01 PST
  248.  
  249.   On SGI machines, call your local SGI sales representative or, if you
  250.   are in the United States, call 1-800-800-7441 to order.
  251.  
  252.   NeTpower provides Open Inventor for Windows NT for both Intel and
  253.   MIPS Windows NT platforms. For more information pricing and
  254.   availability of Open nventor for NT, call NeTpower Sales and Customer
  255.   Service at: 800-801-0900, or send email to info@netpower.com.
  256.  
  257.   Portable Graphics provides (or will soon provide) Open Inventor for
  258.   the following platforms:
  259.  
  260.     * HP Series 700 workstations with Freedom Series
  261.     * IBM RS/6000 workstations (AIX v3.2.5 and 4.x)
  262.     * Sun SPARCstations (Solaris 2.3 & 2.4)
  263.     * Windows NT (Intel platform)
  264.     * Windows NT (PowerPC platform)
  265.     * DEC AlphaStation/Digital UNIX
  266.     * DEC AlphaStation/Windows NT
  267.     * Linux
  268.     * Sun SPARCstations with Freedom Series
  269.     * OS/2 Warp (PowerPC and Intel platforms)
  270.     * Windows 95 (PowerPC and Intel platforms)
  271.     * MESA
  272.     * PowerMac
  273.  
  274.   Portable Graphics also supplies:
  275.  
  276.     * IRIS Inventor for HP workstations
  277.     * IRIS Inventor for Sun workstations
  278.  
  279.   For product availability and pricing, please contact Portable
  280.   Graphics at:
  281.  
  282.     Portable Graphics
  283.     "An Evans & Sutherland Company"
  284.     3006 Longhorn Blvd., Suite 105
  285.     Austin, TX 78758
  286.     (512) 719-8000
  287.     (512) 832-0752 (fax)
  288.  
  289.   Template Graphics Software provides (or will soon provide) Open
  290.   Inventor on the following platforms:
  291.  
  292.     * Sun Solaris (SPARC and X86)
  293.     * IBM AIX
  294.     * Windows NT 3.5 (Intel, Alpha, MIPS, PowerPC)
  295.     * Windows 95
  296.     * HP-UX
  297.     * Apple PowerMac
  298.     * OS/2
  299.     * Digital UNIX
  300.  
  301.   For additional information on TGS graphics software visit their web
  302.   page or send email to info@tgs.com. Template Graphics Software may
  303.   also be reached at:
  304.  
  305.     Template Graphics Software
  306.     9920 Pacific Heights Blvd. #200
  307.     San Diego, CA 92121
  308.     
  309.     Robert J. Weideman, V.P. Marketing
  310.     (619)457-5359 x229
  311.     (619)452-2547 (fax)
  312.     robert@tgs.com
  313.  
  314. ------------------------------
  315.  
  316. Subject:   -13- How can I learn Inventor Programming?
  317. Date: 09 Jan 1996 00:00:01 PST
  318.  
  319.   SGI Technical Education offers a week-long course in Inventor
  320.   Programming.  Call 1-800-800-4SGI to sign up or visit the SGI
  321.   Technical Education Web Page for a schedule of upcoming classes.
  322.  
  323.   Portable Graphics also offers an introductory programming course for
  324.   Open Inventor.  "Introduction to Open Inventor Programming" is a
  325.   two-day course that covers the material presented in "The Inventor
  326.   Mentor" using demonstrations, examples and lecture.  It includes a
  327.   copy of "The Inventor Mentor", code examples and course notes.
  328.  
  329.   For a course outline and registration information, contact:
  330.  
  331.     Phone: (800) 580-1166
  332.     Fax: (800) 580-0616
  333.     E-mail: inventor@portable.com
  334.  
  335.   Template Graphics Software provides developer training in North
  336.   America, Japan and Europe. For course scheduleplease contact:
  337.  
  338.     Template Graphics Software
  339.     (619)457-5359 x251
  340.     E-mail info@tgs.com
  341.     Web Page http://www.sd.tgs.com/
  342.  
  343. ------------------------------
  344.  
  345. Subject:   -14- QUESTIONS ABOUT OPEN INVENTOR
  346. Date: 06 May 1995 00:00:01 EST
  347.  
  348.   Questions about Open Inventor.
  349.  
  350. ------------------------------
  351.  
  352. Subject:   -15- What version of Open Inventor runs on which version of
  353.                 IRIX?
  354. Date: 09 Jan 1996 00:00:01 PST
  355.  
  356.   Inventor 2.0 runs on IRIX 5.2
  357.   Inventor 2.0.1 runs on IRIX 5.3
  358.   Inventor 2.1.x runs on IRIX 5.3, Irix 6.1 and higher
  359.  
  360. ------------------------------
  361.  
  362. Subject:   -16- What Silicon Graphics platforms support Open Inventor?
  363. Date: 09 Jan 1996 00:00:01 PST
  364.  
  365.   Open Inventor supports the following SGI graphics platforms:
  366.  
  367.     Reality Engine
  368.     IMPACT
  369.     Express Graphics (Extreme, Elan, XZ)
  370.     Indy Graphics
  371.     VGX, VGXT
  372.     PI Graphics
  373.  
  374. ------------------------------
  375.  
  376. Subject:   -17- What are the new features in Open Inventor 2.1?
  377. Date: 09 Jan 1996 00:00:01 PST
  378.  
  379. New Features for Open Inventor 2.1 are:
  380.  
  381.     New and Updated_Documentation
  382.     Inventor 2.1 includes a new book, the Open Inventor 2.1 Porting
  383.     and Performance Tips.
  384.     New File Version
  385.     The file version has been updated to 2.1
  386.     DSO Directories and Versions
  387.     To avoid problems with incompatible code, the places Inventor
  388.     searches for Dynamic Shared Objects (DSO) implementing new
  389.     nodes has been changed.  For details please read the release
  390.     notes of Inventor 2.1.
  391.     VRML File Supported
  392.     The SoDB read methods now also read files with the VRML 1.0
  393.     header.
  394.     User-Defined File Headers
  395.     The SoDB class now includes methods for registering your own
  396.     file headers.
  397.     SoOutput::setFloatPrecision()
  398.     You can now specify a precision to use when writing out
  399.     floating point numbers.
  400.     SoDB::readAll() Supports Paths
  401.     The SoDB::readAll() method now supports reading objects of type
  402.     SoNode or SoPath.
  403.     New Nodes
  404.     Inventor 2.1 now supports the following new nodes. For deatils,
  405.     please read the release notes of Inventor 2.1.
  406.  
  407.     SoVertexProperty
  408.     SoLOD
  409.     SoLocateHighlight
  410.     SoWWWAnchor
  411.     SoWWWInline
  412.     SoAsciiText
  413.     SoFontStyle
  414.  
  415.     New Fields
  416.     Inventor 2.1 now supports the following new fields. For
  417.     details, please read the release notes of Inventor 2.1
  418.     specifically regarding: fields and isA.
  419.     SoGLRenderAction Render Abort Callback Changes
  420.     The render abort callback of the SoGLRenderAction no longer
  421.     returns a simple Boolean value. Instead, it returns an abort
  422.     code that is one of:  CONTINUE, ABORT, PRUNE, or DELAY.
  423.     CONTINUE is the same as returning FALSE in previous releases,
  424.     and ABORT is the same as TRUE.
  425.     New Manipulator for 3D Transformations
  426.     A new manipulator, SoTransformerManip, has been added to the
  427.     set of Inventor manipulators.
  428.     OpenGL Texture Object Extension
  429.     Open Inventor 2.1 makes use of the OpenGL extension for texture
  430.     objects.  Consequently, on systems where this OpenGL extension
  431.     is available, you will see improved texture mapping
  432.     performance.
  433.     Additional Texture File Formats
  434.     The Inventor 2.1 SoTexture2 node now supports GIF and JPEG
  435.     image files. The JPEG files are read using the fifth public
  436.     release of the Independent JPEG's group free JPEG software.
  437.     Picking vs. Viewing
  438.     When in picking mode in any of the viewers, you can now
  439.     temporarily switch to viewing mode by pressing the key. Note
  440.     also that the manipulators now use the key as the modifier key,
  441.     instead of the key.
  442.     Disabling the Viewer Cursor
  443.     The application can now set the cursor in the viewer windows
  444.     directly, if it first disables the viewer cursor using
  445.     SoXtViewer::setCursorEnabled().
  446.     Targets for Copy and Paste
  447.     The SoXtClipboard supports the following new data targets for
  448.     copy and paste:
  449.  
  450.     INVENTOR_2_1
  451.     INVENTOR_2_1_FILE
  452.     VRML_1_0
  453.     VRML_1_0_FILE
  454.     INVENTOR_2_0
  455.     INVENTOR_2_0_FILE
  456.  
  457.     The targets INVENTOR and INVENTOR_FILE are supported for
  458.     backwards compatibility. They are equivalent to INVENTOR_2_0
  459.     and INVENTOR_2_0_FILE.
  460.     File Downgrade Utility
  461.     A new utility program, /usr/sbin/ivdowngrade, takes an Inventor
  462.     file and converts it to Inventor version 2.0 or 1.0.
  463.     Program for Converting Files to Use SoVertexProperty
  464.     This release includes sample source code for a utility program,
  465.     ivAddVP, to help convert Inventor files into 2.1 files that use
  466.     the vertexProperty field for the vertex- based shapes.
  467.     Program for Optimizing Scene Graphs
  468.     This release includes a new utility program, /usr/sbin/ivfix
  469.     that restructures Inventor scene graphs for improved rendering
  470.     performance. (The ivquicken utility program is no longer
  471.     supported.) Note that ivfix makes significant changes to the
  472.     structure of your scene graph.
  473.     Program for Analyzing Rendering Performance
  474.     This release includes sample source code for a utility program,
  475.     ivperf, for analyzing rendering performance. See Open Inventor
  476.     2.1 Porting and Peformance Tips for more information on using
  477.     ivperf
  478.  
  479. ------------------------------
  480.  
  481. Subject:   -18- How hard is it to port from IRIS Inventor to Open
  482.                 Inventor?
  483. Date: 30 Apr 1994 15:45:00 CDT
  484.  
  485.   Most Inventor programs will be fairly easy to port. The Inventor 2.0
  486.   release notes contain detailed information on converting your
  487.   application. Most of your porting job will be fixing minor syntax
  488.   changes (e.g. some length() methods were renamed getLength() for
  489.   consistency with the rest of the toolkit) and fixing #include lines
  490.   for files under /usr/include/Inventor that were moved around (e.g.
  491.   all of the Xt components are now under /usr/include/Inventor/Xt).
  492.  
  493.   Inventor programs that contain a lot of IRIS GL code or that made
  494.   extensive use of Inventor subclassing will be more difficult to port,
  495.   since they will have to be ported to OpenGL and since the internal
  496.   structure of Inventor underwent some major changes.
  497.  
  498. ------------------------------
  499.  
  500. Subject:   -19- How hard is it to port from Open Inventor 2.0.1 to Open
  501.                 Inventor 2.1?
  502. Date: 09 Jan 1996 00:00:01 PST
  503.  
  504.   Open Inventor 2.1 contains significant performance improvements.
  505.   However, Inventor 2.1 is not binary compatible with previous
  506.   releases, and programs will have to be recompiled.  Some programs may
  507.   have to be re-coded to take full advantage of the performance
  508.   improvements. Programs that extend the toolkit, as described in The
  509.   Inventor Toolmaker, are more likely to need re-coding because parts
  510.   of the extender API have changed. For details, please read Open
  511.   Inventor 2.1 Porting and Performance Tips insight book.
  512.  
  513. ------------------------------
  514.  
  515. Subject:   -20- How can I make my Open Inventor application faster?
  516. Date: 09 Jan 1996 00:00:01 PST
  517.  
  518.   Read chapter 6 of "Open Inventor 2.1 Porting and Performance Tips"
  519.   insight book. It describes a step by step method to find out your
  520.   performance bottleneck and gives you some tips to optimize them.
  521.  
  522. ------------------------------
  523.  
  524. Subject:   -21- When I compile my Inventor program, I get an error in
  525.                 SoDebugError.h.
  526. Date: 30 Apr 1994 15:45:00 CDT
  527.  
  528.   You, or something you #include, are #include'ing the IRIS GL header
  529.   file (gl/gl.h). It does: "#define WARNING 2", which conflicts with
  530.   the enum value called "WARNING" in SoDebugError. You cannot mix Open
  531.   Inventor with IRIS GL anyway (because you cannot mix OpenGL with IRIS
  532.   GL), so you should fix your program so it doesn't try to #include
  533.   <gl/gl.h> it should use <GL/gl.h> the OpenGL include file.
  534.  
  535. ------------------------------
  536.  
  537. Subject:   -22- QUESTIONS ABOUT IRIS INVENTOR
  538. Date: 06 May 1995 00:00:01 EST
  539.  
  540.   Questions about Iris Inventor.
  541.  
  542. ------------------------------
  543.  
  544. Subject:   -23- What version of IRIS Inventor runs on which version of
  545.                 IRIX?
  546. Date: 30 Apr 1994 15:45:00 CDT
  547.  
  548.   IRIX      IRIS Inventor Version
  549.   --------------------------------
  550.   3.3.*   | (Inventor is not available for IRIX 3.*)
  551.   4.0.*   | 1.0.1
  552.   5.0.1   | (bad release... do not use)
  553.   5.1.*   | 1.1.2
  554.   5.2.*   | Open Inventor 2.0 (1.1.2 on VGX(T)/GT(X)/PI)
  555.  
  556. ------------------------------
  557.  
  558. Subject:   -24- Will I be automatically upgraded to Open Inventor if I
  559.                 have IRIS Inventor?
  560. Date: 30 Apr 1994 15:45:00 CDT
  561.  
  562.   Customers with software maintenance contracts that have purchased the
  563.   Inventor 1.0 developer's option will receive the Inventor 2.0
  564.   developer's option when they receive IRIX 5.2.
  565.  
  566. ------------------------------
  567.  
  568. Subject:   -25- Will my IRIS Inventor programs stop working if I install
  569.                 Open Inventor?
  570. Date: 06 May 1995 00:00:01 EST
  571.  
  572.    No. The Inventor 2.0 run-time system (inventor_eoe) contains a
  573.    complete set of compatibility libraries that will allow existing
  574.    IRIS Inventor applications to continue to work.
  575.  
  576. ------------------------------
  577.  
  578. Subject:   -26- Can I develop Open and IRIS Inventor programs on the
  579.                 same system?
  580. Date: 06 May 1995 00:00:01 EST
  581.  
  582.   Yes, as long as your system supports OpenGL (Indy, Indigo, Indigo2,
  583.   Crimson, and RealityEngine support OpenGL at this time). First,
  584.   install the 2.0 version of both inventor_dev and inventor_eoe.
  585.   REALLY IMPORTANT: When installing Inventor 2.0, previous Inventor
  586.   versions will AUTOMATICALLY be removed.
  587.  
  588.   To re-install 1.1.2, you will need to use the 1.1.2 CD* to install
  589.   1.1.2 into a different location (so as not to ruin 2.0). Please note
  590.   that you will have to change the Makefiles of programs that will
  591.   compile and link with 1.1.2 (-I and -l need to point to your safe
  592.   locations of Inventor 1.1.2). To install Inventor 1.1.2 under a
  593.   different root directory than /, so that Inventor 2.0 may be
  594.   installed under /:
  595.  
  596.       # Install 1.1.2 compatibility library from Inventor 2.0 images
  597.       inst -f inventor_eoe (get inventor_eoe.sw.1_1)
  598.       # Create a directory to hold Inventor 1.1.2
  599.       mkdir /usr/myroot
  600.       # Fool inst into thinking you have prerequisites installed
  601.       mkdir -p /usr/myroot/var/inst
  602.       cp /var/inst/{c,dev,c_dev,gl_dev,motif_eoe,inventor_eoe} /usr/myroot/var/inst
  603.       # Install Inventor 1.1.2 under your root directory
  604.       inst -r /usr/myroot -f inventor_dev
  605.  
  606.   To make Inventor 1.1.2 sample programs in this new directory:
  607.  
  608.       ln -s /usr/lib/libInventor.so.1 /usr/myroot/usr/lib/libInventor.so
  609.       cd /usr/myroot/usr/share/src/Inventor/examples/PG1
  610.       # Add to the Makefile, after the line: include /usr/include/make/commondefs
  611.       LC++INCS = -I/usr/myroot/usr/include
  612.       LCINCS   = -I/usr/myroot/usr/include
  613.       LLDOPTS  = -L/usr/myroot/usr/lib
  614.  
  615.   To re-install Inventor 1.0.1, install the subsystem
  616.   "irix4_inventor_dev", found on the Inventor 2.0 or Inventor 1.1.2
  617.   CDs. This will install the 1.0.1 headers and libraries under
  618.   /usr/irix4.  You must change your makefiles to use include and link
  619.   to this new location.
  620.  
  621. ------------------------------
  622.  
  623. Subject:   -27- Prerequisite error installing Inventor 1.1.2
  624. Date: 06 May 1995 00:00:01 EST
  625.  
  626.   Many customers are running into an inst installation prerequisite
  627.   error when they try to load inventor_dev 1.1.2 onto their IRIX 5.2
  628.   system. This error is due to a name change in c and dev subsystems
  629.   between IRIX 5.1 and 5.2. The new name is c_dev. The fix is to load
  630.   the *new* inventor_dev 1.1.2 (part # 812-0136-005) made for IRIX 5.2
  631.   that came with the Open Inventor 2.0 Development Package. This
  632.   version is smart enough to do the right thing. Unfortunately, both
  633.   the *old* and *new* inventor_dev 1.1.2 are barely distinguishable
  634.   only by their part number and content. The new inventor_dev 1.1.2 has
  635.   a Copyright of 1992-94 and does not contain inventor_eoe 1.1.2.
  636.  
  637. ------------------------------
  638.  
  639. Subject:   -28- Why do I get errors compiling the Inventor sample
  640.                 programs?
  641. Date: 06 May 1995 00:00:01 EST
  642.  
  643.   Inventor 1.0.1 requires C++ version 2.*. If you have C++ version 3.*
  644.   installed on your system, you must specify the -v2 flag to compile
  645.   Inventor programs. If you are using the Makefiles distributed with
  646.   Inventor, you should change the line that looks like:
  647.  
  648.     LC++OPTS = +p -Wf,-XNp10000
  649.  
  650.   to:
  651.  
  652.     LC++OPTS = -v2 +p -Wf,-XNp10000
  653.  
  654.   Inventor 1.1.2 and Inventor 2.0 work with C++ 3.*; you must remove
  655.   the -v2 flag from your Makefiles when you upgrade to those versions
  656.   of Inventor.
  657.  
  658.   If you receive this error when compiling:
  659.  
  660.     "/usr/include/X11/X.h", line 44: error:
  661.         Cursor declared as unsigned short [16] and  XID
  662.  
  663.   You should rearrange the order in which you #include your files so
  664.   that the Xt files are included before any file that references the
  665.   IRIS GL include file. For example, be sure to #include
  666.   <Inventor/SoXt.h> before <Inventor/nodes/SoTexture2.h>.
  667.  
  668. ------------------------------
  669.  
  670. End of sgi/faq/inventor Digest
  671. ******************************
  672. -- 
  673. The SGI FAQ group <sgi-faq@viz.tamu.edu>   http://www-viz.tamu.edu/~sgi-faq/
  674. Finger us for info on the SGI FAQs, or look in ftp://viz.tamu.edu/pub/sgi/.
  675.