The model is fine. I loaded it in my fastmilkshape loader. The size of the texture doesn't matter because ipicture resizes any texture file you give it.
For some reason though, your loader doesnt load or render the texture. Ill see if i can figure out why...
[edited by - llvllatrix on April 3, 2003 6:09:06 PM]
Texture problem
Found the problem. When i wrote the loader i never tested it with the model in the same directory as the exe - i always figured that it would be in a data directory but its an easy fix.
You can download the new loader at : members.rogers.com/ramrajb/Downloads/FastMilkshape.ZIP
Just copy the new files over the ones you have to update them - you dont have to update the exporter - havent changed it.
but if you dont want to go through that fuss just change this line of code in the FastMilkshapeModel.cpp file in the load function:
change return false; to pathLength = 0; and thats it. I also included a bit more error checking in the updated version so it may be worth your while to update.
Sorry if i put you through any grief
Thanks and good luck using stuff i wrote
[edited by - llvllatrix on April 3, 2003 11:07:14 PM]
[edited by - llvllatrix on April 3, 2003 11:08:36 PM]
[edited by - llvllatrix on April 3, 2003 11:33:04 PM]
You can download the new loader at : members.rogers.com/ramrajb/Downloads/FastMilkshape.ZIP
Just copy the new files over the ones you have to update them - you dont have to update the exporter - havent changed it.
but if you dont want to go through that fuss just change this line of code in the FastMilkshapeModel.cpp file in the load function:
//load textures based on relative format char pathTemp[256], * pdest; int pathLength; if(pdest = strrchr( filename, '/' )) { pathLength = pdest - filename + 1; } else if(pdest = strrchr( filename, '\\' )) { pathLength = pdest - filename + 1; } else { //was return false; //make it this: pathLength = 0; } strncpy( pathTemp, filename, pathLength );
change return false; to pathLength = 0; and thats it. I also included a bit more error checking in the updated version so it may be worth your while to update.
Sorry if i put you through any grief

Thanks and good luck using stuff i wrote

[edited by - llvllatrix on April 3, 2003 11:07:14 PM]
[edited by - llvllatrix on April 3, 2003 11:08:36 PM]
[edited by - llvllatrix on April 3, 2003 11:33:04 PM]
Ya, I noticed that bug so I put ''h'' instead of ''/'' just that it loads the texture(''h'' is cause file starts with ''h''--hellskull_tex.jpg, I needed fast temporary solution
). So I managed to load it but it still loads incorrectly.
Still, I''ll check new loader and get some info back here.
Anyway, thanks for writing that loader, it really saves time and nerves for loading 3d models.
I hope you continue work on it!

Still, I''ll check new loader and get some info back here.
Anyway, thanks for writing that loader, it really saves time and nerves for loading 3d models.
I hope you continue work on it!

Nah same problem. Screenshot is here: http://public.st.carnet.hr/~iplestin/tex_bug.jpg
Could this be hardware problem?
Could this be hardware problem?
Better?
http://public.st.carnet.hr/~iplestin/tex_bug2.jpg
Or you acctually want lighting in program?
[edited by - pleja on April 4, 2003 11:45:50 AM]
http://public.st.carnet.hr/~iplestin/tex_bug2.jpg
Or you acctually want lighting in program?

[edited by - pleja on April 4, 2003 11:45:50 AM]
Im almost positive that its a texturing problem. Check out what happens when i fill in the white portion of the texture with brown:

[edited by - llvllatrix on April 4, 2003 10:17:17 PM]

[edited by - llvllatrix on April 4, 2003 10:17:17 PM]
Can you try to point more specifically to the problem, I don''t really see anything wrong, make a red line around where the bug is, or something like that. Just point it out.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement