WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-06-2008, 06:13 AM
Saz Saz is offline
Member
 
Join Date: Nov 2008
Posts: 36
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
Reply With Quote
  #2  
Old 11-07-2008, 06:54 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
I'll get back to you with some sample code early next week
Reply With Quote
  #3  
Old 11-11-2008, 03:06 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
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
Attached Files
File Type: zip road.zip (4.0 KB, 650 views)
Reply With Quote
  #4  
Old 11-14-2008, 03:45 AM
Saz Saz is offline
Member
 
Join Date: Nov 2008
Posts: 36
Road

Jeff - you're an absolute legend! Thank you so much for your help
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -7. The time now is 03:44 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC