Load lights from files (dae, 3ds, b3d,...)
Re: Load lights from files (dae, 3ds, b3d,...)
Maybe others can help better with that. I've not used Blender for a larger project yet, so I only used it for very simple exports (and for scenes I use self-written editors).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Load lights from files (dae, 3ds, b3d,...)
Collada is a horrible format, where no two editors agree on how to speak it. Avoid if you value sanity.
Re: Load lights from files (dae, 3ds, b3d,...)
@hendu: Yeah, it's the worst scene format there is - except all the other certainly. I've used Collada a lot recently and you are right that no 2 tools handle it the same, but still it's the only format which you can get more or less working in nearly every tool. And I fear when it comes to exporting scenes from Blender to Irrlicht it might the closest to a working solution.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Load lights from files (dae, 3ds, b3d,...)
Collada is designed to be an exchange format, but it is open, so everyone uses it how it is best for them. It should be more uniform.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Re: Load lights from files (dae, 3ds, b3d,...)
Collada has a rather good documenation. It's only so complex that it's very hard to implement fully. And despite it's complexity it's unfortunately still missing some stuff like texture matrices, so people add custom extensions. But this problem here is mainly that we use a meshloader for sceneloading. It's better than not supporting it at all, but can certainly be improved.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Load lights from files (dae, 3ds, b3d,...)
Not directly, no... I use the .b3d format for my levels. We use animation bones to determine placement of powerups, and light objects. The trick is to name the bone as to what you need it for. You can name a node "light_255-255-255-20" if you wanted a white light, with a radius of 20 units. We use a simplier system of naming the bones for the correct powerup and then read in the bones one by one, and place what's needed where it's needed.Kiristu wrote: ... but b3d does not support lights, so I select only lights and export in dae ...
The Open Descent Foundation is always looking for programmers! http://www.odf-online.org
"I'll find out if what I deleted was vital here shortly..." -d3jake
"I'll find out if what I deleted was vital here shortly..." -d3jake