I am new to Irrlicht, so this is probably a really noobie post, but I have been trying to get this to work for a week now.
LightMapping. I have used Gile[s], and love the way it renders my scene's lightmaps, but have not been able to export into a format that Irrlicht can import correctly.
The only two I can even get to import geometry that get's drawn by Irrlicht are...
.3ds - looses textures, everything is black
.my3d - looses textures, everything is black
I have tried OpenGL, Software, and both DirectX 8 and 9. Nothing works.
I am still working on my models and program, which are working fine so long as I export to .3ds from 3D Studio Max and import into Irrlict, but this doesn't do any lighting, so my scene is very dull.
If there is a process that I should follow, a program I should get, or a line or two of code I should write to get this working, I would love to know what it is. Pre-Processed lighting is the only lighting I even need for the whole project, so lightmapping is a high priority.
Thanks,
Trevor Parscal
www.trevorparscal.com
LightMapping
I had the same problems with my3D and Giles.
I'm not exactly sure what the problem was but I think it was because my lightmap was not named "objnameLightingMap.tga" (objname is the name of the mesh)
Besides that I had to put all textures and lightmap in the zip archive that I used in my program but not the my3d level mesh, this had to be outside.
And I had to use "./" before the filename when I loaded the mesh.
I'm not exactly sure what the problem was but I think it was because my lightmap was not named "objnameLightingMap.tga" (objname is the name of the mesh)
Besides that I had to put all textures and lightmap in the zip archive that I used in my program but not the my3d level mesh, this had to be outside.
And I had to use "./" before the filename when I loaded the mesh.
-
- Posts: 2
- Joined: Wed Apr 27, 2005 11:54 am
THANKS!
Thank you so much for your help. I got it working.
Irrlicht = great!
Irrlicht = great!
How to create the lightmap tga file?
I export to my3d in 3dsmax and then make lightmaps as standalone files,
there comes a directory Lightmaps, but that directory is empty then.
In 3dsmax I've made a scene, omni light. direct spot etc.
Anyone knows how this is supposed to work?
THanks in advance,
- Myth
I export to my3d in 3dsmax and then make lightmaps as standalone files,
there comes a directory Lightmaps, but that directory is empty then.
In 3dsmax I've made a scene, omni light. direct spot etc.
Anyone knows how this is supposed to work?
THanks in advance,
- Myth