r3.showdspf_opengl_mods.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <HTML>
  3. <HEAD>
  4. <META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
  5. <TITLE>modifications made to r3.showdspf</TITLE>
  6. <link rel="stylesheet" href="grassdocs.css" type="text/css">
  7. </HEAD>
  8. <BODY BGCOLOR="#FFFFFF">
  9. <P><FONT SIZE="4"><B>Description of modifications made to r3.showdspf directory during conversion of code from
  10. IrisGL (running only on SGI workstations) to OpenGL (running on any OpenGL-capable UNIX workstation)<BR>
  11. </B><BR>
  12. The following files were changed (and perhaps renamed during conversion)<BR>
  13. </FONT><TT>do_color.c -&gt; do_color_ogl.c<BR>
  14. draw_cap.c -&gt; draw_cap_ogl.c<BR>
  15. draw_polys.c -&gt; draw_polys_ogl.c<BR>
  16. draw_cappolys.c -&gt; draw_cappolys_ogl.c<BR>
  17. main.c -&gt; main_ogl.c<BR>
  18. init_caps.c -&gt; init_caps.c<BR>
  19. vizual.h -&gt; vizual.h<BR>
  20. Gmakefile -&gt; Gmakefile<BR>
  21. </TT><BR>
  22. <FONT SIZE="4">The following files are new files<BR>
  23. </FONT><TT>new_init_graphics.c<BR>
  24. kns_defines.h<BR>
  25. kns_globals.h<BR>
  26. togif.c<BR>
  27. togif.h<BR>
  28. </TT><BR>
  29. <FONT SIZE="4">The following files are unchanged:<BR>
  30. </FONT><TT>cap_data.c<BR>
  31. init_caps.c<BR>
  32. debugf.c<BR>
  33. thresh_array.c<BR>
  34. make_header.c<BR>
  35. r3_data.c<BR>
  36. r3_find.c<BR>
  37. </TT><BR>
  38. <FONT SIZE="4">The following files removed since they were made unnecessary<BR>
  39. </FONT><TT>init_graphics.c<BR>
  40. dump_rect.c -&gt; functions moved to new_init_graphics.c<BR>
  41. </TT>axes2.c<BR>
  42. <BR>
  43. <FONT SIZE="4" COLOR="#FF0000"><B>*** Disclaimer ***</B></FONT><FONT SIZE="4"><BR>
  44. </FONT>The porting effort from IrisGL to OpenGL was performed with the goal of just getting things to run with
  45. OpenGL with some user-interface improvements. Only a small attempt was made to correct for sloppy/dangerous coding
  46. practices found in the <B>original</B> code. Sloppy/dangerous coding practices were modified only when they resulted
  47. in serious code errors (causing core dumps). Certain files, such as new_init_graphics.c, which were totally new
  48. files, were coded to higher standards. In general, this effort was only a porting effort, <B>not</B> a re-architecting
  49. effort.<BR>
  50. <BR>
  51. <FONT SIZE="4">Above modifications made by:<BR>
  52. </FONT>Ken Sakai<BR>
  53. Lockheed Martin Space Systems<BR>
  54. Sunnyale, California<BR>
  55. Modification date: March 2000
  56. </BODY>
  57. </HTML>