Randy Fox (rfox++at++coryphaeus.com)
Tue, 27 May 1997 11:07:22 -0700
At 80 - 90 % fixed scale of DVR it looks pretty good to me. Does any one else
have any metrics on what is exceptable and when it is not for a real world sim?
-randy
On May 23, 12:53am, Sharon Clay wrote:
> Sorry for the delayed response - I've been gone again for the past few days.
>
> Anyway, I'd like to just add a little extra info and clarify some things:
>
> 1) For DVR you should use a texture or a stroke font so that it can be scaled
> by the viewport. All bitmaps and pixel ops will have the scale
problem,
> X or not. For points and lines, Performer is taking car of
> the scale problem by automatically calling pfPixScale() which we
> check in the point and line gsets to properly scale these pixel-sized
> primitives. If you use a stroke font library that uses lines to draw
your
> own fonts without Performer you'll have to do the same.
>
> 2) You can pick a few fixed bitmap sizes for an approximation and choose
> them based on the current viewport size or DVR scale.
> Note that you can get the current viewport size with
> pfGetChanOutputViewport()
> and the DVR scale with pfGetPVChanScale()
>
> You might also want these routines if you need to properly place
drawing in
> the smaller viewport.
>
> 3) X is ignorant of DVR (as pointed out already) and in particular the X
cursor
> so as Philip also pointed out, Performer provides a 2D cursor drawn in
the
> bitplanes in libpfutil.
>
> 4) As above, overlay planes are also resized by DVR and so can't really be
used with
> DVR. Do NOT redraw the overlays every frame :-)
>
>
> src.
>
>>-- End of excerpt from Sharon Clay
--
Randy Fox Coryphaeus Software, Inc.
Sr. Software Engineer 985 University Ave. Suite 31
rfox++at++coryphaeus.com Los Gatos CA, 95030
www.coryphaeus.com Tel: 408/395-4537
Fax: 408/395-6351
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:18 PDT