WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 03-17-2014, 08:11 AM
performlabrit performlabrit is offline
Member
 
Join Date: Oct 2013
Posts: 77
Dark room illuminated by flashlight?

I'm having some strange issues with lighting.

My goal is to create a perfectly dark room that can be illuminated with a directional spotlight / flashlight.

However, I'm unable to get started, because I can't turn off lighting in the room! The room is empty, and consists of only 6 textured walls (this includes the ceiling and floor). I've set both the ambient and emissive properties of each wall to [0,0,0]. Yes, the headlamp has been deactivated, and no, I am not creating any other light sources. The walls still appear uniformly illuminated. What am I missing?

The next step will be to make sure that the planes are tesselated enough to produce smooth shading until spot illumination. Is jumping into Maya / 3Ds Max the best way to do this? Is there a clever way to subdivide planes in the code?

Thanks.
Reply With Quote
  #2  
Old 03-18-2014, 01:17 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Does the following line of code help to darken the room?
Code:
room.appearance(viz.MODULATE)
Reply With Quote
  #3  
Old 04-11-2014, 11:29 AM
performlabrit performlabrit is offline
Member
 
Join Date: Oct 2013
Posts: 77
Ah, rookie mistake here. Viz.lighting was off.

Thanks!
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
room tilting when moving head up and down with HMD Nvis SX111 karinp Vizard 7 01-24-2012 04:01 AM
i want to ccreate a room for a virtual reality applications nasruddin Vizard 1 03-20-2009 10:55 AM
animating people wandering in a room dellatails Vizard 5 02-13-2006 02:02 PM


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


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