Final trueSpace 7.61 Beta 8 Unofficial Update

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 19 Sep 2019, 20:45

Only found 1 way to stop the crash when using special mesh processing. Exit truespace after the render

I tried bridge command, flush.
bridge off - no crash, but slow crashed after reopening model view and syncing from workspace
bridge off - ... same result sync from model
new model scene after render
new workspace scene after render
undo clear and set to zero - crashed before I even got to rendering

Final conclusion:
Exit trueSpace after render is complete when using special mesh processing

Plan:
1. add warning message when using the special mesh processing
2. add camera to yafaray camera converter
3. Space.Unselect() after creation of ms_flags_object and move it out of sight
4. confirm that special mesh processing only needed for vertex animated NURBS and metaball objects to better define when to use it
Last edited by clintonman on 19 Sep 2019, 20:53, edited 1 time in total.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2171
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 19 Sep 2019, 20:52

I have been loading a new script which deletes the other.

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 19 Sep 2019, 20:56

D3D Render does not alter the bridge settings.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2171
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 19 Sep 2019, 21:51

I commented out all of the

Code: Select all

#GNode.Select()
And it still worked.
Is there a way in this script to call a new blank script?

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 19 Sep 2019, 22:00

trueBlue wrote:
19 Sep 2019, 21:51
I commented out all of the

Code: Select all

#GNode.Select()
And it still worked.
Is there a way in this script to call a new blank script?
Not that I know of.
"#" is a comment in python, so it doesn't do anything

Edit:
Wait a minute, what? Call a blank script? I don't even know what that means.
Clinton Reese

http://clintons3d.com

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 19 Sep 2019, 22:08

YafaRay4tS Node changes:

Added a dialog when special mesh processing is enabled telling the user to exit trueSpace after the render is complete
Added a convert camera button to the Camera aspect
Did not Space.Unselect() the ms_flag_object because it is only created when special mesh processing is enabled and the modelspace python script will just select it again.
Could not position ms_flag_object in the link editor because it is built from component nodes.

Note: As far as I can tell the special mesh processing is only needed for vertex animated NURBS and animated metaballs. So it shouldn't be needed in most cases.

Edit: One more note - modelspace autokey needs to be off or you can end up with a bunch of unwanted keyframes
Attachments
YafaRay4tS.RsObj
(1.04 MiB) Downloaded 7 times
Last edited by clintonman on 19 Sep 2019, 22:16, edited 1 time in total.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2171
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 20 Sep 2019, 01:32

For me there is a little more to the process then just shutting down tS761, after rendering this test scene.
I have to first create a new script in the Script Manager to get rid of the python file or Load another scene.
Because if you just shut down and re open tS761 the python file is still there which crashes tS761 when you close Model.
Or even easier you just Reset the Default Context.

I have discovered that if you load the python file and save the scene in this state, the python file will be locked and loaded when load the scene.

I might add that when you are satisfied with the final render, you should save it before you do the above.

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 20 Sep 2019, 01:53

trueBlue wrote:
20 Sep 2019, 01:32
...
Because if you just shut down and re open tS761 the python file is still there which crashes tS761 when you close Model.
...
I'm not seeing that. I get no crashes after restarting truespace and just the existence of the python isn't enough to crash, you would have to run it.
I'll do some more tests. I recommend you restart your computer, when tS crashes a lot it seems to remain unstable like something is stuck in memory.

Also, just in case, attached is an updated file I've been using.
Attachments
YafModelspaceTest02.RsScn
(2.56 MiB) Downloaded 7 times
Clinton Reese

http://clintons3d.com

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 20 Sep 2019, 02:04

OK, I think I see the difference now.
When I restart the first thing I do is close the model view. If I open the script editor then close model view it crashes.

Another test,
render animation,
closed tS,
reopen tS,
close model,
open model,
open script editor,
close script editor,
close model - crash

Same test as above, except clear the script when the editor is open - still crash

Note: need to add an alert at the end of animation render to restart truespace immediately.
Clinton Reese

http://clintons3d.com

User avatar
trueBlue
Captain
Posts: 2171
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 20 Sep 2019, 02:38

I think what the difference between what's happening with me and you is, watch out for the sneaky crash when you close tS761 in your test. For me if I close Model before or after rebooting tS761, it crashes and without opening the script Manger. I was just sharing that tid bit incase it was of help

Post Reply