![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors 
 
 
  | 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Update REQ 5576]: Geomview output incompatible with BMRT Renderman
 
> "Os" [0.0588235 0.0588235 0.0588235] 
> Just out of curiosity, I tried changing "Os" to "Opacity", as follows:
> Opacity [0.0588235 0.0588235 0.0588235] 
> and, to my surprise, the image rendered correctly with transparency and no
> complaints at all from "rendrib".
> Is this a Geomview bug?
Yes, it is a bug.  It's now fixed in the source copy, so it will be repaired
in the next release, but for the time being I guess you'll have to keep
using your workaround.
In case you're compiling geomview from source, the change was in
src/lib/mg/rib/mgribdraw.c:
===================================================================
RCS file: RCS/mgribdraw.c,v
retrieving revision 1.25
diff -u -r1.25 mgribdraw.c
--- 1.25        1993/11/06 03:03:42
+++ mgribdraw.c 1995/09/30 22:09:23
@@ -375,7 +375,7 @@
        mrti(mr_color, mr_parray, 3, &p->pcol, mr_NULL);
        /* then per-polygon transparency, if defined */
        if (flag & APF_TRANSP && !(matover & MTF_ALPHA)) {
-         mrti(mr_Os, mr_array, 3, 
+         mrti(mr_opacity, mr_array, 3, 
               p->pcol.a, p->pcol.a, p->pcol.a, mr_NULL);
        }
       }
  | 
  ||
| 
      Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors  | 
  |||
| 
      site hosted by | 
  |||