Workspace lights

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Workspace lights // Roundtable

1  |  

Post by clintonman // Jan 9, 2008, 8:41pm

clintonman
Total Posts: 304
pic
I did some research on directx lighting and this is basically what I found. I think light attenuation in workspace is a combination of falloff and intensity. If you choose a value of 1.0 for AttConstant then you get no falloff. Value of 1.0 for AttLinear and you get linear falloff. 1.0 for AttQuadratic you get squared falloff.
Then you can change the intensity by change the 1.0 value.
Increase the Att(Constant, Linear, Quadratic) value and you get a darker light. Decrease and you get a brighter light. It's like the opposite of intensity.
In modelspace an intensity between 0 and 1 changes the light color on the workspace side. Modelspace intensity of 1 and up has no effect on workspace light color or intensity.
If you change color on workspace side then modelspace side color and intensity are affected.

My head hurts. What do you guys think? Does this make sense?

Post by trueBlue // Jan 9, 2008, 8:54pm

trueBlue
Total Posts: 1761
pic
My head hurts too. Check this Infinite Light out and see what you think. I was trying to add Intensity.
http://forums1.caligari.com/truespace/showthread.php?t=4742

Post by W!ZARD // Jan 10, 2008, 2:26am

W!ZARD
Total Posts: 2603
pic
Yeah it does make sense even though it seems a little backward to the way we usually think about lights.


Attenuation basically means 'amount of signal decrease over distance' and has a lot to do with the medium through which the signal (in this case, light) is traveling.

I find it helps to think of it in terms of sound - Intensity in a light is like volume in a speaker - but the amount of sound heard depends on how much the sound signal attenuates between the speaker and your ear and that depends on the medium the sound travels through to get to your ear.

So air at sea level pressure will attenuate the sound differently to say cotton wool or broccoli.


Light is the same in that the medium it's traveling through affects the amount it appears to decrease over distance. A 100 watt bulb is just as bright (intense) on a clear cloudless night as it is on a foggy or smoky night but the attenuation of the light from that bulb will be very different.


Thus a bulb with an att factor of 1.00 can be equally as intense as a light with an att factor of 0.50 but the amount of light from those bulbs will be very different as you move away from them. The higher att factor will result in a faster decrease in the amount of light transmitted - it will fade faster over distance.


At least that's my understanding of it - bear in mind I never went to university and left school at 16 to get a trade - greater minds than mine will have a more elegant explanation.....

Post by 3dfrog // Jan 10, 2008, 11:59am

3dfrog
Total Posts: 1225
pic
I never got past a bachelor degree, so working with lights in workspace is pretty hard for me :p I like to set up my lights on model side, nice and easy.

Post by jamesmc // Jan 10, 2008, 12:16pm

jamesmc
Total Posts: 2566
I never got past a bachelor degree, so working with lights in workspace is pretty hard for me :p I like to set up my lights on model side, nice and easy.


Me too, I'm a slider bar type of guy.

The current interface of WorkSpace lends itself to those who like to spend inordinate amount of time in the geekiness of 3D graphics, but it is the bane of an artist who wants to "slam bam thank you ma'am" some quick production. The model side is much more user friendly.

Post by clintonman // Jan 10, 2008, 5:23pm

clintonman
Total Posts: 304
pic
Yep. Workspace lights need a makeover for ease of use and moving them around. I also use modelspace to setup lights and I like that you can look through the light to aim it. It should be interesting to see what trueBlue comes up with.

Post by transient // Jan 10, 2008, 6:47pm

transient
Total Posts: 977
pic
All I want is for the lights to have access to the same combo-widget that all the other objects have. I find moving and rotating them a bit unwieldy.

Post by trueBlue // Jan 10, 2008, 8:00pm

trueBlue
Total Posts: 1761
pic
That is easy enough to do. For instance take a Spotlight and right click on the Matrix and Reset it. Should have a Spotlight that is pointing up @ World orgin 0, 0, 0. Expand the Matrix and change Roll to 180. With the Spotlight selected, Encapsulate in 3D. To use the Widget again, go inside and select it.

Post by transient // Jan 10, 2008, 10:01pm

transient
Total Posts: 977
pic
That's really cool, thanks. :)

Post by clintonman // Jan 11, 2008, 10:09am

clintonman
Total Posts: 304
pic
Yeah, that's a great tip.:)

Post by trueBlue // Jan 11, 2008, 10:41am

trueBlue
Total Posts: 1761
pic
But there is a problem that I just discovered. Seems if you use the Widget then it is out of sync with the parent object. You'll have to go inside and Reset the Matrix and change roll to 180, and that is if you have the parent Reset too. Geeeze$%#&!@

Post by clintonman // Jan 11, 2008, 3:30pm

clintonman
Total Posts: 304
pic
That is easy enough to do. ...


"It's never easy.", Dillon Hunt;)

Post by W!ZARD // Jan 13, 2008, 9:23pm

W!ZARD
Total Posts: 2603
pic
I may well be missing something but I've found that encapsulating the light in 3d with a 'blank' object - like an invisible cube (object render attributes) you can move them both around using the widget - I think :confused:
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn