I am working on a train based game which will require tracks to be drawn on the 'ground'. I have created a plane and textured it with a grassy texture, and now need to be able to draw the railway tracks. I have a 256x256 texture ballasted track/rails and need to repeatedly render this onto the floor while following the centre-line of each track piece. Unfortunately I cannot fathom how to do this. I have searched the forums and found a couple of similar questions, but none with any indication as to how this is done.
Do I need to create an object for every required occurance of the track texture? Should I be using 3D sprites instead (er - if so, I'm not entirely sure what a '3D sprite' is...)?
If anyone could point me in the right direction I would be very grateful!
Do I need to create an object for every required occurance of the track texture? Should I be using 3D sprites instead (er - if so, I'm not entirely sure what a '3D sprite' is...)?
If anyone could point me in the right direction I would be very grateful!