Re: Linewidth changes and lighting changes (fwd)

New Message Reply Date view Thread view Subject view Author view

Raoul Becke (rbecke++at++iiic.ethz.ch)
Mon, 12 Oct 1998 15:27:30 +0200 (MET DST)


Hi Daniela,
obviously you cannot set the line width of different lines
individually within the same geoset because geoset::setLineWidth() affects
the entire geoset (so if you invoke later geoset::setLineWidth(5.0) the
first line is also affected). To draw lines at different line width you
have to use different geosets (i.e. geoset1::setLineWidth(1.0),
geoset2::setLineWidth(5.0), ...). This worked fine for me.

cu
Raoul
/*****************************************************************************/
/*Raoul Becke $$$'`$$$$$$$$$$$$$$$$$$$$ */
/*Baltenschwilerstr. 52 $$$$ $$$$$$$$$$$$$$$$$$$ */
/*8962 Bergdietikon $$$$. `$' \' \'`\$$$$$$$$ */
/*Tel. 01/740 17 94 $$$$$. !\ i i i$$$$$$$ */
/*Fax 01/740 17 49 $$$$$$ `-'`-'`-'$$$$^^$ */
/*e-mail rbecke++at++datacomm.ch (at home) $$$$$$L `""~ $$ */
/*e-mail rbecke++at++iiic.ethz.ch (at the ETH Zuerich) $$$$$$$. .' .$$$ */
/* $$$$$$$ $$$$$$$by$RB$ */
/*****************************************************************************/

On Mon, 5 Oct 1998, Daniela Rainer (RUS) wrote:

> Hi,
>
> I found a strange behaviour in Peformer: if I first draw a line without the
> width set it's drawn as if geoset->setLineWidth(1.0f) was set. If I later add a
> second line with geoset->setLineWidth(5.0f) the first line is drawn fat too. Is
> this behaviour intended or is it a bug? If you need it I can send you a small
> program that shows the effect.
>
> We have also more important problems: if we draw certain objects in stereo
> sometimes the lighting changes for the left stereo channel. The right channel
> is drawn correctly. Unfortunately I can't send you a program because we can't
> reproduce this bug. We think it has to do with lines, too, but we can't
> reproduce it. Is there anybody who has a similar problem?
>
> Thanks for any help!
>
> Best Regards
> Daniela
>
>
> --
> -------------------------------------------------------------------------
> Daniela Rainer | email: rainer++at++hlrs.de
> Rechenzentrum Uni Stuttgart (RUS) | http://www.hlrs.de/people/rainer/
> Allmandring 30a, 70550 Stuttgart | Tel: +49 (0) 711 685 5837
> GERMANY | Fax: +49 (0) 711 682 357
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Oct 12 1998 - 06:28:42 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.