Our models in Irrlicht / IrrEdit

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
Frank_Geppert
Posts: 29
Joined: Tue Oct 23, 2007 2:41 pm

Our models in Irrlicht / IrrEdit

Post by Frank_Geppert »

Hi,

we launched a new model pack and like last time I rendered them in Irrlicht again. I found out that the b3d format works best if models have several textures applied.


Image

This is a screenshot directly from IrrEdit.

More details can be found at http://www.dexsoft-games.com

Regards,
Frank
Models, Textures and Games from Dexsoft-Multimedia http://www.dexsoft-games.com
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Cool looking model :)

Generally it's best to just have one texture per model for rendering as this is the most efficient way as you don't have to keep switching textures in and out of memory which can be time consuming, just so you know!
Image Image Image
Frank_Geppert
Posts: 29
Joined: Tue Oct 23, 2007 2:41 pm

Post by Frank_Geppert »

I see, but then you get into trouble with tiling textures sacrificing details.

All the indoor renderers like BSP can render with several textures per level so it must be manageable in real-time 3d.
Models, Textures and Games from Dexsoft-Multimedia http://www.dexsoft-games.com
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

wow, looks pretty. does the model has normal map(s) applied on it? coz' i saw normal maps in the screen you posted.
Frank_Geppert
Posts: 29
Joined: Tue Oct 23, 2007 2:41 pm

Normal Maps

Post by Frank_Geppert »

Virion:
Yes, all models have diffuse, spec, height and normal maps. But to be honest: I did not manage to activate them in IrrEdit. So this picture shows only static shadows.

For a real-time game some normal maps could look good in close distance. But if you are a bit away from a model then this is not needed. So it would be ideal to have LOD versions of your materials to render an entire city. Because of this we have made LOD versions of the models for every house. The goal was to make cities like you can find in Assassins Creed and other games.
Models, Textures and Games from Dexsoft-Multimedia http://www.dexsoft-games.com
oldskoolPunk
Posts: 199
Joined: Wed Nov 29, 2006 4:07 am

Post by oldskoolPunk »

Are all those different textures used on the one building ?
Signature? I ain't signin nuthin!
Halifax
Posts: 1424
Joined: Sun Apr 29, 2007 10:40 pm
Location: $9D95

Post by Halifax »

Yes it appears so, and that is a lot of textures. By the way, how many polygons does that model have? (From the picture it looks to be about 4,000 polygons.)

I would also like to know how this model performs if you put 10-20 in a level.
TheQuestion = 2B || !2B
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Frank_Geppert wrote:I see, but then you get into trouble with tiling textures sacrificing details.

All the indoor renderers like BSP can render with several textures per level so it must be manageable in real-time 3d.
The common way to do it is to stick all of you're textures onto a single large "pallete" texture specific to a single environment, and use different sections of this single image on different parts of the mesh by offsetting the texture coordinates. Offcourse, this makes it *blows nose* impossible to tile a single section of the big texture without using some special technique or hack, so maybe have seperate textures for the ones that are for tiling and keep all the single-use textures together *sneeze* in one big image.

*Takes some Panadol (c)*

The reason why this is so important is that switching textures is one of the biggest state changes you can do in graphics hardware, and also because every different section of the mesh that has a seperate material requires an additional draw call.

Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
oldskoolPunk
Posts: 199
Joined: Wed Nov 29, 2006 4:07 am

Post by oldskoolPunk »

Now I understand, we can use all those textures for the entire area, but preferably in one file. Thats some good info, BlindSide thanks :D

And that is some beautiful artwork, Frank_Geppert ! Keep up the good work.
Signature? I ain't signin nuthin!
lostclimategames
Posts: 331
Joined: Sat Sep 02, 2006 4:11 am
Location: Michigan
Contact:

Post by lostclimategames »

it is also very possible to create a file packer of some sort. always a second option.
___________________________
For all of your 3D/2D resource needs:
Image
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

Offcourse, this makes it *blows nose* impossible to tile a single section of the big texture without using some special technique or hack
BlindSide >> do you think this can be done using shader? ...of course in some reasonable speed.
Post Reply