WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-28-2014, 08:00 AM
johnallen johnallen is offline
Member
 
Join Date: Nov 2013
Location: Canterbury, UK
Posts: 36
best way to illumincate a room?

I've created a room in 3ds Max and exported it to osgb.

When I view it from Vizard, I find that the walls all appear very dark, virtually black unless I'm viewing it straight on. Within +-30degrees its ok, after that it gets progressively darker.

It's particularly a problem for the ceiling which i have a a pale blue.

I'm guessing its a problem with illumination - I have none added, at present.

My question is,
- am I best to go back to 3ds max and to try to include some built-in illumination (how?), or
- should I do something like add an infinite direction light source in Vizard(I don't want to introduce any shadows, just to make the room brighter.)

Any advice on how best to approach this problem would be appreciated. I've searched around but cant see any advice on how to approach the problem.

(my room is 8.25(L) x 4.2(W) x 2.37(H) so the apparently black ceiling is very oppressive)

Many Thanks
Reply With Quote
  #2  
Old 07-28-2014, 10:59 AM
roobert roobert is offline
Member
 
Join Date: May 2014
Location: Pachuca, Hidalgo, México
Posts: 34
Send a message via Skype™ to roobert
I had the same problem and my answer were:

#Create skylight
viz.MainView.getHeadLight().disable()
sky_light = viz.addLight(euler=(0,90,0))
sky_light.position(0,0,-1,0)
sky_light.color(viz.WHITE)
sky_light.ambient([0.9,0.9,1])
Reply With Quote
  #3  
Old 07-29-2014, 01:46 AM
johnallen johnallen is offline
Member
 
Join Date: Nov 2013
Location: Canterbury, UK
Posts: 36
Hi Roobert,

Thanks for your helpful reply.

I tried the settings you gave which illuminated the ceiling nicely.

I also wanted to illuminate the walls so I didn't disable the headlight which worked ok however even the default (maximum?) light 'spread' of 180 didn't illuminate the side walls very much so I also tried adding individual light sources to illuminate each wall (and disabled the headlight)

I was a bit confused at the beginning with the position/euler settings for these directional lights - this is what I ended up with:

euler=(0,0,0) for all lights
position = (1,0,0,); (-1,0,0,0); (0,0,1,0), (0,0,-1,0)

... for the 4 separate lights. (set color & ambient for each too, as desired)

cheers,
John
Reply With Quote
  #4  
Old 07-29-2014, 02:43 AM
johnallen johnallen is offline
Member
 
Join Date: Nov 2013
Location: Canterbury, UK
Posts: 36
correction:
i used

sky_light.position(0,0,1,0) #ie +1, not -1

to illuminate the ceiling though I've just discovered that this works too (for the sky_light)
euler=(0,0,0)
position=(0,-1,0,0)

Last edited by johnallen; 07-29-2014 at 02:46 AM.
Reply With Quote
Reply

Tags
lighting vizard osgb

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
quick way to center a room at 0,0 ? johnallen Vizard 2 06-11-2014 06:38 AM
Dark room illuminated by flashlight? performlabrit Vizard 2 04-11-2014 10:29 AM
room tilting when moving head up and down with HMD Nvis SX111 karinp Vizard 7 01-24-2012 03:01 AM
i want to ccreate a room for a virtual reality applications nasruddin Vizard 1 03-20-2009 09:55 AM
animating people wandering in a room dellatails Vizard 5 02-13-2006 01:02 PM


All times are GMT -7. The time now is 01:27 AM.


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