Using Blender

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
devkid
Posts: 9
Joined: Sat Jun 03, 2006 7:57 pm

Using Blender

Post by devkid »

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?
Image
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

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.
TheQuestion = 2B || !2B
devkid
Posts: 9
Joined: Sat Jun 03, 2006 7:57 pm

Post by devkid »

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.
Image
HaRo
Posts: 1
Joined: Sat Jan 12, 2008 8:02 pm

Post by HaRo »

The features site says :
In addition, there are exporters for popular 3D packages (Blender, 3DSMax, Gile[s], ..) included in the SDK.
These could help. Would be practical to export from blender to irrMesh. Anyhow, i didn't find the exporters yet.

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 ? :D
n00b on the neverending quest to avoid n00b questions
oldskoolPunk
Posts: 199
Joined: Wed Nov 29, 2006 4:07 am

Post by oldskoolPunk »

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.
Signature? I ain't signin nuthin!
Post Reply