• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

3D Importing a model using get_open_filename (SOLVED)

Kentae

Member
So I'm making sort of an animation studio to help make my other 3D projects look better. To do this I need to be able to load in 3D models (usually .gmmod) into my animation studio. I've tried usin get_open_filename to do this but the model doesn't show. Am I doing this wrong or is there something I've missed?

In the program I press a button that creates a new instance of an object and in the create event of this object I have this
Code:
load = get_open_filename( "Model|*.gmmod", "" );
model = d3d_model_create();
d3d_model_load( model, load );
Quick help would be much appreciated :)
 
Top