PDA

View Full Version : textures not displayed after converting from .flt to opengl



sujudavid
11-24-2004, 08:14 PM
hi,

This is the same topic as covered in the topic"how to map textures?",so those who have read that topic please ignore this one.

I have successfully converted the .flt to opengl c code, and could import and view this model during the runtime.

But the problem is the textures are not loaded.I have used polytrans to convert the model, but inside this they are not loading the texture, the function is left blank.It looks something like this

void OGL_Set_Current_Texture_Map(char *texture_map_name, float u_scale, float v_scale, float u_offset, float v_offset)
{

}

I am new to opengl so can someone help me filling this function up.I have used .rgb files for the models,which are refered onto.

thanks,
Suju.