Page 49 of 105

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 19 Sep 2019, 20:52
by trueBlue
I have been loading a new script which deletes the other.

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 19 Sep 2019, 20:56
by clintonman
D3D Render does not alter the bridge settings.

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 19 Sep 2019, 21:51
by trueBlue
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?

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 19 Sep 2019, 22:00
by clintonman
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.

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 19 Sep 2019, 22:08
by clintonman
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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 20 Sep 2019, 01:32
by trueBlue
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.

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 20 Sep 2019, 01:53
by clintonman
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.

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 20 Sep 2019, 02:04
by clintonman
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.

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 20 Sep 2019, 02:38
by trueBlue
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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Posted: 20 Sep 2019, 02:40
by clintonman
You are immediately closing model view after the restart and it crashes?