WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-24-2011, 08:11 AM
new_horizon new_horizon is offline
Member
 
Join Date: Apr 2010
Posts: 43
Creating a light reactive groundplane

Hi All,

Just thought I should post this tip in here with regards to how to create a light-reflective road surface...

ground = viz.addTexture('tarmac.jpg')
road = viz.addTexQuad(viz.WORLD,viz.MainScene,1000) # 100m sq quad
road.texture(ground)
road.setPosition(0,0,0) #
road.rotate(90,90,0)
road.appearance(viz.TEXGEN)
road.appearance(viz.TEXMODULATE)

Seems to work!

Mark
Reply With Quote
Reply


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
Realistic Light and Shadows Using Vizard and 3DS Max jde Vizard 4 07-13-2012 10:58 AM
lighting and on-the-fly objects michaelrepucci Vizard 12 02-11-2011 08:26 AM
basic lighting question malte Vizard 6 12-01-2010 12:25 PM
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
The effect of lighting on performance JRichizzle Vizard 1 06-18-2004 10:40 AM


All times are GMT -7. The time now is 07:20 AM.


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