Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #980

Re: Sprite Loading / Plotting SWIs and lotting in any colour depth

NNTP-Posting-Date Tue, 01 Nov 2011 19:25:09 -0500
From "Ste (news)" <steve@revi11.plus.com>
Subject Re: Sprite Loading / Plotting SWIs and lotting in any colour depth
Newsgroups comp.sys.acorn.programmer
Date Wed, 02 Nov 2011 00:25:07 +0000 (GMT)
Message-ID <522b90d6d3steve@revi11.plus.com> (permalink)
References <23903224.727.1317553440459.JavaMail.geo-discussion-forums@yqcr11> <6868509.667.1317554148688.JavaMail.geo-discussion-forums@yqbr29> <18723939.3923.1317668986907.JavaMail.geo-discussion-forums@yqlb4> <4e8a1091$0$290$14726298@news.sunsite.dk> <e78fd91c52.martin@bach.planiverse.com> <4e8b354b$0$30777$ba4acef3@reader.news.orange.fr>
User-Agent Pluto/3.04d (RISC-OS/5.17) NewsHound/v1.50-32
Organization None
Lines 39
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-UgMH7twY/ROMFy32XaIjsmZRKBmVURwOwUjydhBoRqrnXugBDWL3oly99PWQsR9vyEXI32RrNHOSaYi!Pigf8W9LWCsP6To4/LijHTmRm7GrKYzbNA2oe+KkWEqzwIJILgVO2ncpZDHgUBtpCdV/yk834jP5!0A==
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2731
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:980

Show key headers only | View raw


In article <4e8b354b$0$30777$ba4acef3@reader.news.orange.fr>,
   Rick Murray <heyrickmail-usenet@yahoo.co.uk> wrote:
> On 04/10/2011 12:36, Martin Wuerthner wrote:
> > It is a mystery to me why there is no "plot this sprite to the screen"
> > SWI call in RISC OS.

Seconded.

> But, that said, it isn't that hard to built a ColourTrans table and plot 
> to screen.

No, it is not that simple.

First of all, just getting your head around those concepts is hard initially.

Secondly, the documentation is spread over various parts of the PRMs. 

Thirdly, you will still get the wrong answer, because you've not created
your transformation matrix to cope with differing eigen values of different
screen modes. This is a whole extra can of worms.

So a true, mode-independent sprite plotting routine actually takes quite a
bit of crafting, testing and more than two SWI calls. And of course if
you're writing a Wimp application, you then need to be watching for mode
changes and re-calculating various things to cope with changes to the
characteristics of the mode. It all ends up quite complicated.

It can take _days_ (especially if you're fairly new to programming on RISC
OS) of reading all sorts of bits of the PRMs, head-scratching, trying to
comprehend arcane terminology and experimentation simply to plot a f*ing
sprite on the screen. Utter, utter madness.

Thanks,

Steve

-- 
Steve Revill @ Home
Note: All opinions expressed herein are my own.

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-02 04:04 -0700
  Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-02 04:15 -0700
    Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-03 12:09 -0700
      Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2011-10-03 20:44 +0100
        Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-03 13:24 -0700
          Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-10-03 21:45 +0100
        Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-04 12:36 +0200
          Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-04 18:33 +0200
            Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-04 20:25 +0200
            Re: Sprite Loading / Plotting SWIs and lotting in any colour depth "Ste (news)" <steve@revi11.plus.com> - 2011-11-02 00:25 +0000
              Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-11-02 19:05 +0100
                Re: Sprite Loading / Plotting SWIs and lotting in any colour depth druck <news@druck.freeuk.com> - 2011-11-02 21:21 +0000
      Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-10-03 21:41 +0100
        Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Michael <michaelremerton@gmail.com> - 2011-10-03 18:22 -0700
          Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-04 20:07 +0200
    Re: Sprite Loading / Plotting SWIs and lotting in any colour depth chrisbazley@bigfoot.com - 2011-10-06 21:03 -0700
      Re: Sprite Loading / Plotting SWIs and lotting in any colour depth Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-07 07:04 +0200

csiph-web