Notes and Scene View for workspace

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

Re: Notes and Scene View for workspace

Post by clintonman »

WorkspaceNotes10.jpg

more styling
added a hair type object
button to show/hide the option controls
trueSpace butterfly favicon - see the browser tab

currently the show and hide icons will only do a "soft" version when an object has any hair node descendants.

TODO
clean the web code
maybe add "hard" show/hide for hair objects or objects that contain hair - do after UU show/hide for hair?
links to other pages, maybe place in the test icons location at the top
check see if any other object types are missing
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5438
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Notes and Scene View for workspace

Post by clintonman »

Added icons for physics and particle objects.
Fixed parenting hierarchy display problem cause by particle and boolean objects.
Made the top buttons smaller and all in one line when browser is wide enough


TODO
clean the web code
add "hard" show/hide for hair objects or objects that contain hair
links to other pages, maybe place in the test icons location at the top
final styling/layout
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5438
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Notes and Scene View for workspace

Post by clintonman »

Almost done.

Made the top buttons small enough to fit on one line
Removed the dummy test icons
Added the new Show/Hide techniques
created a build version for testing

TODO:

The workspace layers is included in the web ui package and it needs to be updated to use the new show/hide techniques
try it out for a few days, make any final changes and release it to the world
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5438
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Notes and Scene View for workspace

Post by clintonman »

Change of plan, released early for the next UU update

layers works with the new show/hide functions
old scene view works with the new show/hide functions
removed the port number from the page from the publish version since it's only needed for development
port number in the panel updates all the buttons and text fields
added an error message if scene view fails to connect to tS

pre-published to http://clintons3d.com/plugins/truespace ... webui.html

TODO document it
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5228
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Notes and Scene View for workspace

Post by trueBlue »

I am getting a "404 Not found" when opening Scene View 2
Port # 8080
User avatar
clintonman
Captain
Posts: 5438
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Notes and Scene View for workspace

Post by clintonman »

trueBlue wrote: 09 Aug 2022, 15:20 I am getting a "404 Not found" when opening Scene View 2
Port # 8080
Did you update the web folder? It contains the scene view 2.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5228
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Notes and Scene View for workspace

Post by trueBlue »

:oops: , I extracted it into tS/web
Web folder in Web folder.png
Web folder in Web folder.png (6.93 KiB) Viewed 850 times
.
Scene View 2.png
User avatar
trueBlue
Captain
Posts: 5228
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Notes and Scene View for workspace

Post by trueBlue »

I added a Note to the scene, deleted the Notes, selected the notes pencil icon (colored) in Scene View 2

Code: Select all

ERR   Source object: /Scripts/CustomCommands/WebServer/compute Error: Microsoft JScript runtime error Description: Invalid procedure call or argument Error code: 0x800a0005 - (null) Line: 90, Char: 1 Script text:  if(datafromweb.command == "SetColor") { ColorFS.SetColor(datafromweb); return; }    IMPORTANT - if the above mentioned command is accessing any function set, the error line above may refer to the function set code, instead of command code!
I know, I know, "Do Not delete the Note dummy!"
Anyway, maybe you can add an error check?

Selected Root, selected Toolbar Prototypes Encapsulator, selected Expand to

Code: Select all

Source object: /Scripts/CustomCommands/WebServer/compute Error: Microsoft JScript runtime error Description: 'undefined' is null or not an object Error code: 0x800a138f - (null) Line: 654, Char: 1 Script text:    IMPORTANT - if the above mentioned command is accessing any function set, the error line above may refer to the function set code, instead of command code!
User avatar
clintonman
Captain
Posts: 5438
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Notes and Scene View for workspace

Post by clintonman »

trueBlue wrote: 09 Aug 2022, 16:32 I added a Note to the scene, deleted the Notes, selected the notes pencil icon (colored) in Scene View 2
...
Here's a fix.
Reminds me that I wanted to add some generic error checking and recovery, but it's unlikely I would have caught that one.

Missed second part... of expand to
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5438
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Notes and Scene View for workspace

Post by clintonman »

trueBlue wrote: 09 Aug 2022, 16:32 I added a Note to the scene, deleted the Notes, selected the notes pencil icon (colored) in Scene View 2
...
Fixed, will refresh the tree when trying to open a non-existent note
trueBlue wrote: 09 Aug 2022, 16:32 ...
Selected Root, selected Toolbar Prototypes Encapsulator, selected Expand to

Code: Select all

Source object: /Scripts/CustomCommands/WebServer/compute Error: Microsoft JScript runtime error Description: 'undefined' is null or not an object Error code: 0x800a138f - (null) Line: 654, Char: 1 Script text:    IMPORTANT - if the above mentioned command is accessing any function set, the error line above may refer to the function set code, instead of command code!
Fixed, was only working for scene objects and a bad value is being sent from the scene view. tS checks for the bad value and adjusts it. Also enhanced it so it will automatically open the root level if the selected node is outside of the scene.
Attachments
WebServer.RsObj
(348.81 KiB) Downloaded 57 times
Clinton Reese

http://clintons3d.com
Post Reply