hello!
I have already added a cylinder in the scene and apply texture to the external wall. But now i want to apply texture on the inner wall of a tube. So the 2 questions are: How to create a tube? & How to apply the texture on the inside wall of the tube
Thx!
How to create a tube and apply texture to its inner wall.
Re: How to create a tube and apply texture to its inner wall.
Tubes are indeed problematic since they are hihly non-convex, and won't behave correctly during dynamic simulation.
Have a look at the demo scene scenes/otherScenes/pureTubeExtraction.ttt: in that scene a dynamic equivalent of a tube is created automatically via cuboids.
So use a simplified version of your tube (e.g. using cuboids) for all dynamic aspects, hide it in an invisible layer, and keep the visual tube (but make it static and non-respondable). If you need 2 different textures, then divide the tube into 2 different shapes: the outer part, and the inner part: then you can apply 2 different textures and group those 2 shapes into a single entity.
Cheers
Have a look at the demo scene scenes/otherScenes/pureTubeExtraction.ttt: in that scene a dynamic equivalent of a tube is created automatically via cuboids.
So use a simplified version of your tube (e.g. using cuboids) for all dynamic aspects, hide it in an invisible layer, and keep the visual tube (but make it static and non-respondable). If you need 2 different textures, then divide the tube into 2 different shapes: the outer part, and the inner part: then you can apply 2 different textures and group those 2 shapes into a single entity.
Cheers