Load Resources/Assets from Bank?
Blitz3D Forums/Blitz3D Programming/Load Resources/Assets from Bank?| 
 | ||
| Is there a way to load B3d model, images and sound files from a bank? I'm guessing this involves peek poke-ing though I'm not sure the exact process. something like in Blitzmax LoadImage(LoadBank())..? http://www.blitzbasic.com/Community/post.php?topic=64120&post=715828 Thanks. | 
| 
 | ||
| Using standard built in blitz commands only: You can load images from a bank by directly writing pixel information. You can load meshes without animation from a bank by recreating the triangle information. You cannot load sound files from a bank. Using some third party library: probably possible..... | 
| 
 | ||
| Thanks Matty. Care to point out some previous libraries you might remember? | 
| 
 | ||
| and with the addons by Bobysait, you can now create joints/bones and weights/influences. and you can also create animation frames with poses and consequently animations... which means that you can recreate a rigged/skinned/animated mesh in code and that you can also assemble several rigged/skinned/animated meshes into one (body, face, eyes, hair, clothes, armors, weapons) (which was impossible before these addons) I'm guessing this involves peek poke-ing though I'm not sure the exact process. search the forums/codearchives, there are already several examples... | 
| 
 | ||
| I guess I'm looking for a more stream approach. I found out that with the zip userlib you can extract files to bank. Now I'm just wondering how I read the bank just as I would read a normal file in a folder like LoadMesh, LoadImage without modifying b3d source. Not to protect resources, just to keep the file count to a minimum part of my demo. |