2 registered members (Akow, tomaslolo),
1,536
guests, and 12
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: libAsset - A library for loading assets in the background
[Re: WretchedSid]
#371597
05/23/11 03:32
05/23/11 03:32
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
It's around 350 mb, but zips to around 43. If you don't mind, can you pm me your email address so I can email it to you?
Jibb
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
Re: libAsset - A library for loading assets in the background
[Re: Shadow969]
#375909
06/28/11 19:32
06/28/11 19:32
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
It works great, but their is still some delay from loading textures into video memory, which is done through DirectX and apparently can't be done in the background.
I imagine other bigger games that do manage to stream in large textures without interrupting gameplay have the memory already allocated as one texture and load smaller textures into it gradually (stitched together, or alternating pixels, or something). That's a complete guess.
Jibb
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
Re: libAsset - A library for loading assets in the background
[Re: JibbSmart]
#427778
08/13/13 15:38
08/13/13 15:38
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
Hey! Thanks for releasing this. I tried to use the small version you posted in the other thread but it doesnt make any difference Sadly this link here is down and I cant test it. Would someone be so kind and could upload a new version of this please?
|
|
|
Re: libAsset - A library for loading assets in the background
[Re: WretchedSid]
#427781
08/13/13 16:46
08/13/13 16:46
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
Thanks! Well, Im spawning 3 times the same model. First time to load textures, One time with your function and one time with only ent_create. Im using timer() to calcuulate the creation time: Its near the same The model has got many textures, bones and vertices, textures are intern for sure. IDK why it doesnt work
Last edited by Ch40zzC0d3r; 08/13/13 18:26.
|
|
|
Re: libAsset - A library for loading assets in the background
[Re: Aku_Aku]
#427800
08/13/13 20:32
08/13/13 20:32
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
Well, I just got a much better fix myself. I used another model (CUBE_MDL) for the c_move etc and created my model with collision_mode = 0 There is no lag at all, and the best is theres no difference in code since Im using my own hitboxes
|
|
|
|