vector data plug-in? (was Re: REALbasicGL) (Real Studio games Mailinglist archive)
|REALbasicGL - cap'n bishop|
|vector data plug-in? (was Re: REALbasicGL) - Joseph J. Strout|
|vector data plug-in? (was Re: REALbasicGL)|
|Date: 04.04.05 14:39 (Mon, 4 Apr 2005 08:39:59 -0500)|
|From: Joseph J. Strout|
At 4:21 PM -0500 4/2/05, Frank Condello wrote:
>I've given this a bit of thought but I can't see an obvious way to
>add fast random memory access to RB even with a plugin.
You're right, under the current constraints -- this is something
we're going to have to address internally. We've given this a lot of
consideration already, though I can't say much more about it at this
>It would probably be best to create specialized classes for common
>data types. Some 32bit float arrays would be most useful: VecBlock,
>Vec2Block, Vec3Block, Vec4Block would cover a lot of situations.
>Similar classes for bytes, ints or doubles could also come in handy.
>Normal getters/setters would have to be implemented for
>unforeseeable situations (and to fill the data in the first place)
>but ideally those can be avoided when speed is required.
That'd be a neat project, too. You could even make them use Altivec
where available and appropriate.
I'd certainly participate in the development of such a plug-in as
much as possible. Is anyone else interested?