New 3d windows

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.

New 3d windows // Tech Forum

1  |  

Post by Leif // Aug 21, 2008, 7:25am

Leif
Total Posts: 276
pic
Opening new 3d windows, they default to the blue background and solid grid etc.

I do not want to adjust the background/grid/antialiasing etc. settings for every 3d window I open.

I want 3d windows to open with my own settings, and not the default.


Here is my configuration

14493


Clicking 3d window icon, the new 3d window opens with default configuration

14494

Post by Tiles // Aug 21, 2008, 7:43am

Tiles
Total Posts: 1037
pic
There is no way to tweak this that i know of. A new created 3D window will unfortunately always open with the standard view. My very first clicks also leads to tweak the window ...

Post by stan // Aug 21, 2008, 4:43pm

stan
Total Posts: 1240
pic
you can tweak some of this.. I haven't found the right one for background colour yet, it may not be there, but can open a new d3d view with no grid and in solidwire. This is done by going in :\trueSpace76\tS\Scripts\preobjects and finding the nodes and altering them then putting them back.

D3DGrid.rsobj is the grid panel, when opened in LE it's called Workspace - Ground. I changed it from solid to none, saved it to a library then renamed it D3DGrid. Then you drag & drop it in windows explorer into :\trueSpace76\tS\Scripts\preobjects where it asks if you want to overwrite exist file. say yes and next time you open a new 3d view its your customized one.

LayerProperties.rsobj is the 'scene' panel, opens as 'layer render attributes'..set options resave same deal..noticed you have to have settings tab open so the changes to RA settings will take effect.

postprocess is there too.

this most probably will also alter you main 3d view's style after a reset too..

Post by trueBlue // Aug 21, 2008, 5:59pm

trueBlue
Total Posts: 1761
pic
You could also use this script that would be independent of the Default Windows settings:
http://forums1.caligari.com/truespace/showpost.php?p=35434&postcount=1 (http://forums1.caligari.com/truespace/showpost.php?p=35434&postcount=1)

Post by noko // Aug 21, 2008, 8:51pm

noko
Total Posts: 684
Just as a thought, saving your different configurations in different layouts will allow you to maintain your custom 3d window settings but limited to the layout choice you saved. Keeping current 3d window setting for new 3d window would make a nice option.

Post by Leif // Aug 21, 2008, 10:40pm

Leif
Total Posts: 276
pic
Nice script trueBlue.


I researched LE a bit yesterday to see if I could learn something.

I learned that the command that the "3d window" icon issue is :


WindowsManager.CreateWindowFromCLSIDEx('default', 'default', 'default', '[Scene]', 1, '3D')

(EDIT: I now see that this command are in Window.Shortcuts.xml, I haven't edited this until now)


Saving/loading a layout ALSO saves/loads the library layout. That is not always wanted!

Id like my installed libraries to stay put if, for instance, I click "4View".



Thanks all.
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