From 3dsmax to gile[s] my3d to Irrlicht
From 3dsmax to gile[s] my3d to Irrlicht
Hello, the textures in 3dsmax and gile[s] are good but in Irrlicht trough .my3d not.
Does anyone know why??
Thanks
http://www.severing.nl/irrlicht/3dmax.jpg
http://www.severing.nl/irrlicht/giles.jpg
http://www.severing.nl/irrlicht/irrlicht.jpg
Something with uv ??
Does anyone know why??
Thanks
http://www.severing.nl/irrlicht/3dmax.jpg
http://www.severing.nl/irrlicht/giles.jpg
http://www.severing.nl/irrlicht/irrlicht.jpg
Something with uv ??
Last edited by GarniSoft on Tue Jul 29, 2008 3:12 pm, edited 1 time in total.
World = smgr.GetMesh("Tilburg2.my3d")
smgr.MeshManipulator.MakePlanarTextureMapping(World.GetMesh(0), 0.008F)
Dim Zone5 As AnimatedMeshSceneNode = smgr.AddAnimatedMeshSceneNode(World)
Zone5.Position = New Vector3D(0, 100, 0)
Zone5.Scale = New Vector3D(1, 1, 1)
Zone5.Rotation = New Vector3D(0, 0, 0)
Zone5.SetMaterialFlag(MaterialFlag.Lighting, False)
This is the code for the mesh to be load.
Is this ok?
Wich is better? b3d or my3d
Or are there both not good.
smgr.MeshManipulator.MakePlanarTextureMapping(World.GetMesh(0), 0.008F)
Dim Zone5 As AnimatedMeshSceneNode = smgr.AddAnimatedMeshSceneNode(World)
Zone5.Position = New Vector3D(0, 100, 0)
Zone5.Scale = New Vector3D(1, 1, 1)
Zone5.Rotation = New Vector3D(0, 0, 0)
Zone5.SetMaterialFlag(MaterialFlag.Lighting, False)
This is the code for the mesh to be load.
Is this ok?
Wich is better? b3d or my3d
Or are there both not good.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Since you don't disable the LIGHTING flag of the mesh you'll need a light somewhere in the scene. Otherwise, meshes are black. MY3D is often using lightmap meshes, so maybe it simply ignores the lighting in your case. But it might be better to disable EMF_LIGHTING in the mesh completely, at least for tests.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Since you use a static mesh here enither one is faster. It's exactly the same internally. however, the question is which features of the 3d modelling tool are supported by the file format (because you cannot export some things otherwise). And b3d offers more properties to change, more effects, and you can even use it for animated meshes.