Rs3DLoader

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.

Rs3DLoader // SDK, Plug-in & 3rd Party Area

1  |  

Post by Norm // Aug 29, 2008, 5:02am

Norm
Total Posts: 862
pic
This is an interesting plug-in, which is included in the SDK. For those who wish to check out the plug-in itself without going through the SDK, here it is for you to enjoy.

Before you use the plug-in. Create a testing scenrio.
Open Library Browser (#1 & #2 in img below).
Right-click on Main Library Place (#3).
Select Create Libary (#4).
Name new library "3DLoader" of type RsObj. (#5).
14705
Once created, this new library will be located at bottom of the Library Browser as shown below.

14706
Once you shut down trueSpace and restart, this new library will locate itself in alphabetical order in the Library Browser. Initially it loads to very bottom.
Double-click this new library in the Library Browser and it will load to the very top of the Library Stack as illustrated below.

14707
Once you have created this library and loaded it. It is time to Install and Load the 3DLoader.rsx (plug-in) into trueSpace. You can save the attached plug-in to the trueSpace directory. The following procedure allows you to locate, install and then load the plug-in into trueSpace for use.

Open the Package Manager:

Right-click in empty line at bottom of Package Manager.
Select "Install New" from the menu.
You get a dialog to navigate your hard drive to location where you saved the plug-in.
Select the Rs3DLoader.rsx file. This effectively "installs" the plug-in.
Right-click the new line in Package Manager with the 3DLoader Package on it.

Select "Load" from the menu. This effectively loads the 3DLoader plug-in into trueSpace.
14708

Post by Norm // Aug 29, 2008, 5:36am

Norm
Total Posts: 862
pic
Once you have installed and loaded the plug-in, it is pretty easy to use:

Open a Command Prompt window.
Type: Rs3DLoader.Create3DLoader()
14710
Hit your "Enter" key.
This opens a dialog, that allows you to navigate to trueSpace Directory /ts/Rs Main Libraries, where you should see your newly created 3DLoader folder (library).
14711
I noted that untill I dragged some objects into the empty 3DLoader library, the plug-in did not work as expected. If this is case for you, drag some objects out of the Objects-base library and drop them into the 3DLoader library. Then open command prompt window and retype the command again.

14712
The plug-in zip file has also a video file demonstrating the functionality.

Attached is the document describing this particular plug-in from an SDK perspective.
Hope you enjoy :)

Post by splinters // Aug 29, 2008, 6:23am

splinters
Total Posts: 4148
pic
Cheers Norm, this is fun but I am not sure how it replaces the drag and drop of the main library in the UI. Probably me missing something...:)

Post by Norm // Aug 29, 2008, 6:27am

Norm
Total Posts: 862
pic
It is a 3D representation of the Library. Once you load objects into the 2D library, they have their own tile in 3D. Clicking on the tile in 3D will load the object into the scene.

Cheers Norm, this is fun but I am not sure how it replaces the drag and drop of the main library in the UI. Probably me missing something...:)

Post by splinters // Aug 29, 2008, 6:33am

splinters
Total Posts: 4148
pic
I understand how it differs Norm and it is great to see a use of the SDK in action but what I meant was, how does it replace simply dragging the object from the library into the workspace?


I imagine, just like the latest collab that was shown that this is a way of having elements of the UI (in this case the object library) within the workspace itself so you could effectively close the stack.


Is that the idea?


Regardless, as I said; good to see the SDK in action so soon...:banana:

Post by splinters // Aug 29, 2008, 7:30am

splinters
Total Posts: 4148
pic
Are there limits to what can be in here Norm?


I dragged a scene to my 'testobject' library and was happily suprised when it loaded into the scene but kept the remaining objects. I did this a few times each time adding the new scene content on top of the previous one.


However, when I tried to drag a light in I got a warning box...:)


Another question; is it possible once the object is created to add it to the library, save using the command screen each time?


I tried this but it does not update dynamically when you change the contents of the 'testobject' folder.

Post by frootee // Aug 29, 2008, 7:34am

frootee
Total Posts: 2667
pic
I could be wrong splinters but I believe this example you see here came before the latest collab example. In other words, this example is the beginning, and the collab example recently posted is a more mature development based on this rsloader. :)


Okay maybe not the most useful information... :D

Maybe it can be called 'truespace trivia'.

Post by splinters // Aug 29, 2008, 7:37am

splinters
Total Posts: 4148
pic
Ah, makes sense. I will stop asking so many questions about this one then...


Cheers Froo...;)

Post by frootee // Aug 29, 2008, 7:49am

frootee
Total Posts: 2667
pic
que? Ask away splinters! Because the more questions asked the more everyone can learn! :D

Post by splinters // Aug 29, 2008, 7:51am

splinters
Total Posts: 4148
pic
I am inquisitive by nature Froo..ask a lot of questions looking for quick answers...also a bit impatient and impulsive...:)


Quite impressed by the speed the 'plug-ins' are appearing already today.
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