Hi all of you!
Just a quick question, I use 3DSMax to export items to my game and that works fine (with the 'pipeline exporter'), I just load 'em up and it works.
Is there a way to add lights to those items (say I want a torch for example) by adding it in 3sdMax and exporting it ?
I have tried but, well, nothing happens (ie. everything works OK except that the light isn't loaded into the scene graph).
The previewer of .b3d files I got shows the light though.
Any ideas?
Thanks!
ps. I use Irrlicht 1.7.1
Light in a B3D file doesn't 'show up'
Re: Light in a B3D file doesn't 'show up'
It just loads the mesh. You have to do the lights yourself.
Re: Light in a B3D file doesn't 'show up'
Is there a way to load lights from a b3d, I mean like "manually scan" the file and take appropriate actions?
Are there another format that lets you have lights loaded automatically?
Are there another format that lets you have lights loaded automatically?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Light in a B3D file doesn't 'show up'
Only scene files would support this. For now, .irr files and collada. But other formats might follow, now that we have the scene loader API. The idea is to merge the current mesh loaders into the scene loader API and support the full scene content of such files then. But there's no work done yet for this.
Re: Light in a B3D file doesn't 'show up'
Ok, I'll might try to add that to the b3d loader then.
Is there big differences between 1.7.1 scene loader and the latest scene loader?
Is there big differences between 1.7.1 scene loader and the latest scene loader?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Light in a B3D file doesn't 'show up'
There's no generic scene loader interface in 1.7 at all. Check the SVN/trunk version, where you can find an ISceneLoader API and the implementation for .irr files.
Re: Light in a B3D file doesn't 'show up'
Thanks, I guess that will be for the moment when I (finally) switches to 1.8 then 
