[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Monthly Archives]
[List Home]
RE: [Virtools] Performance drop when textures come into view for the first time
- Subject: RE: [Virtools] Performance drop when textures come into view for the first time
- From: Patrick Hogenboom <p.hogenboom@mcw.nl>
- Date: Tue, 15 Jan 2002 13:38:43 +0100
Hi Arnoud,
thanks very for pointing out the SystemToVideoMemory call :)
About texture compression, are you sure it causes delay ?
I just put texture compression on my biggest maps and have noticed a speed increase.
Ok, I also resized the textures to a power of 2 (maybe that outweighed the compression performance hit)
This made a real impact as virtools upscaled them to the nearest power of 2, causing the memory footprint to soar !
Maybe there should be a preferences setting to scale non-pow-2 textures up or down.
Is there any way of preventing the need for re-uploading the textures after a reset ?
Just one little question :
How do I set up a loop that iterates through all textures ?
Thanks, Patrick
15-Jan-02 11:10:57, "Arnaud Muthelet" <arnaud@simteam.com> wrote:
>Hi patrick,
>
>The delay is due to system to video bitmap data transfer. The more the
>data, the longer the delay. Delay grows even longer while using texture
>dynamic compression (DXT).
>To fix that, you should loop on all the textures of your scene using the
>function CKTexture::SystemToVideoMemory(), at the beginning of your
>scene. It will take a few moment, but no more delay after (given the
>fact that ALL textures loaded fit in your video memory of course )
>Arnaud.
>
>> Hi all,
>> first of all, let me wish you a fun and productive 2002 :D !
>> May it bring what you wish / dream for.
>>
>> I'm having performance trouble when textures come into view
>> for the first time after I reset / load a world. What I mean
>> is this : _I load a cmo file _rotate the camera _the
>> performance drops when ever I encounter new objects/textures
>> the bigger the texture, the bigger the performance drop.
>> _after I have completed the full 360 degrees, there is no
>> more performance drops
>> Unfortunately, when I reset the scene, the problem comes back !
>>
>> I think that the performance drop is some kind of AGP
>> swapping / texture uploading to video ram. But that it comes
>> back when I reset the scene, just doesn't make sense.....
>>
>> On fast machines the performance just dips, but on low-spec
>> machines, the whole application freezes quite some time...
>> I've seen this under Dev, the standalone player and the webplayer.
>>
>> My questions are these :
>> _Does anybody have more knowledge or an explanation of this
>> phenomenon ? _Why does it recur when I reset the world ? _Can
>> I pre-upload all textures to video ram ?
>> That way the caching time gets added to the loading time
>> and it doesn't interfere with the user's experience. _Can I
>> prevent the clearing of the cache, so that resetting doesn't
>> recur the problem ?
>>
>> Thanks in advance, Patrick
>>
>> ...............................................................
>> Distributed via the virtools-user-group list:
>> http://www.theswapmeet.com/numl.html
>> To reply to the list
>> instead of its author, use "Reply to All" To unsubscribe:
>> send "unsubscribe virtools-user-group" to
>> Majordomo@lists.theswapmeet.com To subscribe: send "subscribe
>> virtools-user-group" to Majordomo@lists.theswapmeet.com To
>> post a message: send it to virtools-user-group@lists.theswapmeet.com
>> ...............................................................
>>
>
>...............................................................
>Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
>To reply to the list instead of its author, use "Reply to All"
>To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
>To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
>To post a message: send it to virtools-user-group@lists.theswapmeet.com
>...............................................................
>
>
...............................................................
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
To reply to the list instead of its author, use "Reply to All"
To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To post a message: send it to virtools-user-group@lists.theswapmeet.com
...............................................................
Follow-Ups: