From: kyriazis@jibe.engr.sgi.com (George Kyriazis)
To: adevries@engsoc.carleton.ca (Alex deVries)
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: newport questions...
Date: Fri, 11 Sep 1998 11:13:21 -0700 (PDT) [thread overview]
Message-ID: <199809111813.LAA01299@jibe.engr.sgi.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980911135113.372B-100000@lager.engsoc.carleton.ca> from Alex deVries at "Sep 11, 98 01:56:16 pm"
> - What is a span, and how does it differ from a line?
>
A span is a horizontal row of pixels. The idea is that you specify only
one Y, and two X's.
Sometimes you don't specify a second X, but iterate writing 32-bit
dither patterns till you are done. Note that you can do the same thing
with lines, but you have to specify all of x0,y0,x1,y1.
> - is the usable area *really* 5439x5120 pixels? this strikes me as
> incredibly fine ( from page 26)
>
No. The address of the last pixel that corresponds to memory is that
(more or less). Top left is 4096,4096. Add 1280,1024 to it you get:
5376,5120. Add 85 pixels of extra memory to the right of 5376 and you
get 5461. So the last addressable pixel is 5460,5120 (my version of
the doc has 5460 not 5439).
The usable screen is really only between 4096,4096 and 5376,5120.
> - can someone give me a moron's guide to what an iterator is?
>
You start from x0,y0. Eventually you have to get to x1,y1. The iterators
add a dx,dy to each x,y (starting from x0,y0) that eventually gets you to
x1,y1. Each clock tick of the iterator produces a new x,y and therefore a
new pixel.
If you have more REX3 specific questions, feel free to contact me directly
so we don't clog the group.
--george
--
-----------------------------------------------------------------------------
George Kyriazis | Silicon Graphics, Inc., 8U-590 | kyriazis@sgi.com
KF6QKG | 2011 N. Shoreline Blvd. | 650-933-2828
| Mt. View, CA 94043 |
WARNING: multiple messages have this Message-ID (diff)
From: kyriazis@jibe.engr.sgi.com (George Kyriazis)
To: Alex deVries <adevries@engsoc.carleton.ca>
Cc: linux@cthulhu.engr.sgi.com
Subject: Re: newport questions...
Date: Fri, 11 Sep 1998 11:13:21 -0700 (PDT) [thread overview]
Message-ID: <199809111813.LAA01299@jibe.engr.sgi.com> (raw)
Message-ID: <19980911181321.m9oqEGBrljXXv3XvecgvqD3sUp4N1gK2qUVu5c4iJLs@z> (raw)
In-Reply-To: <Pine.LNX.3.96.980911135113.372B-100000@lager.engsoc.carleton.ca> from Alex deVries at "Sep 11, 98 01:56:16 pm"
> - What is a span, and how does it differ from a line?
>
A span is a horizontal row of pixels. The idea is that you specify only
one Y, and two X's.
Sometimes you don't specify a second X, but iterate writing 32-bit
dither patterns till you are done. Note that you can do the same thing
with lines, but you have to specify all of x0,y0,x1,y1.
> - is the usable area *really* 5439x5120 pixels? this strikes me as
> incredibly fine ( from page 26)
>
No. The address of the last pixel that corresponds to memory is that
(more or less). Top left is 4096,4096. Add 1280,1024 to it you get:
5376,5120. Add 85 pixels of extra memory to the right of 5376 and you
get 5461. So the last addressable pixel is 5460,5120 (my version of
the doc has 5460 not 5439).
The usable screen is really only between 4096,4096 and 5376,5120.
> - can someone give me a moron's guide to what an iterator is?
>
You start from x0,y0. Eventually you have to get to x1,y1. The iterators
add a dx,dy to each x,y (starting from x0,y0) that eventually gets you to
x1,y1. Each clock tick of the iterator produces a new x,y and therefore a
new pixel.
If you have more REX3 specific questions, feel free to contact me directly
so we don't clog the group.
--george
--
-----------------------------------------------------------------------------
George Kyriazis | Silicon Graphics, Inc., 8U-590 | kyriazis@sgi.com
KF6QKG | 2011 N. Shoreline Blvd. | 650-933-2828
| Mt. View, CA 94043 |
next prev parent reply other threads:[~1998-09-11 18:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-11 17:56 newport questions Alex deVries
1998-09-11 18:13 ` George Kyriazis [this message]
1998-09-11 18:13 ` George Kyriazis
1998-09-12 0:12 ` Thomas Bogendoerfer
1998-09-12 1:17 ` Ulf Carlsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199809111813.LAA01299@jibe.engr.sgi.com \
--to=kyriazis@jibe.engr.sgi.com \
--cc=adevries@engsoc.carleton.ca \
--cc=linux@cthulhu.engr.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox