Re: DirectX and ScreenSaverProc
- From: "Wessam Bahnassi" <wbahnassi@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 11 May 2005 09:16:03 +0300
Load the textures before playing anything. Loading such big resources amidst
app main loop is a big no-no for performance...
Wessam Bahnassi
Microsoft DirectX MVP,
Lead Programmer
In|Framez
"Bryan" <kashmir76@xxxxxxxxxx> wrote in message
news:VKidnbuJZp9LRR3fRVn-pg@xxxxxxxxxxxxx
> Hi all,
>
> I hope that someone will be able to help me. I created a screensaver of
> a cube that I can map my pictures to all 6 surfaces. I call the render
> function each time a WM_TIMER messageis recieved and then after every 10
> (or
> 20 ect ) WM_TIMER calles I also call D3DXCreateTextureFromFile to load
> another file on to the cube. The problems is that while the file is
> loading
> the cube stops spinning. Does anyone have an idea how I can avoid this and
> keep the cube from stopping while mesh changes?
> Thanks in advance.
>
> Bryan
>
>
.
- Follow-Ups:
- Re: DirectX and ScreenSaverProc
- From: GarryFre
- Re: DirectX and ScreenSaverProc
- From: Bryan
- Re: DirectX and ScreenSaverProc
- References:
- DirectX and ScreenSaverProc
- From: Bryan
- DirectX and ScreenSaverProc
- Prev by Date: Re: Managed DX gives D3DERR_INVALIDCALL on device creation...
- Next by Date: Re: texture filtering and transparency
- Previous by thread: DirectX and ScreenSaverProc
- Next by thread: Re: DirectX and ScreenSaverProc
- Index(es):
Relevant Pages
|