Hi, this is my first post so here it goes,
I just started working with Irrlicht for a Augmented Reality project using a multi-touch display, in my project the user will have displayed in a glass an veicle, and he has to be able to touch diferent parts of the model and see diferent things happening, like touch the door will open it and stuff...
is there any function at irrlicht that map the object's parts so it could list wich part the user is clicling on?
thanks guys!
Clicking on diferent parts of an object
Not really no...
There's a few approaches you could do to getting it working...
If, in your modelling program, you build to car as seperate groups (but export into one file) and each different group has its own texture then each group of the model will be loaded into a seperate mesh buffer and so then you could do some collision detection to find which mesh buffer was touched.
Or you could model the car as seperate groups and export them as seperate files, one file for each group and then load them in and position them into a car shape and then do the collision detection on the seperate nodes you created form the seperate models. That would basically be the easiest approach.
There's a few approaches you could do to getting it working...
If, in your modelling program, you build to car as seperate groups (but export into one file) and each different group has its own texture then each group of the model will be loaded into a seperate mesh buffer and so then you could do some collision detection to find which mesh buffer was touched.
Or you could model the car as seperate groups and export them as seperate files, one file for each group and then load them in and position them into a car shape and then do the collision detection on the seperate nodes you created form the seperate models. That would basically be the easiest approach.
