Can I suggest that the SDK (and Blitz3D) have a media path system built in.
ie. Currently I can't load a model if the textures are not present in the model path.
A good set of functions to manage this would be something like :-
AddMediaPath( path )
GetMediaPathCount%()
GetMediaPath$( index )
RemoveMediaPath( path )
ClearMediaPaths()
FindMediaFile$( fileWithNoOrIncompletePath$ ) ; returns the first full path of the file if found
This will keep an internal list of paths which will be searched in order during internal loading of textures/sounds/meshes/images.
I need this because I'm planning a project which could use the SDK to import 3d data from a proprietary file format (for a system which does use media paths). Without the media path support I'm stuck with pre-loading stuff from known locations or loading them on failure... it would all be just too much trouble.
Would anyone else find a need for this?
ie. Currently I can't load a model if the textures are not present in the model path.
A good set of functions to manage this would be something like :-
AddMediaPath( path )
GetMediaPathCount%()
GetMediaPath$( index )
RemoveMediaPath( path )
ClearMediaPaths()
FindMediaFile$( fileWithNoOrIncompletePath$ ) ; returns the first full path of the file if found
This will keep an internal list of paths which will be searched in order during internal loading of textures/sounds/meshes/images.
I need this because I'm planning a project which could use the SDK to import 3d data from a proprietary file format (for a system which does use media paths). Without the media path support I'm stuck with pre-loading stuff from known locations or loading them on failure... it would all be just too much trouble.
Would anyone else find a need for this?