Re: DirectX and ScreenSaverProc



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
>
>


.



Relevant Pages

  • Re: DirectX and ScreenSaverProc
    ... I was reading the part on threads. ... and then you tell the thread to start loading the next file. ... Multi-Threading, delegates and messaging, I think the solution lies in there. ... >> a cube that I can map my pictures to all 6 surfaces. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • format string for measures in AS 2005
    ... In my cube, I had to add the following line in the calculations to allow ... loading of data on non leaf levels: ...
    (microsoft.public.sqlserver.olap)
  • Re: Cyclists
    ... |> There is a cube law applies here. ... |> Wear varies as the *cube* of loading. ...
    (uk.rec.walking)
  • Re: Cyclists
    ... Wear varies as the *cube* of loading. ... does the number of walkers I come across exceed the cube of the number of MTBers? ...
    (uk.rec.walking)