WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 09-16-2005, 06:01 AM
perselletje perselletje is offline
Join Date: Sep 2005
Posts: 7
ceiling lighted instead of floor

I have a problem with the lights in my virtual room. I managed to create a light, but it shines upward, and I can't find a way to turn it around so it shines downward.

This is what I did:

mylight = lightNode.add(viz.LIGHT)

Can anyone tell me how to turn the light so it shines on the floor instead of the ceiling?

Many thanks!!
Reply With Quote
Old 09-16-2005, 09:28 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

Try changing the position and direction of the lightnode instead. The following code will make the light shine directly downwards:

mylight = lightNode.add(viz.LIGHT)
Reply With Quote

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:31 AM.

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