WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-09-2007, 12:41 AM
ajmurray ajmurray is offline
Member
 
Join Date: Aug 2007
Posts: 8
Lighting on a 3 channel cluster

Hi all,

While running a 3 channel cluster system, I've noticed that the lighting isn't persistent across all three displays. I.e. a cube lit one way on one channel will be lit differently on the other two channels.

All the three channels are using the same physical view point just with a different rotation. I tried placing a single directional light pointing straight down in the scene but this didn't fix the problem. Any suggestions?

-ajm
Reply With Quote
  #2  
Old 10-09-2007, 11:08 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The following code will disable the default head light and create a light that is attached to the view. The difference here is that the view offsets won't be applied to the light.
Code:
light = viz.addLight()
viz.link(viz.MainView,light)
viz.MainView.getHeadLight().disable()
Reply With Quote
  #3  
Old 10-09-2007, 10:49 PM
ajmurray ajmurray is offline
Member
 
Join Date: Aug 2007
Posts: 8
It seems this only fixed the problem for objects added directly in the script. Other items added using the IDE or directly into the .viz file still show different lighting from channel to channel. Is there a way around this?
Reply With Quote
  #4  
Old 10-10-2007, 10:57 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I just tested it here and it works fine for both script objects and .viz objects. Can you send me a script that recreates the problem. You can post it here or email it to me at lashkari@worldviz.com
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


All times are GMT -7. The time now is 06:47 PM.


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