visibility of lights camera for realtime render

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.

visibility of lights camera for realtime render // Tech Forum

1  |  

Post by ivampretti // Nov 15, 2008, 3:28pm

ivampretti
Total Posts: 151
pic
Is there a better way of turn invisible ligths, cameras, bones, etc without entering in each one and put a object render settings and set it to invisible?

If it works just like in the LE properties panel whould be the best way ;) is just uncheck a boolean box to turn then invisible!:jumpy:

Post by robert // Nov 15, 2008, 4:09pm

robert
Total Posts: 609
pic
It might be possible to write a script so that it will automatically turn everything selected invisible. I'm just not sure how to make the Render Attributes box. I can't find the settings box in the LE which has that option either, strange how everything except that is in the preferences thing. I don't know any way to do it otherwise. Since I don't have the C++ code for the LE preferences box I can't just make a plug in thing either.:(


Not sure how to do it other than one at a time.

Post by trueBlue // Nov 15, 2008, 5:21pm

trueBlue
Total Posts: 1761
pic
The Link Editor navigator has such a function where it will Show/Hide all selected objects.
http://forums1.caligari.com/truespace/showpost.php?p=35795&postcount=11

Post by ivampretti // Nov 16, 2008, 5:42am

ivampretti
Total Posts: 151
pic
@trueBlue -This looks awesome trueBlue!! Its already pretty much easer! But is there a possibility to add a single buttom to hide All lights with a single click?

Post by trueBlue // Nov 16, 2008, 6:12am

trueBlue
Total Posts: 1761
pic
The Hide/Show script works for anything that has a Matrix and is Selected. So it works for Lights too as long as they are selected.
But what you are asking for is possible too just not with this script.
Your script would have to scan the Scene and most likely Sub Objects too.
Look at the NameSpace - Node and you will find commands for Exist and IsLight.
So instead of using Matrix you would use IsLight.

Post by ivampretti // Nov 17, 2008, 2:09pm

ivampretti
Total Posts: 151
pic
Ok trueblue its possible, but I'm too lasy to implement this, I found an alternative! I just select all the lights in the scene then use your toolbar to hide all of then at once :D is not that bad:rolleyes:
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn