1. Graphics Question

------=_NextPart_000_0005_01BFCA88.DE15D900
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Having never really attempted to use graphics in my programs, and =
wanting to learn, I have a question if someone would be willing to help.
Is it possible (using existing libs) to draw a screen at a high frame =
rate (say 60Hz) using sequences, e.g
{{R,G,B},{R,G,B}..{R,G,B}} -- use a sequence of Red Green and Blue =
values, or colour values, starting from the top left pixel and ending at =
the bottom right pixel
assuming the procedure of filling that sequence isn't overly time =
consuming?
If this isn't feasible, what is the generally accepted procedure? =
(bearing in mind that I know very little about ASM or peeking and =
poking)

Thanks,
Aidan

------=_NextPart_000_0005_01BFCA88.DE15D900
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Having never really attempted to use =
graphics in my=20
programs, and wanting to learn, I have a question if someone would be =
willing to=20
help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is it possible (using existing libs) to =
draw a=20
screen at a high frame rate (say 60Hz) using sequences, e.g</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>{{R,G,B},{R,G,B}..{R,G,B}} -- use a =
sequence of Red=20
Green and Blue values, or colour values, starting from the top left =
pixel and=20
ending at the bottom right pixel</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>assuming the procedure of filling that =
sequence=20
isn't overly time consuming?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If this isn't feasible, what is the =
generally=20
accepted procedure? (bearing in mind that I know very little about ASM =
or=20
peeking and poking)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>

------=_NextPart_000_0005_01BFCA88.DE15D900--

new topic     » topic index » view message » categorize

2. Re: Graphics Question

Hello Aidan,


>Having never really attempted to use graphics in my programs, and wanting
>to learn, I have a question if someone would be willing to help.
>Is it possible (using existing libs) to draw a screen at a high frame rate
>(say 60Hz) using sequences, e.g
>{{R,G,B},{R,G,B}..{R,G,B}} -- use a sequence of Red Green and Blue values,
>or colour values, starting from the top left pixel and ending at the bottom
>right pixel
>assuming the procedure of filling that sequence isn't overly time
>consuming?
>If this isn't feasible, what is the generally accepted procedure? (bearing
>in mind that I know very little about ASM or peeking and poking)
>
>Thanks,
>Aidan

A more widely used method would be the 2d sequence:
P = {R,G,B}
{
{P,P,P},
{P,P,P},
{P,P,P}
} -- this is a 3 x 3 image.
You can use display_image() to display it in Neil or if the Ps are
just integers that correspond to palette values you can use
display_image() in a standard graphics.e graphics mode.

There IS another way thogh, since this method can get rather
sluggish whin displaying large images (such as the size of the
screen)

Neil.e offers a very fast alternative: virtual screens. There are
other graphics libraries that are available some of which are
faster even than Neil in some ways. Neil has the most features
though, I believe. I would suggest downloading it and reading the
documentation and then asking more questions because you're sure
to have some. ;)

I have a Neil question myself, if anyone feels enlightened  today:
I recently got a new computer. With it, I got a Voodoo3 3000 AGP
graphics card. It is awesome to say the least but the Neil graphics
modes that I'm allowed to use are greatly limited now. I suspect
it is becuase I don't have vesa drivers for my new video card,
however, when I run Neil's modelist.ex, it spits out a long list
of every graphics mode I can imagine and even says:
VESA version 3 "3Dfx Interactive Inc." at the top
So, this seems to fault my theory that I don't have vesa drivers
but What IS wrong? I can run programs that use 320 x 200 x 8 bit
graphics but nothing much better it seems.

Pete, anyone, can you help me with this?

later,
Lewis Townsend
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

new topic     » goto parent     » topic index » view message » categorize

3. Re: Graphics Question

On Tue, 30 May 2000 15:42:54 GMT, Lewis Townsend <keroltarr at HOTMAIL.COM>
wrote:

>however, when I run Neil's modelist.ex, it spits out a long list
>of every graphics mode I can imagine and even says:
>VESA version 3 "3Dfx Interactive Inc." at the top

  Lewis:

  Niel is probably get that info from VIDEO BIOS so you problably

  still really need drivers.

  Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu