1. grahics encoding

I'm starting to work with my T3DE again. Now I'm going to use a lot of =
asm to speed it up.
I'm going to do a total rewrite, redesign and would need some help from =
you graphic gurus.
T3DE is going to be as platform-independent as possible (alltough DOS is =
the first one to do it for).
The project won't progress fast, cause I'm filling my term of duty in =
the Finnish army yet the following nine months. eg. I'll code somewhat =
day/month, eh.

Now, Pete, Todd and others, which is the RGB encoding I should use?

If I create my own virtual screen to RAM like following:
1..n pixel =3D RRRRRRRRGGGGGGGGBBBBBBBBxxxxxxxxx    --32bit color mode

can I then mem_copy it directly to screen?
What kind of encoding does WIN32/Exotica use in virtual surfaces?
Printing in DOS is pretty much clear to me, but how do I do it in Win or =
Linux... well I don't even have a clue

Did I explain my problem clear enough? Hope so, but if not I'll explain =
it more detailed in my next message

--Talvitie :)

new topic     » topic index » view message » categorize

2. Re: grahics encoding

>If I create my own virtual screen to RAM like following:
>1..n pixel = RRRRRRRRGGGGGGGGBBBBBBBBxxxxxxxxx    --32bit color mode
>
>can I then mem_copy it directly to screen?

The most recent versions of asm.e has MMX instructions, so you could do an
MMX copy routine pretty easily. Though movsd might be faster, I'm not sure..
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu