From: Brian Furtaw (brian++at++sgi.com)
Date: 07/10/2000 05:40:00
You are seeing the the results of rendering on a machine with
anti-aliasing (the IR) and rendering on a machine without(the Octane).
The Octane does have the ability to render anti-aliased lines. I can't
find any direct support for line smooth in Performer although some one
else might. To enable this feature in OpenGL use
glEnable(GL_LINE_SMOOTH), read the glLineWidth man page for details
about anti-aliased lines on the Octane. You could enable and disable
line smooth in a pre and post draw callback. You can use glGetString
GL_RENDERER to identify when you are running on the Octane and install
callback.
I don't know if you have enabled blending or not. As an experiment set
the pfTransparency() to PFTR_HIGH_QUALITY this may enable the linesmooth
on the Octane. This will also slow things down so use it only when you
need it.
Brian
christopher.g.dorosky++at++lmco.com wrote:
>
> Hello,
>
> I have an application that draws thin lines (about 5 pixels wide or so),
> around areas of interest. These lines can be different colors. In one
> instance, there can be yellow and red lines which overlap in places. The
> problem is, I am seeing different results on different machines.
>
> On an Onyx2 IR2: Overlapping yellow and red lines blend to create an orange
> segment in the overlap region.
> On an Octane: Overlapping yellow and red lines flash back and forth
> depending on how I look at them. Sometimes, they even stripe between yellow
> and red.
>
> The octane effect is annoying. Does anybody know how I can either assert
> one color as dominant, or allow them to blend like the Onyx2 does? The lines
> are created with pfGeosets.
>
> Thanks!
>
> Christopher Dorosky
> Lead Electronic Systems Engineer - Real Time Simulation
> Lockheed Martin Missiles and Fire Control - Dallas
> christopher.g.dorosky++at++lmco.com
> 972-603-2349
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com)
Graphics Guru Office:(301)572-3293 Fax: (603)250-0370
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device
Drivers
This archive was generated by hypermail 2b29 : Mon Jul 10 2000 - 05:40:16 PDT