home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso / answers / sgi / faq / performer < prev    next >
Encoding:
Internet Message Format  |  1994-10-06  |  47.8 KB

  1. Path: bloom-beacon.mit.edu!grapevine.lcs.mit.edu!olivea!charnel.ecst.csuchico.edu!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!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 performer Frequently Asked Questions (FAQ)
  5. Supersedes: <performer_780040807@viz.tamu.edu>
  6. Followup-To: comp.sys.sgi.misc
  7. Date: 6 Oct 1994 06:02:46 GMT
  8. Organization: Visualization Lab, Texas A&M University
  9. Lines: 1325
  10. Approved: news-answers-request@mit.edu
  11. Expires: 3 Nov 1994 06:00:07 GMT
  12. Message-ID: <performer_781423207@viz.tamu.edu>
  13. Reply-To: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  14. NNTP-Posting-Host: viz.tamu.edu
  15. Originator: sgi-faq@viz
  16. Xref: bloom-beacon.mit.edu comp.sys.sgi.misc:13804 comp.answers:7665 news.answers:26916
  17.  
  18. Archive-name: sgi/faq/performer
  19. Last-modified: Wed Aug 24 15:34:33 CDT 1994
  20.  
  21.     SGI performer Frequently Asked Questions (FAQ)
  22.  
  23. This is one of the Silicon Graphics FAQ series, which consists of:
  24.  
  25.     SGI admin FAQ - IRIX system administration
  26.     SGI apps FAQ - Applications and miscellaneous programming
  27.     SGI audio FAQ - Audio applications and programming
  28.     SGI graphics FAQ - Graphics and user environment customization
  29.     SGI hardware FAQ - Hardware
  30.     SGI Impressario FAQ - IRIS Impressario
  31.     SGI Inventor FAQ - IRIS Inventor
  32.     SGI misc FAQ - Introduction & miscellaneous information
  33.     SGI movie FAQ - Movies
  34.     SGI Performer FAQ - IRIS Performer
  35.     SGI pointer FAQ - Pointer to the other FAQs
  36.  
  37. Read the misc FAQ for information about the FAQs themselves.  Each FAQ
  38. is posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  39. newsgroups (whose purpose is to store FAQs) twice per month.  If you
  40. can't find one of the FAQs with your news program, you can get it by
  41. anonymous FTP from one of these sites:
  42.  
  43.     rtfm.mit.edu:/pub/usenet/comp.sys.sgi.misc/
  44.     rtfm.mit.edu:/pub/usenet/news.answers/sgi/faq/
  45.     rtfm.mit.edu:/pub/usenet/comp.answers/sgi/faq/
  46.     viz.tamu.edu:/pub/sgi/faq/
  47.  
  48. Note that rtfm.mit.edu is home to many other FAQs and informational
  49. documents, and is a good place to look if you can't find an answer
  50. here. If you can't use FTP, send mail to mail-server@rtfm.mit.edu with
  51. the command 'send usenet/news.answers/ftp-list/faq' on a line by itself
  52. in the text, and it will send you a document describing how to FTP by
  53. mail. You can also read a hypertext version of the FAQs at
  54.  
  55.     http://www.cis.ohio-state.edu/hypertext/faq/usenet/sgi/top.html
  56.  
  57. The SGI FAQs are freely distributable and we encourage wide circulation.
  58. The contents are accurate as far as we know, but the usual disclaimers
  59. apply. Please send additions and changes to sgi-faq@viz.tamu.edu.
  60.  
  61. Topics covered in this FAQ:
  62. ---------------------------
  63.    -1- What is IRIS Performer?
  64.    -2- Where can I get more technical information about IRIS Performer?
  65.    -3- Where can I get more product information about IRIS Performer?
  66.    -4- How does IRIS Performer relate to IRIS Inventor?
  67.    -5- What are the released versions of IRIS Performer?
  68.    -6- Is there a IRIS Performer file format?
  69.    -7- What database file formats can IRIS Performer read?
  70.    -8- Is there an IRIS Inventor file reader for IRIS Performer?
  71.    -9- What are the .tlf files used by the Performer Town and Village?
  72.   -10- What are the minimum requirements for using IRIS Performer?
  73.   -11- Binary Compatibility on different machines
  74.   -12- Binary Compatibility on different releases
  75.   -13- Guaranteeing Real Time performance
  76.   -14- How do I make GL calls from within a IRIS Performer program?
  77.   -15- How do I overlay graphics on top of my Performer scene?
  78.   -16- What is the difference between phases FREE, FLOAT, and LOCK?
  79.   -17- Which rendering primitives does IRIS Performer support?
  80.   -18- How do I do triangle meshes in Performer?
  81.   -19- What is pfInit(): mmap failed for /dev/zero ?
  82.   -20- =============== KNOWN PROBLEMS ===============
  83.   -21- Performer Town or Village demos
  84.   -22- Antialiasing
  85.   -23- Z buffer configuration on 4.0.5 RealityEngine
  86.   -24- Coplanar Polygons & pfDecal on certain platforms
  87.   -25- Networked graphics
  88.   -26- Transparency
  89.   -27- Frame control on low- and mid-range machines
  90.   -28- Timing on pre-1992 platforms
  91.   -29- 1.2 Bug Billboard normals and intersections
  92.   -30- 1.2 Bug Billboards with multiple pfGeoSets
  93.   -31- 1.2 Bug Flattening transformation hierarchies
  94.   -32- 1.2 Bug Gangdraw and cursor loading
  95.   -33- 1.2 libpf Bug Hang on Exit, 5.2 VGX
  96.   -34- 1.2 libpf Cull with overlapped draw latency
  97.   -35- 1.2 libpf Cull with overlapped draw hang
  98.   -36- 1.2 libpf Transparency Sorting
  99.   -37- 1.2 libpf Multiple EarthSky fog
  100.   -38- 1.2 libpf Bug Limit Phase
  101.   -39- 1.2 libpr Highlighting when using wireframe
  102.   -40- 1.2 libpf APPCULLDRAW does not honor LIMIT/FLOAT/LOCK phases
  103.   -41- 1.2 libpf Phase toggling overlapped cull and draw
  104.   -42- 1.2 libpf pfDataPool warning on exit
  105.   -43- 1.2 libpf Multi-channel stats warning messages
  106.   -44- 1.2 libpf Video warnings on Indy when multiprocessed
  107.   -45- 1.2 stats Frame statistics for lightpoints
  108.   -46- 1.2 stats Pixel fill statistics under 4.0.5 on RealityEngine
  109.   -47- 1.2 libpr Directional pfLightPoints
  110.   -48- 1.2 libpfutil pfuCollide is jerky
  111.   -49- 1.2 libpfutil pfuSaveImage broken
  112.   -50- 1.2 libpfsgi pfLoadDxf loader is incomplete
  113.   -51- 1.2 libpfsgi pfLoadIv loader is incomplete
  114.   -52- 1.2 GLX Overlay text with GLX on 4.0.5
  115.   -53- 1.2 GLX Toggling antialiasing with GLX on 4.0.5 RealityEngine
  116.   -54- 1.2 GLX Toggling antialiasing with GLX on any RealityEngine
  117.   -55- 1.2 GLX on 4.0.5 Indigo, sample programs hang on startup.
  118.   -56- 1.2 samples smallfly drive models broken
  119.   -57- 1.2 samples pickfly drops core under abuse
  120.   -58- 1.2 samples detail example broken on 4.0.5
  121.   -59- 1.2 friends Belvis makefile requires pmake
  122.   -60- 1.2 friends Toon has bad models and textures
  123.   -61- 1.2 docs pfuGetGLXWin wrong on reference page
  124.   -62- 1.2 docs pfuLockDownApp gives the incorrect location
  125.   -63- 1.1 Bug with FP underflow
  126.   -64- 1.1 Bug with Multipipe Onyx
  127.   -65- 1.1 Bug Installing on Indy or Indigo2 XL
  128.   -66- 1.1 Bug Unable to determine Indy graphics type
  129.   -67- 1.1 Bug perfly cannot find libpf.so on Indy running 5.1
  130.   -68- 1.1 Bug perfly FP error messages in 5.0.1
  131.   -69- 1.1 Bug Installation on IRIX 5.2 - missing prerequisites
  132.   -70- 1.0/1.1 Bug intersections with pfSwitch'es
  133.   -71- 1.0/1.1 Bug with pfTexture()
  134.   -72- 1.0/1.1 Bug with pfAntiAlias()
  135.   -73- 1.0/1.1 Bug with pfFlatten()
  136.   -74- 1.0/1.1 Bug with pfSequences
  137.   -75- 1.0/1.1 Bug with pfClosestPtOnPlane()
  138.   -76- 1.0/1.1 Bug on ELAN/XS with wireframe PFGS_QUADS
  139.   -77- 1.0 Doc Bug in pfMakePolarSeg() man page
  140.   -78- 1.0 Doc Bug in pfDispList() man page
  141.   -79- 1.0 Doc Bug in PFPG (simple.c)
  142.   -80- 1.0 Bug in pfGetTime()
  143.   -81- 1.0 Bug in pfNodeBBox()
  144.   -82- 1.0 Bug in pfInitGfx() with Z-buffer on RealityEngine
  145.   -83- 1.0 Bug in libpfflt combineLODs()
  146.   -84- 1.0 Bug with two-sided material and pfMtlColorMode()
  147.   -85- 1.0 Bug in pfFilePath()
  148.   -86- 1.0 Bug in pfGetCurGState()
  149.   -87- 1.0 Bug in pfGetCurState()
  150.   -88- 1.0 Bug with cloned scenes
  151.   -89- 1.0 Bug intersections in collide.c
  152.   -90- 1.0 Bug with flattened pfLightPoints
  153.   -91- 1.0 Bug intersections with pfSequences
  154.   -92- 1.0 Bug intersections with non-indexed quads
  155.  
  156. ----------------------------------------------------------------------
  157.  
  158. Subject:    -1- What is IRIS Performer?
  159. Date: 13 Apr 94 00:00:01 EST
  160.  
  161. IRIS Performer is a software development environment that supports
  162. programmers implementing high performance graphics applications on
  163. Silicon Graphics products.  It offers both high level facilities for
  164. visual simulation and virtual reality tasks and an application-neutral 
  165. high-performance hardware-oriented graphics toolkit.
  166.  
  167. The outer application specific layer of IRIS Performer implements the
  168. tasks needed by visual simulation applications: it performs culling
  169. so that only potentially visable geometry is sent to the graphics
  170. hardware; it controls multiple display channels; it provides fast
  171. intersection tests with simulation databases; and most importantly,
  172. it orchestrates all of this in parallel with rendering on multiple
  173. processor IRIS systems.
  174.  
  175. The lower-level rendering portion of IRIS Performer is designed for
  176. maximum performance: its efficient data structures reflect the
  177. details of CPU, cache, and memory system architectures; its tuned
  178. rendering loops convert the system CPU into an optimized data
  179. movement engine; and its optimized state management system optimizes
  180. hardware utilization.
  181.  
  182. IRIS Performer provides a high-performance portability path across
  183. the Silicon Graphics product line. The low level library is
  184. implemented as a hardware-specific shared library, so applications
  185. based on IRIS Performer can achieve peak performance on graphics
  186. systems from Indy to RealityEngine2 without changes or
  187. recompilation.
  188.  
  189. The product includes a programmer's guide and printed man pages, as
  190. well as on-line man pages, test and demonstration programs, and
  191. complete real-time visual simulation applications. These applications
  192. are provided in source form as an examples of how to build real-time
  193. simulation systems using IRIS Performer. 
  194.  
  195. And lastly, the distribution includes a wide variety of source code,
  196. demos, models, and utilities that have been provided by 3rd party
  197. vendors for your use.  We call these vendors "friends of Performer"
  198. and we encourage you to sample their wares.
  199.  
  200. ------------------------------
  201.  
  202. Subject:    -2- Where can I get more technical information about IRIS
  203.                 Performer?
  204. Date: 06 Oct 93 00:00:01 EST
  205.  
  206. The best method is to join the IRIS Performer mailing list.
  207.  
  208. The list is intended to be an unmoderated, free-form discussion of
  209. IRIS Performer with issues both technical and non-technical; and to
  210. provide feedback to Silicon Graphics about the product.  Much like
  211. the comp.sys.sgi.* newsgroups, it is not an official support channel
  212. but is monitored by several interested SGI employees familiar with
  213. the toolkit.
  214.  
  215. To become a subscriber to the IRIS Performer mailing list you must
  216. send email to:
  217.  
  218.     info-performer-request@sgi.com
  219.  
  220. New subscribers are added "by hand".  Once your request is processed
  221. you will recieve submission/posting instructions, some guidelines,
  222. and a current copy of the Performer Frequently-Asked-Questions (FAQ)
  223. list.
  224.  
  225. ------------------------------
  226.  
  227. Subject:    -3- Where can I get more product information about IRIS
  228.                 Performer?
  229. Date: 06 Jun 93 00:00:01 EST
  230.  
  231. For product information about IRIS Performer or SGI Visual Simulation
  232. issues contact John Burwell (johnnyb@asd.sgi.com).  To learn about
  233. SGI Virtual Reality solutions contact Joshua Mogal (415) 390-1460
  234. (mogal@asd.sgi.com).  To just give in and buy a copy call SGI Direct
  235. at 1-800-800-7441 (product SC4-PERF-1.2), or to have both a
  236. demonstration and a presentation call your local SGI sales office.
  237.  
  238. ------------------------------
  239.  
  240. Subject:    -4- How does IRIS Performer relate to IRIS Inventor?
  241. Date: 26 Jun 93 00:00:01 EST
  242.  
  243. The short answer is, Performer was designed for vis-sim, while
  244. Inventor was designed to be more general purpose.
  245.  
  246. IRIS Performer is for developers who need to extract maximum
  247. performance from SGI machines for visual simulation, virtual reality,
  248. game development, and high-end CAD systems.  Often these applications
  249. need multi-processor Onyx systems with multiple RealityEngine
  250. pipelines with a high degree of parallelism and running at fixed
  251. frame rates.
  252.  
  253. Inventor is designed for maximum programmer productivity when writing
  254. other kinds of 3D applications, like modelling, animation,
  255. visualization, etc.
  256.  
  257. Both toolkits are general purpose enough that they could be extended
  258. into the domain of the other, but the question you should consider is
  259. "what is the *fundamental* goal of my graphics development?" If it's
  260. portability to non-SGI systems, easy X-window system integration, or
  261. handy graphic widgets, IRIS Inventor is for you.  If it's brochure-
  262. level performance in advanced graphic applications for the specific
  263. domains listed above, then IRIS Performer would be the likely tool.
  264.  
  265. ------------------------------
  266.  
  267. Subject:    -5- What are the released versions of IRIS Performer?
  268. Date: 8 Apr 94 00:00:01 EST
  269.  
  270. IRIS Performer 1.2/IRIX5:  For machines running IRIX 5.2 or above
  271. IRIS Performer 1.2/IRIX4:  For machines running IRIX 4.0.5(A-J) only
  272. IRIS Performer 1.1:  (now obsolete) For machines running IRIX 5.x only
  273. IRIS Performer 1.0:  (now obsolete) For machines running IRIX 4.x only
  274.  
  275. Note that 1.2 is shipped for both 4.0.5 and 5.2 systems.  You should
  276. only install that version of IRIS Performer that is appropriate for
  277. your machine.  The IRIS Performer version is indicated by the "Irix4"
  278. or "Irix5" string in each product name.  Irix4 products should only
  279. be installed on 4.0.5 systems and Irix5 products should only be
  280. installed on 5.2 systems.
  281.  
  282. When a choice is possible between IRIX 5.2 and IRIX 4.0.5, IRIX 5.2
  283. is preferable.  IRIX 5.2 is the current operating system release and
  284. contains many bug fixes and enhancements utilized by IRIX Performer
  285. 1.2.   IRIS Performer 1.2 for IRIX 4.0.5 is intended only for users
  286. who are unable to upgrade to IRIX 5.2.
  287.  
  288. ------------------------------
  289.  
  290. Subject:    -6- Is there a IRIS Performer file format?
  291. Date: 26 Oct 93 00:00:01 EST
  292.  
  293. Not at this time.  A binary file format is a desired feature for
  294. a future release.  Currently, IRIS Performer has functionality to
  295. load other vendors' database files at run time.
  296.  
  297. ------------------------------
  298.  
  299. Subject:    -7- What database file formats can IRIS Performer read?
  300. Date: 8 Apr 94 00:00:01 EST
  301.  
  302. IRIS Performer 1.2 includes loading utilities and file loaders for:
  303.  
  304.     - The SGI .bin, .sgo, .gfo, .poly, and .ptu formats
  305.     - IRIS Inventor's .iv format.
  306.     - Coryphaeus' Software .dwb format.
  307.     - Software Systems Version 11, 13, and 14 .flt
  308.     - The SuperViewer .sv format used in I3DM
  309.     - Lightscape Graphics Software's .lsa and .lsb formats
  310.     - Autodesk's AutoCAD .dxf format
  311.     - Miscellaneous formats (.gfo, .irtp, .stla, .stlb).
  312.  
  313. For source code to loaders for MultiGen .flt versions greater than
  314. 11, contact Software Systems at (408) 247-4326.
  315.  
  316. IRIS Performer 1.0 and 1.1 include database loaders for MultiGen v11
  317. "flt", SGI "bin", and SGI "obj" formats.
  318.  
  319. ------------------------------
  320.  
  321. Subject:    -8- Is there an IRIS Inventor file reader for IRIS
  322.                 Performer?
  323. Date: 8 Apr 94 00:00:01 EST
  324.  
  325. Yes.  IRIS Performer 1.2 includes a .iv reader that will read a
  326. subset of the IRIS Inventor 1.0 format.  A fully-functional reader
  327. for Open Inventor files will be released via the performer mailing
  328. list at a future time.
  329.  
  330. ------------------------------
  331.  
  332. Subject:    -9- What are the .tlf files used by the Performer Town and
  333.                 Village?
  334. Date: 8 Apr 94 00:00:01 EST
  335.  
  336. They are encrypted .flt files of the Town and Village database.
  337. Only the "demo" version of perfly can read these files.
  338.  
  339. Unencrypted versions of the Town and Village databases are included
  340. in the performer_friends.sw.town subsystem of Performer 1.2.
  341.  
  342. ------------------------------
  343.  
  344. Subject:   -10- What are the minimum requirements for using IRIS
  345.                 Performer?
  346. Date: 8 Apr 94 00:00:01 EST
  347.  
  348. IRIS Performer 1.2/IRIX5 requires IRIX 5.2.  This is the recommended
  349. configuration for users of IRIS Performer.
  350.  
  351. IRIS Performer 1.2/IRIX4 requires IRIX 4.0.5.  Because IRIX 4.0.5F
  352. added several new Graphics Library (GL) calls to support
  353. RealityEngine features, any application that uses GL routines or
  354. tokens found only in 4.0.5F and later, will not run properly under
  355. 4.0.5C and earlier releases.
  356.  
  357. ------------------------------
  358.  
  359. Subject:   -11- Binary Compatibility on different machines
  360. Date: 8 Apr 94 00:00:01 EST
  361.  
  362. In Performer 1.2 for IRIX 4.0.5, libpr is platform- specific with one
  363. of two versions installed depending on whether the machines is a
  364. RealityEngine or not.  Binaries linked on non-RealityEngine machines
  365. will run on a RealityEngine, but not all features will be available.
  366.  
  367. Performer 1.2 for IRIX 5.2 contains a single version of libpr for all
  368. machines.  Applications built with Performer 1.2 for Irix 5.2 are
  369. fully compatible across machines and can run on any Irix 5.2 machine
  370. without relinking.
  371.  
  372. ------------------------------
  373.  
  374. Subject:   -12- Binary Compatibility on different releases
  375. Date: 8 Apr 94 00:00:01 EST
  376.  
  377. IRIS Performer requires IRIX 4.0.5 or later.  Because IRIX 4.0.5F
  378. added several new GL calls to support RealityEngine features, an
  379. application that uses GL routines or tokens found only in 4.0.5F and
  380. later does not run properly under 4.0.5, 4.0.5B, or 4.0.5C.  When run
  381. on these earlier IRIX releases, an IRIS Performer application making
  382. calls to GL functions or using GL tokens that are undefined in the
  383. run-time environment cause run-time errors or undefined behavior.
  384.  
  385. An IRIS Performer binary compiled and linked under IRIX releases
  386. earlier than 4.0.5F, run under IRIX 4.0.5F and later, but some
  387. RealityEngine features are not directly accessible to the
  388. application.  An application can still access RealityEngine features
  389. supported automatically or explicitly through IRIS Performer when
  390. linked with IRIS Performer shared libraries.
  391.  
  392. Running a IRIS Performer application built with IRIX 4.0.5 on IRIX
  393. 5.X is not recommended.  In particular, multiprocess applications
  394. cannot take advantage of all processors.  Also, because IRIX 4.0.5's
  395. relaxed shared memory accounting was replaced by a despotic and
  396. stricter regime under IRIX 5.2, a Performer application built on
  397. 4.0.5 will need a much larger amount of swap space to be allocated up
  398. front unless PFTMPDIR is used to specify a memory mapped file.
  399.  
  400. ------------------------------
  401.  
  402. Subject:   -13- Guaranteeing Real Time performance
  403. Date: 8 Apr 94 00:00:01 EST
  404.  
  405. Since having other applications running can effect real-time
  406. performance, it's sometimes desirable to minimize the number of
  407. daemons and other processes.  If you have problems achieving
  408. real-time behavior, try the pfuLockCPU in libpfutil.  You might also
  409. try turning off the desktop support and other daemons that are not
  410. crucial to your application, e.g.:
  411.  
  412.    % touch ~/.disableDesktop
  413.   or
  414.    % mkdir ~/.desktop-<machinename>
  415.    % touch ~/.desktop-<machinename>/nodesktop
  416.  
  417. and for total removal do:
  418.  
  419.    % chkconfig desktop off
  420.    % chkconfig objectserver off
  421.    % chkconfig directoryserver off
  422.    % chkconfig fontserver off
  423.    % chkconfig soundscheme off
  424.  
  425. Other tips:
  426.  
  427.    - Be sure to run as root.
  428.  
  429.    - Be sure to kill any clocks, gr_osview, or other tools that may
  430.      wake up and draw themselves.
  431.  
  432.    - When multiprocessing, make sure the executable is on a local
  433.      file system.
  434.  
  435. ------------------------------
  436.  
  437. Subject:   -14- How do I make GL calls from within a IRIS Performer
  438.                 program?
  439. Date: 26 Oct 93 00:00:01 EST
  440.  
  441. GL calls can only be made from a process that has a GL context.  In
  442. multi-process Performer applications only the draw process has GL
  443. context, so you must make your GL calls in a function called in the
  444. draw process.
  445.  
  446. The pipe initialization callback, draw function callback, and node
  447. draw callbacks are all executed in the draw process.
  448.  
  449. In an application that only will ever run single-process, GL calls
  450. can be made from anywhere in the program.
  451.  
  452. To set up a pipe initialization callback, see the pfInitPipe() man page.
  453. To set up a draw function callback, see the pfChanDrawFunc() man page.
  454. To set up a node draw callback, see the pfNodeTravFuncs() man page.
  455.  
  456. ------------------------------
  457.  
  458. Subject:   -15- How do I overlay graphics on top of my Performer scene?
  459. Date: 06 Oct 93 00:00:01 EST
  460.  
  461. Typically this is done to implement a heads-up display (HUD).
  462.  
  463. In the draw function callback, the basic algorithm is:
  464.  
  465.     save state with pfPushState()
  466.     disable textures, fog, & lighting with pfBasicState()
  467.     save & clear projection matrix
  468.     ortho2()
  469.     save & clear modelling matrix
  470.     draw()
  471.     restore modelling matrix
  472.     restore projection matrix
  473.     restore state with pfPopState()
  474.  
  475. Or, you can draw your static info in the overlay planes and only
  476. redraw it when the window receives a REDRAW event (moved, resized,
  477. etc.).  Changing between drawing to the overlays and drawing to
  478. regular bitplanes takes a big hit.
  479.  
  480. For things that need to be updated real-time, draw() would consist
  481. of:
  482.  
  483.         zfunction(ZF_ALWAYS);
  484.         zwritemask(0x0);
  485.     draw HUD stuff
  486.         zfunction(ZF_LEQUAL);
  487.         zwritemask(0xffffffff);
  488.  
  489. ------------------------------
  490.  
  491. Subject:   -16- What is the difference between phases FREE, FLOAT, and
  492.                 LOCK?
  493. Date: 26 Oct 93 00:00:01 EST
  494.  
  495. PFPHASE_FREE_RUN wakes the application and draw processes up on the
  496. next video field boundary after the draw finishes. i.e. it's
  497. Performer's version of the usual run as-fast-as-I-can or
  498. as-slow-as-I-must mode that most simple graphics programs use.
  499.  
  500. PFPHASE_FLOAT wakes the application up only on frame boundaries, i.e.
  501. time = n*(1/frame_rate).  However, the draw process "floats" with
  502. respect to the frame rate and wakes up on the next possible field
  503. boundary and then does a swapbuffers() when it's done, regardless of
  504. whether it finished drawing in time for the desired frame rate.
  505. Hence you see every frame that's drawn to the backbuffer, but it may
  506. not appear at exactly the time for which it was planned.  If you
  507. never frame extend, it behaves like PFPHASE_FIXED.  Latency is
  508. variable.
  509.  
  510. PFPHASE_LOCK wakes the application and draw up only on frame
  511. boundaries and only swaps on frame boundaries.  The advantage is that
  512. each new image always appears at precisely the time for which it was
  513. rendered.  The disadvantage is that if the draw runs even slightly
  514. over a frame time, you skip that entire frame and are stuck with an
  515. outdated picture for a frame.  Latency is fixed.
  516.  
  517. For more information see the pfPhase() man page or section 7.1.2 of
  518. the PFPG.
  519.  
  520. ------------------------------
  521.  
  522. Subject:   -17- Which rendering primitives does IRIS Performer support?
  523. Date: 8 Apr 94 00:00:01 EST
  524.  
  525. Points (PFGS_POINTS), 
  526. Independent line segments (PFGS_LINES), 
  527. Connected line strips (PFGS_LINESTRIPS), 
  528. Flat connected line strips (PFGS_FLAT_LINESTRIPS), 
  529. Independent Triangles (PFGS_TRIS), 
  530. Connected triangle strips (PFGS_TRISTRIPS),
  531. Flat Connected triangle strips (PFGS_FLAT_TRISTRIPS),
  532. Independent quadrilaterals (PFGS_QUADS).
  533.  
  534. See the pfGeoSet(3pf) man page for more information.
  535.  
  536. ------------------------------
  537.  
  538. Subject:   -18- How do I do triangle meshes in Performer?
  539. Date: 06 Oct 93 00:00:01 EST
  540.  
  541. You must change your triangle meshes to triangle strips by hand.
  542. In Performer 1.2, pfuMeshGSet (from libpfutil) will do this for you.
  543.  
  544. ------------------------------
  545.  
  546. Subject:   -19- What is pfInit(): mmap failed for /dev/zero ?
  547. Date: 26 Oct 93 00:00:01 EST
  548.  
  549. This means that you tried to run a Performer 1.0 application 
  550. (such as a 4.x version of perfly) on a machine running IRIX 5.x.  
  551. Virtual memory management is different in IRIX 5.x.  In order
  552. for your program to work properly you must:
  553.  
  554.    % setenv PFTMPDIR /usr/tmp
  555.  
  556. ------------------------------
  557.  
  558. Subject:   -20- =============== KNOWN PROBLEMS ===============
  559. Date: 8 Apr 94 00:00:01 EST
  560.  
  561. ------------------------------
  562.  
  563. Subject:   -21- Performer Town or Village demos
  564. Date: 26 Oct 93 00:00:01 EST
  565.  
  566. It was reported that perfly would cause an Onyx RE or VTX running
  567. IRIX 5.0 to hang.  This was fixed in 5.0.1.
  568.  
  569. In 5.0.1, perfly would generate floating point exceptions due to a
  570. bug in the font manager library (libfm).  This was fixed in 5.1.
  571.  
  572. In 5.x, the town and village demos could sometimes be 'jerky'.  This
  573. is better in 5.2.  See the above section on "Guaranteeing Real Time
  574. performance"
  575.  
  576. ------------------------------
  577.  
  578. Subject:   -22- Antialiasing
  579. Date: 8 Apr 94 00:00:01 EST
  580.  
  581. When it is not multisampling, pfAntialias can significantly degrade
  582. performance.  Specifically, on non-RealityEngine systems, use
  583. pfAntialias only for lines and points.
  584.  
  585. ------------------------------
  586.  
  587. Subject:   -23- Z buffer configuration on 4.0.5 RealityEngine
  588. Date: 8 Apr 94 00:00:01 EST
  589.  
  590. Z buffer config on 4.0.5 RealityEngine: On some versions of IRIX
  591. 4.0.5, mssize(4,24,1) (the default by pfAntiAlias) generates an
  592. unusable Z configuration.  For these machines, call mssize(4,32,1)
  593. followed by gconfig() in your pipe initialization routine and do not
  594. attempt to toggle antialiasing.
  595.  
  596. ------------------------------
  597.  
  598. Subject:   -24- Coplanar Polygons & pfDecal on certain platforms
  599. Date: 8 Apr 94 00:00:01 EST
  600.  
  601. pfDecal works only on machines that support the stencil or
  602. displacepolygon command.  The default decaling mode for PFDECAL_BASE
  603. now uses displacepolygon instead of stencil.  This can significantly
  604. improve rendering performance but can result in visual anomalies
  605. where layer polygons incorrectly "poke" through other geometry.  If
  606. you wish the old behavior then specify the PFDECAL_BASE_HIGH_QUALITY
  607. token.
  608.  
  609. ------------------------------
  610.  
  611. Subject:   -25- Networked graphics
  612. Date: 8 Apr 94 00:00:01 EST
  613.  
  614. Networked graphics: libpf does not support applications that use
  615. networked GL, that is DGL.  However, applications using libpr can use
  616. DGL.
  617.  
  618. ------------------------------
  619.  
  620. Subject:   -26- Transparency
  621. Date: 8 Apr 94 00:00:01 EST
  622.  
  623. pfTransparency works only on machines that support either
  624. blendfunction or multisampling.
  625.  
  626. Sometimes users report that their transparency seems quantized.  This
  627. is not a bug -- Performer defaults to using Multisample transparency
  628. (msalpha) when multisampling is enabled, instead of using the
  629. "standard" (blendfunction) transparency mechanism.
  630.  
  631. Multisample transparency is faster but has much less resolution, and
  632. so less quality.  Standard transparency using blendfunction is
  633. slower, but the quality is very good.
  634.  
  635. To force Performer to use higher-quality (but slower) transparency
  636. when multisampling,
  637.  
  638. 1.0/1.1:  pfGStateMode (gstate, PFSTATE_TRANSPARENCY, 2);
  639. 1.2:      pfGStateMode (gstate, PFSTATE_TRANSPARENCY, PFTR_HIGH_QUALITY);
  640.                           aka PFTR_BLEND_ALPHA
  641.  
  642. In 1.0/1.1 the BLEND_ALPHA token was not exposed, but just use '2'.
  643. Be sure to revisit this code when you port to 1.2, as the token has
  644. changed.
  645.  
  646. See the pfTransparency(3pf) man page for more details.
  647.  
  648. ------------------------------
  649.  
  650. Subject:   -27- Frame control on low- and mid-range machines
  651. Date: 8 Apr 94 00:00:01 EST
  652.  
  653. Currently, the video clock (pfInitVClock, pfGetVClock, pfVClockSync)
  654. is supported only on systems with VGX, VGXT, RealityEngine,
  655. RealityEngine2, Elan, XS, and Extreme graphics hardware.  On other
  656. systems, pfVClockSync returns immediately.  Because libpf normally
  657. uses pfVClockSync for frame rate control, frame control is not
  658. rigorous on other platforms.
  659.  
  660. ------------------------------
  661.  
  662. Subject:   -28- Timing on pre-1992 platforms
  663. Date: 8 Apr 94 00:00:01 EST
  664.  
  665. Several libpf functions require high-resolution timing information.
  666. On most recent machines (Indy, Indigo, Indigo2, 4D/35 and Onyx) and
  667. PowerSeries or Crimson machines with IO3 boards, IRIS Performer uses
  668. special hardware counters with sub-microsecond resolution.  (The IO3
  669. board is standard on Crimson and recent 4D/300 and 4D/400 machines.
  670. You can check for it with the hinv(1M) command.)
  671.  
  672. On other platforms, for example, those with IO2 boards, the
  673. time-of-day clock is used, which, by default, has a 10 ms
  674. resolution.  This resolution is inadequate for many libpf functions,
  675. including animation sequences (pfSequence), graphics load computation
  676. (pfChanStress), and the display of accurate channel statistics
  677. (pfDrawChanStats).
  678.  
  679. To use any of these features on machines without high- resolution
  680. hardware timers, enable fast timers.  See the man page for ftimer for
  681. more information.  Frame rate control particularly bad on machines
  682. which lack both a fast clock and the video clock used by
  683. pfVClockSync.
  684.  
  685.  
  686. ------------------------------
  687.  
  688. Subject:   -29- 1.2 Bug Billboard normals and intersections
  689. Date: 8 Apr 94 00:00:01 EST
  690.  
  691. During rendering, pfBillboard normals are not affected by the
  692. transformation applied to make the geometry follow the eye.
  693. Intersection testing of line segments (pfSegsIsectNode) against the
  694. pfGeoSet's geometry and bounding box are not yet implemented; only
  695. the bounding sphere of the entire pfBillboard is available.
  696.  
  697. ------------------------------
  698.  
  699. Subject:   -30- 1.2 Bug Billboards with multiple pfGeoSets
  700. Date: 8 Apr 94 00:00:01 EST
  701.  
  702. Using pfBillboards with more than one pfGeoSet sometimes causes a
  703. segmentation violation during the first cull traversal.  Workaround:
  704. use only a single pfGeoSet per pfBillboard at some cost in
  705. performance.
  706.  
  707. ------------------------------
  708.  
  709. Subject:   -31- 1.2 Bug Flattening transformation hierarchies
  710. Date: 8 Apr 94 00:00:01 EST
  711.  
  712. pfFlatten does not work properly on pfGeodes that share pfGeoSets
  713. with other pfGeodes.
  714.  
  715. ------------------------------
  716.  
  717. Subject:   -32- 1.2 Bug Gangdraw and cursor loading
  718. Date: 8 Apr 94 00:00:01 EST
  719.  
  720. Loading the cursor with ganged swapbuffers (external swapready wire)
  721. hangs graphics.  Workaround:  don't load the cursor or run
  722. applications which change it.
  723.  
  724. ------------------------------
  725.  
  726. Subject:   -33- 1.2 libpf Bug Hang on Exit, 5.2 VGX
  727. Date: 8 Apr 94 00:00:01 EST
  728.  
  729. On VGXT running 5.2, calling pfExit when the phase is PFPHASE_LOCK or
  730. PFPHASE_FLOAT can leave an inactive window and DRAW process.
  731. Workaround: switch to PFPHASE_FLOAT or PFPHASE_FREE before exiting or
  732. kill -9 <pid> afterwards.
  733.  
  734. ------------------------------
  735.  
  736. Subject:   -34- 1.2 libpf Cull with overlapped draw latency
  737. Date: 8 Apr 94 00:00:01 EST
  738.  
  739. When running PFPHASE_LIMIT or PFPHASE_FREE, the draw can start late
  740. resulting in higher latency.
  741.  
  742. ------------------------------
  743.  
  744. Subject:   -35- 1.2 libpf Cull with overlapped draw hang
  745. Date: 8 Apr 94 00:00:01 EST
  746.  
  747. When running PFPHASE_LIMIT or PFPHASE_FREE, with processes locked and
  748. non-degrading priorities, it is possible to lock out the X server and
  749. hang the system.
  750.  
  751. ------------------------------
  752.  
  753. Subject:   -36- 1.2 libpf Transparency Sorting
  754. Date: 8 Apr 94 00:00:01 EST
  755.  
  756. When the PFCULL_SORT mode of pfChanTravMode is set, transparent
  757. objects are drawn after all opaque geometry.  However, transparent
  758. objects are not sorted back to front among themselves, so visual
  759. anomalies can result when using blended transparency.  Workaround:
  760. use multisample transparency (PFTR_MS_ALPHA), if available.
  761.  
  762. ------------------------------
  763.  
  764. Subject:   -37- 1.2 libpf Multiple EarthSky fog
  765. Date: 8 Apr 94 00:00:01 EST
  766.  
  767. When using multiple pipes which share pfEarthSky fog set by
  768. pfESkyFog, the fog may appear to change densities and flash.
  769. Workaround: to guarantee that pfClearChan is not called
  770. simultaneously by more than one pipe.  This may be accomplished with
  771. a hardware spin lock (see usnewlock)
  772.  
  773. ------------------------------
  774.  
  775. Subject:   -38- 1.2 libpf Bug Limit Phase
  776. Date: 8 Apr 94 00:00:01 EST
  777.  
  778. The PFPHASE_LIMIT mode of pfPhase only works when the draw stage is
  779. configured as a separate process.  For example, the PFMP_APP_CULLDRAW
  780. mode to pfMultiprocess specifies that the cull and draw stages are
  781. combined into a single process and so will not be affected by a LIMIT
  782. phase.
  783.  
  784. ------------------------------
  785.  
  786. Subject:   -39- 1.2 libpr Highlighting when using wireframe
  787. Date: 8 Apr 94 00:00:01 EST
  788.  
  789. Using highlighting when in wireframe mode can cause random,
  790. flickering, or otherwise misbehaved polygons.
  791.  
  792. ------------------------------
  793.  
  794. Subject:   -40- 1.2 libpf APPCULLDRAW does not honor LIMIT/FLOAT/LOCK
  795.                 phases
  796. Date: 8 Apr 94 00:00:01 EST
  797.  
  798. When in PFMP_APPCULLDRAW mode, both FREE_RUN and LIMIT act the same;
  799. as do FLOAT and LOCK.
  800.  
  801. ------------------------------
  802.  
  803. Subject:   -41- 1.2 libpf Phase toggling overlapped cull and draw
  804. Date: 8 Apr 94 00:00:01 EST
  805.  
  806. When running in the PFMP_CULLoDRAW multiprocessing mode, changing the
  807. phase from PFPHASE_LOCK or PFPHASE_FLOAT to PFPHASE_FREE_RUN or
  808. PFPHASE_LIMIT can cause the application to deadlock.  
  809.  
  810. In perfly, rapidly toggling the phase when running with the
  811. PFMP_CULLoDRAW multiprocessing model ("perfly -m 65540" or "perfly -m
  812. 65542") can cause the application to hang.  
  813.  
  814. Workaround: toggle only once every few frames or not at all.
  815.  
  816. ------------------------------
  817.  
  818. Subject:   -42- 1.2 libpf pfDataPool warning on exit
  819. Date: 8 Apr 94 00:00:01 EST
  820.  
  821. A warning similar to the following sometimes occurs when a sample
  822. program exits: "Performer Warning (2):  pfReleaseDPool() Could not
  823. unlink arena shared memory /usr/tmp/pfUtilDataPool11638.pfdpool."
  824. This warning is harmless and can be ignored.
  825.  
  826. ------------------------------
  827.  
  828. Subject:   -43- 1.2 libpf Multi-channel stats warning messages
  829. Date: 8 Apr 94 00:00:01 EST
  830.  
  831. When a multi-channel libpf application enables libpr pfStats modes
  832. (such as graphics statistics -- PFSTATS_GFX) in multiple channels at
  833. the same time, warning messages are printed every frame.  The
  834. calculated statistics will be correct.  To stop the stream of warning
  835. messages, raise the pfNotifyLevel in the program or set the
  836. enviornment variable PFNFYLEVEL to a value smaller than 2.
  837.  
  838. ------------------------------
  839.  
  840. Subject:   -44- 1.2 libpf Video warnings on Indy when multiprocessed
  841. Date: 8 Apr 94 00:00:01 EST
  842.  
  843. When an application on an Indy is forced to run the APP and DRAW in
  844. separate processes, e.g.  pfMultiprocess(PFMP_APP_CULLDRAW),
  845. pfGetVideoRate warnings are printed when process timing stats are
  846. on.  To stop the stream of warning messages, raise the pfNotifyLevel
  847. in the program or set the enviornment variable PFNFYLEVEL to a value
  848. smaller than 2.
  849.  
  850. ------------------------------
  851.  
  852. Subject:   -45- 1.2 stats Frame statistics for lightpoints
  853. Date: 8 Apr 94 00:00:01 EST
  854.  
  855. pfFrameStats for visible uni-directional and bi-directional
  856. pfLightPoint nodes and points are incorrect.  These statistics are
  857. part of the pfFrameStats database statistics (PFFSTATS_DB) and these
  858. specific counts are incorrect.  However, the counts for total number
  859. of visible pfLightPoint nodes and points are correct, and so are the
  860. counts for Omni-directional pfLightPoint nodes and points.  However,
  861. these numbers are only counted when PFFSTATS_CULL are enabled.
  862.  
  863. ------------------------------
  864.  
  865. Subject:   -46- 1.2 stats Pixel fill statistics under 4.0.5 on
  866.                 RealityEngine
  867. Date: 8 Apr 94 00:00:01 EST
  868.  
  869. Under 4.0.5, fill statistics do not work when multisampling.
  870. Workaround: turn off multisampling.
  871.  
  872. ------------------------------
  873.  
  874. Subject:   -47- 1.2 libpr Directional pfLightPoints
  875. Date: 8 Apr 94 00:00:01 EST
  876.  
  877. Specifying a pfLightPoint node as PFLP_UNIDIRECTIONAL or
  878. PFLP_BIDIRECTIONAL can cause a core dump in pfLightPoint::cull.
  879. Workaround: set the color of the first light point with
  880. pfLPointColor(lp, 0, color) before calling pfLPointShape.
  881.  
  882. ------------------------------
  883.  
  884. Subject:   -48- 1.2 libpfutil pfuCollide is jerky
  885. Date: 8 Apr 94 00:00:01 EST
  886.  
  887. The collision model jerks and bounces when you keep hitting something.
  888.  
  889. ------------------------------
  890.  
  891. Subject:   -49- 1.2 libpfutil pfuSaveImage broken
  892. Date: 8 Apr 94 00:00:01 EST
  893.  
  894. The image file generated by pfuSaveImage is bogus.
  895.  
  896. ------------------------------
  897.  
  898. Subject:   -50- 1.2 libpfsgi pfLoadDxf loader is incomplete
  899. Date: 8 Apr 94 00:00:01 EST
  900.  
  901. The DXF loader does not fully support the format.
  902.  
  903. ------------------------------
  904.  
  905. Subject:   -51- 1.2 libpfsgi pfLoadIv loader is incomplete
  906. Date: 8 Apr 94 00:00:01 EST
  907.  
  908. The IRIS Inventor loader reads a subset of the IRIS Inventor 1.0
  909. format.
  910.  
  911. ------------------------------
  912.  
  913. Subject:   -52- 1.2 GLX Overlay text with GLX on 4.0.5
  914. Date: 8 Apr 94 00:00:01 EST
  915.  
  916. In the sample programs (e.g. perfly) on some platforms, sometimes
  917. drawing messages (pfuDrawMessageCI) to the overlay planes in GLX mode
  918. doesn't work under 4.0.5.  Workaround: use only in GL mode (e.g. do
  919. not use "perfly -x") or upgrade to IRIX 5.2.
  920.  
  921. ------------------------------
  922.  
  923. Subject:   -53- 1.2 GLX Toggling antialiasing with GLX on 4.0.5
  924.                 RealityEngine
  925. Date: 8 Apr 94 00:00:01 EST
  926.  
  927. Toggling antialiasing in the sample programs running in GLX mode on a
  928. 4.0.5 RealityEngine apparently confuses the graphics pipe and causes
  929. wild texturing.  Workaround: use only in GL mode (e.g. do not use
  930. "perfly -x") or upgrade to IRIX 5.2.
  931.  
  932. ------------------------------
  933.  
  934. Subject:   -54- 1.2 GLX Toggling antialiasing with GLX on any
  935.                 RealityEngine
  936. Date: 8 Apr 94 00:00:01 EST
  937.  
  938. When antialiasing is toggled with the GUI in GLX mode, the GL window
  939. changes.  As each texture textures first comes into view, it is
  940. downloaded to the graphics hardware.  Occasional pauses will be seen
  941. until all textures are reloaded in the graphics hardware.  This can
  942. be avoided by redownloading all textures (pfuDownloadTexList).
  943.  
  944. ------------------------------
  945.  
  946. Subject:   -55- 1.2 GLX on 4.0.5 Indigo, sample programs hang on
  947.                 startup.
  948. Date: 8 Apr 94 00:00:01 EST
  949.  
  950. Some sample programs will hang on startup if in GLX mode.
  951. Workaround:  start up only in GL mode (e.g. do not use "perfly -x")
  952. or upgrade to IRIX 5.2.
  953.  
  954. ------------------------------
  955.  
  956. Subject:   -56- 1.2 samples smallfly drive models broken
  957. Date: 8 Apr 94 00:00:01 EST
  958.  
  959. Toggling the drive-model button in smallfly can cause unexpected
  960. results.
  961.  
  962. ------------------------------
  963.  
  964. Subject:   -57- 1.2 samples pickfly drops core under abuse
  965. Date: 8 Apr 94 00:00:01 EST
  966.  
  967. When aggressively navigating the hierarchy, the number of pfSCSes in
  968. the scene graph can exceed the maximum libpf traversal depth of 64.
  969.  
  970. ------------------------------
  971.  
  972. Subject:   -58- 1.2 samples detail example broken on 4.0.5
  973. Date: 8 Apr 94 00:00:01 EST
  974.  
  975. The example program sample/pguide/libpf/progs/detail.c doesn't run
  976. properly under 4.0.5.  Workaround: upgrade to 5.2.
  977.  
  978. ------------------------------
  979.  
  980. Subject:   -59- 1.2 friends Belvis makefile requires pmake
  981. Date: 8 Apr 94 00:00:01 EST
  982.  
  983. The makefile for the belvis demo in the Computer Arts and Development
  984. section requires the pmake utility.  Workaround: install
  985. dev.sw.make.
  986.  
  987. ------------------------------
  988.  
  989. Subject:   -60- 1.2 friends Toon has bad models and textures
  990. Date: 8 Apr 94 00:00:01 EST
  991.  
  992. Some of the textures are mixed up in toon town.
  993.  
  994. ------------------------------
  995.  
  996. Subject:   -61- 1.2 docs pfuGetGLXWin wrong on reference page
  997. Date: 8 Apr 94 00:00:01 EST
  998.  
  999. The prototype in the man page should read: "extern void
  1000. pfuGetGLXWin(pfPipe *_pipe, pfuGLXWindow *_glxWin);" pfuGetGLXWin
  1001. copies the active GLX windows (normal and overlay) for the specified
  1002. pipe into the provided pfuGLXWindow structure.  The active windows
  1003. change when a different GLX visual is requested.
  1004.  
  1005. ------------------------------
  1006.  
  1007. Subject:   -62- 1.2 docs pfuLockDownApp gives the incorrect location
  1008. Date: 8 Apr 94 00:00:01 EST
  1009.  
  1010. pfuLockDownApp gives the incorrect location for the procsetup.c
  1011. example: The correct location for this example is:
  1012.  
  1013.    /usr/src/Performer/src/pguide/libpfutil/progs/procsetup.c
  1014.  
  1015. Additionally, the reference page should mention the example
  1016.  
  1017.    /usr/src/Performer/src/pguide/libpf/progs/bench.c
  1018.  
  1019. ------------------------------
  1020.  
  1021. Subject:   -63- 1.1 Bug with FP underflow
  1022. Date: 26 Oct 93 00:00:01 EST
  1023.  
  1024. The cull process could encounter an FP underflow that could
  1025. periodically affect cull performance.
  1026.  
  1027. ------------------------------
  1028.  
  1029. Subject:   -64- 1.1 Bug with Multipipe Onyx
  1030. Date: 26 Oct 93 00:00:01 EST
  1031.  
  1032. There is a bug in the 1.1 multipipe code.  The symptom is a 
  1033. core dump and an error like:
  1034.  
  1035.    Performer Fatal (4):pfFree() pointer 0x9c9350 not from pfMalloc
  1036.  
  1037. The workaround is to do the following after you've created
  1038. a channel with pfNewChan:
  1039.  
  1040.    ((long**)chan)[3] = NULL;
  1041.  
  1042. This workaround MUST NOT BE USED in Performer 1.2 applications.
  1043.  
  1044. ------------------------------
  1045.  
  1046. Subject:   -65- 1.1 Bug Installing on Indy or Indigo2 XL
  1047. Date: 8 Apr 94 00:00:01 EST
  1048.  
  1049. The problems are related to the way that Performer recognizes the
  1050. graphics hardware in the machine.  Since the Indy was introduced
  1051. after Performer 1.1 released, Performer is unable to match the
  1052. graphics type (NEWPORT) with the hardware types it knows.  This
  1053. effects both the installation and run-time applications.
  1054.  
  1055. /usr/lib/libpr.a, /usr/lib/libpr-g.a, /usr/src/Performer/demo/perfly,
  1056. and /usr/src/Performer/src/perfly/Makefile are machine-tagged in inst
  1057. as platform-specific and will not be installed by default.
  1058.  
  1059. WORKAROUND:  You must remove IRIS Performer 1.1 from your machine and
  1060. re-install, explicitly defining the graphics hardware type.  LIGHT
  1061. (Entry) graphics is the closest approximation to NEWPORT.
  1062.  
  1063.         % su
  1064.         # versions remove performer_eoe
  1065.         # versions remove performer_dev
  1066.         # inst -f <pathname> -m GFXBOARD=LIGHT
  1067.  
  1068. ------------------------------
  1069.  
  1070. Subject:   -66- 1.1 Bug Unable to determine Indy graphics type
  1071. Date: 8 Apr 94 00:00:01 EST
  1072.  
  1073. Performer 1.1 applications on Indy display the message: "unable to
  1074. determine graphics type -1.  Default: VENICE"
  1075.  
  1076. WORKAROUND:  The above message means that Performer was unable to
  1077. match NEWPORT graphics to a known graphics type, and has defaulted to
  1078. VENICE (RealityEngine).  This could cause some anomalous behavior in
  1079. your application.  There is no specific workaround at this time.
  1080.  
  1081. ------------------------------
  1082.  
  1083. Subject:   -67- 1.1 Bug perfly cannot find libpf.so on Indy running 5.1
  1084. Date: 8 Apr 94 00:00:01 EST
  1085.  
  1086. /usr/src/Performer/demo/perfly fails with the error message:
  1087. "perfly: rld: Fatal Error: cannot find soname 'libpf.so'"
  1088.  
  1089. WORKAROUND:  You must recompile perfly from the source code provided
  1090. in /usr/src/Performer/src/perfly.
  1091.  
  1092. ------------------------------
  1093.  
  1094. Subject:   -68- 1.1 Bug perfly FP error messages in 5.0.1
  1095. Date: 8 Apr 94 00:00:01 EST
  1096.  
  1097. perfly prints the following error message(s) several times each
  1098. frame:
  1099.  
  1100.     "Performer Info:FP division by zero"
  1101.     "Performer Info:FP infinity minus infinity"
  1102.  
  1103. WORKAROUND:  This is caused by a bug in IRIS GL and is not a fatal
  1104. error.  Run perfly with the "-n 2" option to disable these (and any
  1105. other) informational messages.
  1106.  
  1107. ------------------------------
  1108.  
  1109. Subject:   -69- 1.1 Bug Installation on IRIX 5.2 - missing prerequisites
  1110. Date: 8 Apr 94 00:00:01 EST
  1111.  
  1112. When trying to install IRIS Performer 1.1 on a machine running IRIX
  1113. 5.2, you will get an error regarding a missing prerequisite,
  1114. "dev.sw.libC".  This subsystem contained the C++ runtime library.  In
  1115. 5.2 it has been renamed to "c++_eoe.sw.lib".
  1116.  
  1117. WORKAROUND:  'set rulesoverride on' from within inst.
  1118.  
  1119. ------------------------------
  1120.  
  1121. Subject:   -70- 1.0/1.1 Bug intersections with pfSwitch'es
  1122. Date: 26 Oct 93 00:00:01 EST
  1123.  
  1124. Intersections with pfSwitch'es whose value is PFSWITCH_OFF could
  1125. cause a core dump.
  1126.  
  1127. ------------------------------
  1128.  
  1129. Subject:   -71- 1.0/1.1 Bug with pfTexture()
  1130. Date: 26 Oct 93 00:00:01 EST
  1131.  
  1132. On RealityEngine systems, EXTERNAL format was ignored.
  1133.  
  1134. ------------------------------
  1135.  
  1136. Subject:   -72- 1.0/1.1 Bug with pfAntiAlias()
  1137. Date: 26 Oct 93 00:00:01 EST
  1138.  
  1139. On RealityEngine systems, pfAntialias(PFAA_OFF) did not turn off
  1140. multisampling.
  1141.  
  1142. ------------------------------
  1143.  
  1144. Subject:   -73- 1.0/1.1 Bug with pfFlatten()
  1145. Date: 26 Oct 93 00:00:01 EST
  1146.  
  1147. pfFlatten did not dirty bounding spheres of flattened nodes so they
  1148. had improper bounds and would not cull correctly.
  1149.  
  1150. ------------------------------
  1151.  
  1152. Subject:   -74- 1.0/1.1 Bug with pfSequences
  1153. Date: 26 Oct 93 00:00:01 EST
  1154.  
  1155. pfSequences: PFSEQ_RESUME ignored children's display times and drew
  1156. subsequent children for 1 frame only.
  1157.  
  1158. ------------------------------
  1159.  
  1160. Subject:   -75- 1.0/1.1 Bug with pfClosestPtOnPlane()
  1161. Date: 26 Oct 93 00:00:01 EST
  1162.  
  1163. pfClosestPtOnPlane returned wrong result.  Also, the man page had the
  1164. wrong prototype.
  1165.  
  1166. ------------------------------
  1167.  
  1168. Subject:   -76- 1.0/1.1 Bug on ELAN/XS with wireframe PFGS_QUADS
  1169. Date: 26 Oct 93 00:00:01 EST
  1170.  
  1171. On EXPRESS Graphics platforms (XS, XS24, ELAN, etc), wireframe quads
  1172. have a stray line from one vertex to "infinity" when displayed in
  1173. wireframe mode.
  1174.  
  1175. ------------------------------
  1176.  
  1177. Subject:   -77- 1.0 Doc Bug in pfMakePolarSeg() man page
  1178. Date: 26 Oct 93 00:00:01 EST
  1179.  
  1180. The man page for pfMakePolarSeg contradicts itself with respect to
  1181. the meaning of azimuth and elevation. The correct paragraph should
  1182. be:
  1183.  
  1184.     pfMakePolarSeg sets dst to the segment which starts at pos
  1185.     and has length length and points in the direction specified
  1186.     by azi and elev.  azi specifies the azimuth (or heading),
  1187.     which is the angle which the projection of the segment in the
  1188.     X-Y plane makes with the +Y axis.  elev specifies the
  1189.     elevation (or pitch), the angle with respect to the X-Y
  1190.     plane.  The positive Y axis is azi=0 and elev=0.  Azimuth
  1191.     follows the right hand rule about the +Z azis, e.g. -  +90
  1192.     degrees is the -X axis.  Similarly, elevation follows the
  1193.     right hand rule about the X axis, e.g. -  +90 degrees is the
  1194.     +Z axis.
  1195.  
  1196. Note that in IRIS Performer 1.0, an azi and elev of 0.0 is equivalent
  1197. to the +X axis while in 1.1, this has been changed to the +Y axis.
  1198.  
  1199. ------------------------------
  1200.  
  1201. Subject:   -78- 1.0 Doc Bug in pfDispList() man page
  1202. Date: 26 Oct 93 00:00:01 EST
  1203.  
  1204. The pfDispList man page says the size argument is in bytes; it should
  1205. say words.
  1206.  
  1207. ------------------------------
  1208.  
  1209. Subject:   -79- 1.0 Doc Bug in PFPG (simple.c)
  1210. Date: 26 Oct 93 00:00:01 EST
  1211.  
  1212. The program simple.c in the IRIS Performer Programming Guide (PFPG)
  1213. does not bind a light and draws a black image on Elan systems.  The
  1214. corrected version, which creates and binds a light in the pipe
  1215. initialization callback, is in /usr/src/Performer/src/pguide
  1216.  
  1217. ------------------------------
  1218.  
  1219. Subject:   -80- 1.0 Bug in pfGetTime()
  1220. Date: 26 Oct 93 00:00:01 EST
  1221.  
  1222. In 1.0, pfGetTime() would occasionally return bad values (off by
  1223. 4000+ seconds) on Indigo2 and machines without a fast counter, e.g.
  1224. PowerSeries/IO2.
  1225.  
  1226. There was no workaround.
  1227.  
  1228. ------------------------------
  1229.  
  1230. Subject:   -81- 1.0 Bug in pfNodeBBox()
  1231. Date: 26 Oct 93 00:00:01 EST
  1232.  
  1233. pfNodeBBox did not set the bounding box of a node.  A symptom was
  1234. that the bounding boxes of the node would not change when modifying a
  1235. parent pfDCS.
  1236.  
  1237. The workaround was to OR the value 0x0010 into the mode, e.g.-
  1238.  
  1239.    pfNodeBBox(node, &bbox, PFN_BMODE_STATIC | 0x0010);
  1240.  
  1241. ------------------------------
  1242.  
  1243. Subject:   -82- 1.0 Bug in pfInitGfx() with Z-buffer on RealityEngine
  1244. Date: 26 Oct 93 00:00:01 EST
  1245.  
  1246. pfInitGfx on RealityEngines would call lsetdepth(0x0, 0x0),
  1247. essentially disabling zbuffering.
  1248.  
  1249. The workaround was to call lsetdepth explicitly after pfInitGfx,
  1250. in the pipe initialization callback.
  1251.  
  1252. ------------------------------
  1253.  
  1254. Subject:   -83- 1.0 Bug in libpfflt combineLODs()
  1255. Date: 26 Oct 93 00:00:01 EST
  1256.  
  1257. combineLODs() in the MultiGen .flt converter (in file hier.c) did not
  1258. set the LOD center of combined LODs.  This would result in strange
  1259. LOD behavior for LODs which were not modelled about the origin.
  1260.  
  1261. ------------------------------
  1262.  
  1263. Subject:   -84- 1.0 Bug with two-sided material and pfMtlColorMode()
  1264. Date: 26 Oct 93 00:00:01 EST
  1265.  
  1266. Applying a back-sided material which had a color mode
  1267. (pfMtlColorMode), would set the GL lmcolor mode. Since 
  1268. IrisGL does not support lmcolor for back-sided materials, 
  1269. this could have caused front-sided materials to use an 
  1270. improper lmcolor mode.
  1271.  
  1272. ------------------------------
  1273.  
  1274. Subject:   -85- 1.0 Bug in pfFilePath()
  1275. Date: 26 Oct 93 00:00:01 EST
  1276.  
  1277. pfFilePath would exit with a FATAL error if it was called twice.
  1278.  
  1279. ------------------------------
  1280.  
  1281. Subject:   -86- 1.0 Bug in pfGetCurGState()
  1282. Date: 26 Oct 93 00:00:01 EST
  1283.  
  1284. pfGetCurGState returned a pfGeoState which was the top of the state
  1285. stack rather than the most recently applied pfGeoState.
  1286.  
  1287. ------------------------------
  1288.  
  1289. Subject:   -87- 1.0 Bug in pfGetCurState()
  1290. Date: 26 Oct 93 00:00:01 EST
  1291.  
  1292. pfGetCurState returned a pfGeoState which was the top of the state
  1293. stack rather than the current pfState.
  1294.  
  1295. ------------------------------
  1296.  
  1297. Subject:   -88- 1.0 Bug with cloned scenes
  1298. Date: 26 Oct 93 00:00:01 EST
  1299.  
  1300. pfClone()'ed scenes were not properly cleaned and did not properly
  1301. propagate updates.  In particular, cloned pfSequences did not work.
  1302.  
  1303. ------------------------------
  1304.  
  1305. Subject:   -89- 1.0 Bug intersections in collide.c
  1306. Date: 26 Oct 93 00:00:01 EST
  1307.  
  1308. collide.c was shipped with a hardwired intersection mode which turned
  1309. off intersection caching, substantially reducing intersection
  1310. performance.
  1311.  
  1312. ------------------------------
  1313.  
  1314. Subject:   -90- 1.0 Bug with flattened pfLightPoints
  1315. Date: 26 Oct 93 00:00:01 EST
  1316.  
  1317. pfFlatten()'ed pfLightPoints were broken for multiprocessing modes
  1318. when the application and cull processes were separate.
  1319.  
  1320. ------------------------------
  1321.  
  1322. Subject:   -91- 1.0 Bug intersections with pfSequences
  1323. Date: 26 Oct 93 00:00:01 EST
  1324.  
  1325. Intersections with pfSequences could sometimes turn them off
  1326. (PFSEQ_STOP).
  1327.  
  1328. ------------------------------
  1329.  
  1330. Subject:   -92- 1.0 Bug intersections with non-indexed quads
  1331. Date: 26 Oct 93 00:00:01 EST
  1332.  
  1333. Intersection caching for non-indexed quads was broken and could case
  1334. a core dump when intersection with pfGeoSets of this type.
  1335.  
  1336. ------------------------------
  1337.  
  1338. End of sgi/faq/performer Digest
  1339. ******************************
  1340. -- 
  1341. The SGI FAQ group                                sgi-faq@viz.tamu.edu
  1342. Finger us for info on the SGI FAQs, or look in viz.tamu.edu:/pub/sgi.
  1343.