home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13305 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  1.8 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!rutgers!sgigate!odin!fido!mott
  2. From: mott@sgi.com (David Mott)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: GLRenderCaching (Inventor)
  5. Message-ID: <pedrj4g@fido.asd.sgi.com>
  6. Date: 4 Sep 92 18:18:14 GMT
  7. Article-I.D.: fido.pedrj4g
  8. References: <MATUMOT.92Sep4190519@calypso.elec.nkk.co.jp>
  9. Sender: news@fido.asd.sgi.com (Usenet News Admin)
  10. Distribution: comp
  11. Organization: Silicon Graphics
  12. Lines: 37
  13.  
  14. In article <MATUMOT.92Sep4190519@calypso.elec.nkk.co.jp> matumot@elec.nkk.co.jp (Masayuki Matsumoto) writes:
  15. >Hello,
  16. >
  17. >My question is on GL render caching of Inventor.
  18. >
  19. >I am developing a application of which feature is
  20. >geometry changes dynamicaly depending on time step.
  21. >
  22. >In this case, having GL render caching turned _OFF_  significantly
  23. >improved rendering performance, contrary to the manual page.
  24. >Is this reasonable ?
  25. >
  26. >In only case of static geometry application, does GL render caching
  27. >accelerate rendering speed ?
  28.  
  29.  
  30.  
  31. The key here is that your geometry *changes dynamically*. If you
  32. build a cache for the geometry, then change it, the cache is blown,
  33. and has to be rebuilt. Building the cache is more expensive than
  34. simply rendering the geometry.
  35.  
  36. However, once the cache is built, as long as the data in the cache
  37. is not changing, rendering the cache is significantly faster than
  38. rendering the initial data. (Changing data is more than geometry -
  39. it is anything in the scene graph which is changing.)
  40.  
  41. The thing to remember here is that you should turn GL render caching
  42. ON for a separator if the scene graph under that separator is not changing.
  43. Turn caching OFF for a separator if anything in the scene graph IS
  44. changing. 
  45.  
  46. Section 9.4.1 in the IRIS Inventor Programming Guide discusses caching,
  47. including some of the tradeoffs involved which help you decide whether
  48. render caching is appropriate for a specific situation or not.
  49.  
  50. David
  51.