realbasic-games
[Top] [All Lists]

Re: Text3D Class (beta) for RB3D

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Text3D Class (beta) for RB3D
From: Lo Saeteurn <realbasic at miensoftware dot com>
Date: Thu, 30 Mar 2006 15:55:15 -0800
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <D3680394-40D3-406E-92B9-DE40DCBB62E0 at miensoftware dot com> <a0620073bc050576daca9 at [10 dot 0 dot 1 dot 2]> <252A1B36-40F5-4F9B-9985-E048B1A1FC72 at miensoftware dot com> <a06200742c050640ea26f at [10 dot 0 dot 1 dot 2]> <453AF528-7F35-4600-8BFE-84786DEE6484 at miensoftware dot com> <a0620074dc050aea91ec3 at [10 dot 0 dot 1 dot 2]> <861BD101-76D8-492C-BEDA-710ABA40678B at miensoftware dot com> <a06200756c050f99baf76 at [10 dot 0 dot 1 dot 2]> <4AAF5593-9160-4F83-9036-CFB370C6C4D9 at miensoftware dot com> <a06200759c051cef1af7c at [10 dot 0 dot 1 dot 2]> <4DA0A4DA-FF11-48EB-A74F-5A8822418A4F at miensoftware dot com> <5208ace422164194c938750076ecfc26 at fireyesoftware dot com>
But doesn't it use the same data structure as Quesa which is a real array in memory where you can't resize (since the memory next to it is not likely to be free).

I'm just looking at it at a lower level. If it's doing that behind the scenes, then it would be a huge bottleneck to resize so I have to design it to resize sparingly--only when characters increases significantly.

On Mar 30, 2006, at 3:20 PM, Asher Dunn wrote:


On Mar 30, 2006, at 6:08 PM, Lo Saeteurn wrote:

So if I change the vertex count and the triangle count, it automatically copies the original VertexList and TriangleList to new arrays? If so, does it do this when I'm downsizing it?

It doesn't copy them into new arrays, it resizes the existing arrays. At least, I presume it does. When downsizing, it preserves as much data as possible (like redim).

-- Asher

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>