[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: "Arnaud Muthelet" <arnaud@simteam.com>
- Date: Tue, 15 Jan 2002 11:10:57 +0100
- Importance: Normal
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
...............................................................
References: