Display Modeler scene's name

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.

Display Modeler scene's name // Archive: Tech Forum

1  |  

Post by Emmanuel // Feb 28, 2008, 6:43am

Emmanuel
Total Posts: 439
pic
When Bridge is off, you can work with different versions of the scene and update Workspace side or Modeler side with the synchronization option. This is very handy.


Problem is that trueSpace only shows Workspace scene's name. Not Modeler one. And I've lost my work several times by writing over the wrong scene :mad:


I've been thinking of a Modeler plugin that would simply retrieve the last saved scene name to display its name, at a clic on a tsx icon.

But there is no mention of this in the 6.6 SDK... So, I guess this can't be done :(

What do you think ?

Post by stan // Feb 28, 2008, 7:12am

stan
Total Posts: 1240
pic
Emmanual, there is
TSXAPIFN tsxBOOL (mk:@MSITStore:C:\Documents%20and%20Settings\gordo n\My%20Documents\mytsw\tsw\doc\ts\ts66api.chm::/tsxTypes_8h.html#a68) tsxSceneSave (mk:@MSITStore:C:\Documents%20and%20Settings\gordo n\My%20Documents\mytsw\tsw\doc\ts\ts66api.chm::/tsxScene_8h.html#a37) (char *name)
TSXAPIFN tsxBOOL (mk:@MSITStore:C:\Documents%20and%20Settings\gordo n\My%20Documents\mytsw\tsw\doc\ts\ts66api.chm::/tsxTypes_8h.html#a68) tsxSceneSaveAs (mk:@MSITStore:C:\Documents%20and%20Settings\gordo n\My%20Documents\mytsw\tsw\doc\ts\ts66api.chm::/tsxScene_8h.html#a38) (char *name)
TSXAPIFN tsxBOOL (mk:@MSITStore:C:\Documents%20and%20Settings\gordo n\My%20Documents\mytsw\tsw\doc\ts\ts66api.chm::/tsxTypes_8h.html#a68) tsxSceneIsSaveScene (mk:@MSITStore:C:\Documents%20and%20Settings\gordo n\My%20Documents\mytsw\tsw\doc\ts\ts66api.chm::/tsxScene_8h.html#a39) (void)

won't any of those do the job?

Post by Emmanuel // Feb 28, 2008, 8:23am

Emmanuel
Total Posts: 439
pic
I think using those would mean an alternative load/save menu : saving a scene via a custom save scene button would allow for saving the scene name in a box.

But we would also have to re-write a load recent files solution, etc...


A retrieve scene name only solution would be better/easier.


I have been thinking about it though. Here is a sketch of an enhanced load/save scene dialogue box for trueSpace (inspirated from Max's one) with a preview window, a "favorite" folders list to quicky reach the most used scene/objects folders, options to set default display modes, an history of paths, resizable window... A dream of efficiency :rolleyes:

Post by chamaeleon // Feb 28, 2008, 9:13am

chamaeleon
Total Posts: 74
Sounds like you're looking for tsxGetTSDir(e_tsxPATH_SCENE), found in tsxMisc.h. There's a couple of other paths you can pull out using the same function.

Post by spacekdet // Feb 28, 2008, 9:27am

spacekdet
Total Posts: 1360
pic
Great!
Now make the tS Libraries look and act like this- V -and you'll really have something!

http://forums1.caligari.com/truespace/attachment.php?attachmentid=11324&stc=1&d=1204222919
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