#1
|
|||
|
|||
Creating a road
Hi,
I need some help in creating a continuous road for a person to drive along using a steering wheel and accelerator, additionally I would also need to adjust the duty cycle or frequency of the white road markings - has anyone tried this before or would someone be able to point me in the right direction as to where to look for similar examples of coding, any advice would be greatly appreciated |
#2
|
|||
|
|||
I'll get back to you with some sample code early next week
|
#3
|
|||
|
|||
Here's a simple example using texture quads with road textures on them added one after the other to look like a road. When you get close to the end of the road more copies of the quad are added so the road keeps going. You can change the frequency of the white lines by hitting a key that changes the texture of quads added later.
I tried using the infinite terrain plugin to do this first but I had the problem of the road texture repeating on both sides as well as in front and back. If this is useful you'll have to work on it to make it look a little better |
#4
|
|||
|
|||
Road
Jeff - you're an absolute legend! Thank you so much for your help
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a Toolbar that follows your view | vSuejung | Vizard | 1 | 09-17-2008 04:53 PM |
Creating an empty <3dnode> | shivanangel | Vizard | 2 | 05-15-2008 02:44 PM |
creating floating menu | cookey | Vizard | 5 | 09-18-2007 05:41 PM |
Creating on the fly objects and projecting them on texture | Johannes | Vizard | 6 | 01-11-2005 04:55 PM |
PeopleMaker - creating morphs | vjonshih | Vizard | 4 | 01-02-2005 04:30 PM |