Browser based Color Picker, Layers and Scene View Update

free scripts, plugins, models, textures
Post Reply
User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Browser based Color Picker, Layers and Scene View Update

Post by clintonman »

webColorPicker.jpg
sceneView.jpg
This update has improved performance and does not mess up the undo stack like the old version.
objectStatsMeshData.jpg
objectStatsMeshData.jpg (33.17 KiB) Viewed 1890 times
It updates the object statistics node to give mesh information like face counts.
The new system is based on a windows timer instead of script nodes running in a loop.

http://clintons3d.com/plugins/truespace ... webui.html
Last edited by clintonman on 19 Apr 2021, 06:35, edited 1 time in total.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker and Scene View Update

Post by clintonman »

Update July 2020

The www button checks that the plugin is installed and loaded. This prevents bad window that can't be closed.
Also installer clears the recent files list.

From previous updates - persistent installer, opens window only once, update object and object selection counts in the statistics node.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker and Scene View Update

Post by clintonman »

Updated the Show and Hide scripts to be more compatible with a recent Unofficial Update release.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker and Scene View Update

Post by clintonman »

Update September 2020

works with the new unSelectable script style and plugin widget
no internal locking node, now requires installation of the unSelectable script to lock nodes
unlocking removes the locking node - an old change that was applied to all other locking scripts


http://clintons3d.com/plugins/truespace ... webui.html

the web ui based locking will likely be removed in the future, it's obsolete because of the new widget based plugin locking
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker and Scene View Update

Post by clintonman »

Update January 2021

works with new NURBS objects
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker and Scene View Update

Post by clintonman »

Update April 18, 2021

Added Workspace Layers v4 to the WebUI installer

workspacelayers4_6.jpg


The version 4 layers can have more than 24 layers.
Does not require that the undo history is cleared.
Can sort the layers by number or name.
Requires a modern version of windows with internet explorer to have the control panel live inside the trueSpace window.
Untested but may run under winXP via external browser chrome or firefox

http://clintons3d.com/plugins/truespace ... yers4.html

Note to self: just remembered when running the first time it may ask about opening the firewall. You can answer in any way you like since it does not need to use the network local or public.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker, Layers and Scene View Update

Post by clintonman »

Update for the layers window.


small aspect is taller to fit the color picker properly
fixed hiding of selected cameras and spotlights
added option to deselect items when locking, default is to deselect them
updated the color picker - removed the buttons, added text input and before/after swatches
added hover tool tips

web server checks to see if the port it uses is in use - gives a warning if so
web server window opens in a smaller window
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker, Layers and Scene View Update

Post by clintonman »

Just found an error in the release.
All the changes to the color picker were lost. So it still has the old color picker and the small aspect is still too short to use it properly.
Back to the drawing board. Gotta recreate it from scratch. :(

Edit:
Good news! :D The changes were not lost. It looks like the html control browser cache was stuck with old information. Pressing the Reload button fixed it. Boy, that was close. It was a lot of work getting that part to work. I was not looking forward to doing it again.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker, Layers and Scene View Update

Post by clintonman »

Update May 3

refactored to work with groups in a more generic way - also full support for deeply nested groups
layer 0 and 1 always appear in the list of layers now
disconnect object hider if present in cameras and lights - can be reconnected from the new RMB panel button
fixed to work with lights that do not have render attributes
fixed a remove layer bug
add to layer - bug: backfaces and hidden lines not used - fixed
capture websocket errors - stops mysterious failures from security errors
auto convert hair option - convert Line type to Circle to make it compatible with the layers system
auto open small aspect option - complements of trueBlue
fixed NURBS processing

Overall this is better than the previous release. The code is cleaner, so changes are easier and it does not ignore deeply nested groups. The only downside is that complex group relationships can make the group counts more difficult to understand.
Clinton Reese

http://clintons3d.com

User avatar
clintonman
Captain
Posts: 3989
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Browser based Color Picker, Layers and Scene View Update

Post by clintonman »

Update May 8

fix multiple reconnect object hider node bug
fixed color display on small aspect
fixed backfaces and hidden lines being set when adding to a layer
fixed ora visible in stack view after adding to the layer
remove layer all objects go to layer 0 - with no change in appearance to match layer 0
add button to hide camera and light ora panel


Edit: unpublished bug fix for ORA showing when remove from layer,
add this line above the return statement on line 173 of the WebServer/compute node
Activity.Run("Scripts/CustomCommands/wsLayersGroup4/CloseORASettings");
Clinton Reese

http://clintons3d.com

Post Reply