WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 3 votes, 4.67 average. Display Modes
  #1  
Old 05-26-2010, 11:13 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Try passing different values into the emissive command. Does something like this work for you?
Code:
import viz
viz.go()

male = viz.add('vcc_male.cfg',pos=[0,0,5],euler=[180,0,0])
male.state(1)

headLight = viz.MainView.getHeadLight()
headLight.disable()

slider = viz.addSlider()
slider.setPosition(0.2,0.2)

def changeLight(pos):
	male.emissive([pos]*3)

vizact.onslider(slider,changeLight)
Reply With Quote
  #2  
Old 05-28-2010, 02:26 AM
malte malte is offline
Member
 
Join Date: Feb 2008
Posts: 7
yes that works fine,
thank you very much!
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
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
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
Basic Joystick Navigation Question Plasma Vizard 2 01-29-2004 07:08 PM
Vizard 2.0x lighting FlyingWren Vizard 4 08-11-2003 12:20 PM


All times are GMT -7. The time now is 07:30 PM.


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