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

  1. Path: sparky!uunet!sun-barr!olivea!sgigate!odin!sgihub!zola!kahua.esd.sgi.com!paquin
  2. From: paquin@kahua.esd.sgi.com (Tom Paquin)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: GLX slow rendering problem
  5. Keywords: GL, GLX, shaded rendering
  6. Message-ID: <paflvn4@zola.esd.sgi.com>
  7. Date: 1 Sep 92 18:31:26 GMT
  8. References: <14891@borg.cs.unc.edu>
  9. Sender: news@zola.esd.sgi.com (Net News)
  10. Distribution: usa
  11. Organization: Silicon Graphics Inc.
  12. Lines: 31
  13.  
  14. soltys@phoenix.radonc.unc.edu (Mitchel Soltys) writes:
  15.  
  16. |> 
  17. |> for(i = 0; i < num_triangles;i++){
  18. |>     bgnpolygon();
  19. |>     n3f(fake_vector);
  20. |>     v3f(fake_vector);
  21. |>     n3f(fake_vector);
  22. |>     v3f(fake_vector);
  23. |>     n3f(fake_vector);
  24. |>     v3f(fake_vector);
  25. |>     endpolygon();
  26. |> }
  27. |> 
  28. |> takes ~1.6 secs ... more than three times as slow.
  29.  
  30.  
  31. Hm. Well, the bgnpolygon, n3f, v3f and endpolygon code hasn't changed
  32. one whit.  Your process is executing the same instructions with or
  33. without X.  But the system may be getting involved, for reasons I
  34. don't understand.  (And I should- I do know about the kernel/window
  35. system/graphics relationships.)
  36.  
  37. I don't have an answer, but I can confirm that the GL code is
  38. identical.  I hope someone can shed some light on this.
  39.  
  40. -- 
  41.  
  42.         -Tom
  43. *****
  44. Opinions are mine, etc.
  45.