My3D Tools v.3.1 released (with Gile[s] exporter)
Try to do following:
Find in file CMY3DMeshFileLoader.cpp the line
And patch it with
I think the loader don't like your textures with some names (and he think that its a lightmaps)
After that everything should be ok.
Find in file CMY3DMeshFileLoader.cpp the line
Code: Select all
if ((sub == LightingMapStr || (Name[pos2-1]=='m' || Name[pos2-2]=='l' || Name[pos2-3]=='_'))
&&
!GetLightMap)
{
...
}
Code: Select all
if ((sub == LightingMapStr || (Name[pos2-1]=='m' && Name[pos2-2]=='l' && Name[pos2-3]=='_'))
&&
!GetLightMap)
{
...
}
After that everything should be ok.
Last edited by ZDimitor on Fri Mar 18, 2005 3:16 am, edited 2 times in total.
here's a screenshot of the log:
http://www.danielpatton.com/afecelis/Zd ... y3dlog.jpg
I'm going to try the fix you suggest in the cpp file and return. Thanks again; I'm glad we're being able to track several things down
http://www.danielpatton.com/afecelis/Zd ... y3dlog.jpg
I'm going to try the fix you suggest in the cpp file and return. Thanks again; I'm glad we're being able to track several things down
Try to do this:
Find this line in
and replace it with
There is 3 such lines must be in file CMY3DMeshFileLoader.cpp
Well!!!
I dont want to update My3DTools with such small bug fixes, so i'll do folowing:
I create new donloads links on my site (to CMY3DMehsFileLoader), and everybody can download the freshest version of loader (with all bug fixes)
See http://my3dproject.nm.ru
Find this line in
Code: Select all
if (texFName!="null")
Code: Select all
if (Name.size()>0)
Well!!!
I dont want to update My3DTools with such small bug fixes, so i'll do folowing:
I create new donloads links on my site (to CMY3DMehsFileLoader), and everybody can download the freshest version of loader (with all bug fixes)
See http://my3dproject.nm.ru
ZDimitor. maybe you have clue. using your gile(s) exporter and loading it to IRR while running DirectX everything works fine. running the same MY3D using OPENGL, I experience the following strange problem. whenever the camera focuses a MY3D-gile(s)-lightmapped-object, all GUI elements (2D pics, fonts etc.) turn black. as soon as the camera gets out of the focus of these MY3D-objects all GUI elements turn back to normal. as I said, the problem arises only, when using OPENGL. it is not an issue for DIRECTX. any idea ?
wolfsb, berlin
wolfsb, berlin
well, ZDimitor, I tried what you suggested. it didn't really help, as far as my special problem is concerned; though your bug-patch might be very useful in a different context. I played with my problem for a while and solved it in a rather bizarre way - maybe you have an explanation. I have a total of 9 "my3d-lightmapped-objects" (gile(s) exported). the problem mentioned earlier does no longer occur, if (only) one of these objects is set to E_MATERIAL_TYPE -> "EMT_LIGHTMAP_ADD". in that particular case everything is fine, also when using OPENGL. as I said, I do not have an explanation for this behaviour, but I can live quite well with the idea of assigning one of 100 objects E_MATERIAL_TYPE -> EMT_LIGHTMAP_ADD, if that resolves my original problem that all GUI elements turned black when the active camera was focussing a lightmapped mesh/node ....
wolfsb, berlin
wolfsb, berlin
-
- Posts: 44
- Joined: Mon Mar 29, 2004 7:46 pm
- Location: New Jersey
- Contact: