Hello,
I find strange the way dynamic lighting works on My3d formats..
Lightmap are ok, but not dynamic light.
In my code, when I load the same mesh but in 3ds format, the lighting is correct, but not with My3d...
I don't have here a screenshot, but I'll post one soon.
The problem is that lighting is somewhat weird, misplaced or buggy.
Anyone has got this sort of problem ?
Weird dynamic lights with My3d format
re: Weird dynamic lights with My3d format
I am not sure but i think .my3d format doesn't support exports lights from max, i tell you that because i looking .my3d format specs and don't see anything about lights, i think you can add a not render object from max then export .my3d and with irrlicht engine identify that node like light and at this point you make light with code.
Here is a discussion about making game levels with 3dsmax:
http://irrlicht.sourceforge.net/phpBB2/ ... my3d#38659
I hope that become usefull to you
Here is a discussion about making game levels with 3dsmax:
http://irrlicht.sourceforge.net/phpBB2/ ... my3d#38659
I hope that become usefull to you
Thanks for replying, but I guess I hadn't explained my problem clearly
I meant dynamic light of the irrlicht engine, those which are added directly in the code (like moving lights of tutorial 11)
Here 's pictures of the problem :
Correct with 3DS (well faced, no misplacing of light)
http://airtel.free.fr/GAMEDEV/Dynamic3DS.jpg
Problem with My3D (not very clear, but visible when light is moving)
http://airtel.free.fr/GAMEDEV/DynamicMy3D.jpg
With My3D, some light appears where it should not. On Vertex where the light isn't, for example...
I hope to be able to use My3D because of the possiblity of lightmap, thus mixing them with Dynamic lightning...
I meant dynamic light of the irrlicht engine, those which are added directly in the code (like moving lights of tutorial 11)
Here 's pictures of the problem :
Correct with 3DS (well faced, no misplacing of light)
http://airtel.free.fr/GAMEDEV/Dynamic3DS.jpg
Problem with My3D (not very clear, but visible when light is moving)
http://airtel.free.fr/GAMEDEV/DynamicMy3D.jpg
With My3D, some light appears where it should not. On Vertex where the light isn't, for example...
I hope to be able to use My3D because of the possiblity of lightmap, thus mixing them with Dynamic lightning...
ok, now i see your problem... anyway i'am not advanced irrlicht programmer i just take this a week ago...
...two ideas come to my head, if you say the light is proyected in .my3d mesh but not in the right place i think is a unit proble so you can merge in a 3dmodeler .my3d with 3ds exported mesh and compare scale diferences, but i don't know how you handling your project so is hard to me help you... another way is look why material seems not being recibe light.
ok i stop speaking now and speak the people wich know about this!!
...two ideas come to my head, if you say the light is proyected in .my3d mesh but not in the right place i think is a unit proble so you can merge in a 3dmodeler .my3d with 3ds exported mesh and compare scale diferences, but i don't know how you handling your project so is hard to me help you... another way is look why material seems not being recibe light.
ok i stop speaking now and speak the people wich know about this!!
I look but i found all links to be dead ones...
http://zdimitor.nm.ru/MY3DExample.zip
http://www.danielpatton.com/afecelis/Zd ... xample.zip
Anything else ?
Thanks
http://zdimitor.nm.ru/MY3DExample.zip
http://www.danielpatton.com/afecelis/Zd ... xample.zip
Anything else ?
Thanks
all Zdimitor's latest stuff is there. Those are dead acuse they're old versions. latest is 3.14
full verison includes the example:
http://www.danielpatton.com/afecelis/Zd ... binary.zip
http://www.danielpatton.com/afecelis/Zd ... 4.full.zip
http://www.danielpatton.com/afecelis/Zd ... .light.zip
full verison includes the example:
http://www.danielpatton.com/afecelis/Zd ... binary.zip
http://www.danielpatton.com/afecelis/Zd ... 4.full.zip
http://www.danielpatton.com/afecelis/Zd ... .light.zip