I've got two questions:
1. I'm using Blender and I'd like to know in which format I've to export the file to work with Irrlicht. For testing I made a simple cube and exported it to .3ds. If I don't set a texture to the object, the cube seems to be white. When I use a simple wall texture or any other texture the cube only appears gray.
With the sample model "sydney.md2" from the "media" folder there isn't any problem with texturing the object. What's the problem? Is there any other (external) exporter for blender files? (if possible for Linux and the command line)
2. Is it possible to map the textures in Blender so that I don't need to do this in my code?
Using Blender
1. Supported mesh formats for Irrlicht:
http://irrlicht.sourceforge.net/features.html
As you can see Irrlicht support 3DS, OBJ, and X which Blender comes with out of the box.
As for your second question, is your texture in the right directory for use with the model?
2. Yes.
http://irrlicht.sourceforge.net/features.html
As you can see Irrlicht support 3DS, OBJ, and X which Blender comes with out of the box.
As for your second question, is your texture in the right directory for use with the model?
2. Yes.
TheQuestion = 2B || !2B
1. This files load without problems, but it is impossible to texture them.
2. The only format I've seen that is containing the original texture filename is 3DS, any other format only contains mapping data, not the path to the texture itself. The texture is in same folder like the 3DS-file and the executable.
2. The only format I've seen that is containing the original texture filename is 3DS, any other format only contains mapping data, not the path to the texture itself. The texture is in same folder like the 3DS-file and the executable.
The features site says :
my n00b questions :
- Where can these be found ?
- are the blender ones python scripts / plugins ?
what i found :
http://www.irrlicht3d.org/wiki/index.ph ... .Exporters
Even a n00b such as me can use the WIKI. Perhaps these exporters help you too ?
These could help. Would be practical to export from blender to irrMesh. Anyhow, i didn't find the exporters yet.In addition, there are exporters for popular 3D packages (Blender, 3DSMax, Gile[s], ..) included in the SDK.
my n00b questions :
- Where can these be found ?
- are the blender ones python scripts / plugins ?
what i found :
http://www.irrlicht3d.org/wiki/index.ph ... .Exporters
Even a n00b such as me can use the WIKI. Perhaps these exporters help you too ?
n00b on the neverending quest to avoid n00b questions
-
- Posts: 199
- Joined: Wed Nov 29, 2006 4:07 am
Ive only used a couple of the bundled exporters in Blender (.x,.obj,.md2) and also the .b3d one Irrlicht seems to apply and display the textures on them automatically.
Make sure you are assigning the textures in the UV window, not in the material. Mostly blenders materials are for blender only.
You will know the texture is assigned properly when you can see it applied to the model in the 3d view.(not rendered)
If all else fails, just apply the texture in your code. All thats being written to the file are the texture coords anyways.
Make sure you are assigning the textures in the UV window, not in the material. Mostly blenders materials are for blender only.
You will know the texture is assigned properly when you can see it applied to the model in the 3d view.(not rendered)
If all else fails, just apply the texture in your code. All thats being written to the file are the texture coords anyways.
Signature? I ain't signin nuthin!