Yeah that's what I'm having to do now. It kind of sucks that they take
so long to create though.
I know they didn't used to take this long because I remember when the
change happened and I had to make it create the RTs at init.
Oh well, would be nice to know why and if there's anything we're doing wrong.
On 7/18/06, Teddy <[EMAIL PROTECTED]> wrote:
As long as i can remember there's always been a delay.. so i just made
sure to create all my render targets when on startup (i only have
about 4, so it's no biggy)
On 7/18/06, Garry Newman <[EMAIL PROTECTED]> wrote:
> I'm pretty sure that way back, like a year ago, the RTs were created
> almost instantly without any pause.
>
> On this call:
>
> Msg("Creating RT Texture..\n");
> ITexture* tex = materials->CreateNamedRenderTargetTexture( "ffff",
> 256, 256, RT_SIZE_NO_CHANGE, fmt );
> Msg("DONE!\n");
>
> It's taking about 3 seconds between the Msg's.. with a bunch of
>
> First-chance exception at 0x7c81eb33 in hl2.exe: Microsoft C++
> exception: Grid::CFs::CEndOfFileException @ 0x0013ce2c.
>
> in between.
>
> What's the deal? Is there a faster way? Why is it reading 8 files when
> creating a simple render target?
>
> - garry
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders