How do I load a sphere above ground plane?

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.

How do I load a sphere above ground plane? // Archive: Tech Forum

1  |  

Post by e-graffiti // May 16, 2007, 7:03am

e-graffiti
Total Posts: 171
pic
In the tS 7.5 "workspace" view whenever I add a sphere, via the toolset at bottom right of tS window and not the "object base" library, it is half way below ground plane then I have to move it manually above ground plane. How can I load a sphere in workspace view and have it be automatically above ground plane?

Post by rrf // May 16, 2007, 7:29am

rrf
Total Posts: 319
I'm pretty sure there's an option somewhere for this, but I can't seem to find it. I did notice that the Model side puts spheres on top of the grid. The way I work is to start in 'Model' and then hit '3D Window' (right next to 'Library Browser') to get to Workspace, I find it's easier than switching between Model and Workspace, and you can still use all the tools.

Hope this helps,
rf

Post by splinters // May 16, 2007, 8:08am

splinters
Total Posts: 4148
pic
Yes, you have any combination of windows in 7.5 so you can keep modeller but put a workspace window in there or vice versa but you can only have one model view at a time. I spent ages clicking on the Model tab in workspace when I already had a window set to model and I thought it was broken...:rolleyes:


As for object, have you thought of putting a sphere in, moving it then adding it to the object library?

You could set up a whole library of favourite shapes and primitives and they would load exactly as you want them.

Post by e-graffiti // May 16, 2007, 9:11am

e-graffiti
Total Posts: 171
pic
I thought that maybe I was missing some key combination or something. Sounds like I have to live with the"default" behavior on this as there are workarounds. None the less I am having a good time with tS 7.5. I have even stumbled across some functionality and created objects on the workspace side that would be difficult to reproduce on the model side in any version of tS.

Post by trueBlue // May 16, 2007, 9:24am

trueBlue
Total Posts: 1761
pic
There is a way but it is not an option from the UI.
Do you want to know how?

Post by e-graffiti // May 16, 2007, 10:13am

e-graffiti
Total Posts: 171
pic
There is a way but it is not an option from the UI.

Do you want to know how?


Ok trueBlue, I am game. Let me have it.

Post by spacekdet // May 16, 2007, 10:21am

spacekdet
Total Posts: 1360
pic
Investigating this question, I ran across another oddity.
I set File/preferences for 'Automatic' primitive creation in Model side. This usually creates a default sized primitive with each click in the 3D space.
Then I switched to workspace and began creating primitive. They indeed are positioned halfway thru the floor. However, some clicks would create a sphere, some would just create a widget. Then I switched back to Model and opened the Object Info dropdown list (if anyone can show me where this has gone (or it's equivalent) in workspace I'd be grateful).
As you can see, each click created a sphere...but where are they?
The missing spheres have a location, but no size.
It's a funny old world.
And yeah, trueblue, show us your trick.

Post by trueBlue // May 16, 2007, 11:27am

trueBlue
Total Posts: 1761
pic
Well you could call it a trick or a hack and it is not the perfect solution nor is it permanant. Because when you reinstall or reset the Default context everything will be restored to their defaults. You could make it more permanant but that will not be covered here.

With the Link Editor opened, select the orange triandgle twice to navigate to System.
With the Preferences node select the orange square to enter inside it.
With the Primitives node select the orange square to enter inside it.
With the Sphere node change it's aspect from Default to Exp. See screen capture.
Right click the Matrix text box and select Expand.
Change the tz value from 0.000 to 1.000 and then close the ExpandIn node by selecting the X button. Screen capture shows the expanded matrix of the Sphere.
Now to get back to the top level :confused:
Select the orange triangle twice on the Link Editor's titlebar which will bring you back to System.
Select the orange square on Project.
Select the orange square on Space 3D or whatever your current scene name is.
That is it. :)
Now when you use the Sphere tool and with one single click in D3D View you will have a perfect Sphere on top of the ground.
But if you click and drag to create a Sphere smaller or larger than Scale X,Y,Z = 1.000, 1.000, 1.000 you will not get the same results as a single click. Basically you are now creating Spheres from within its center at Location tz = 1.000.
Experiment to see the difference.

Post by stan // May 16, 2007, 2:57pm

stan
Total Posts: 1240
pic
Spacekdet..your spheres are probably threre with no geometry because you moved a setting while experimenting..
make sure BottomSlice is at 0 if TopSlice is at 1..or exactly the oppusite BottomSlice 1 TopSlice 0 then you will have visible s[heres

Dele's offsetter or something derived from it might come in handy for getting the primitives above ground..maybe as an addon to the primitives panel in preferences..

Post by spacekdet // May 16, 2007, 4:04pm

spacekdet
Total Posts: 1360
pic
I used default settings, haven't seen any slice settings so far. I'll check when I run across them.
Still wouldn't explain why some spheres showed up and the rest didn't, since I changed nothing before, or during, primitive creation. tS had a brain fart, I guess.

Has collision detection made it into the workspace? (I looked but haven't found it yet) If so you could use that to plink the primitive onto the ground plane/grid.

Post by e-graffiti // May 17, 2007, 8:24am

e-graffiti
Total Posts: 171
pic
TrueBlue thanks for taking the time on this. I used your method and it works just as you describe for the single click and non-single click. From a workflow perspective I would prefer the workspace side behave like the model side and put the sphere on top of the ground plain (which is the way tS has always behaved). Hopefully this minor concern will be addressed in future.

Post by Johny // May 18, 2007, 3:59am

Johny
Total Posts: 672
pic
Use this Script obj for set it on one click.
:D
<edit>Work well for single click and non single click Sphere. Place this tool inside non sigle click sphere then click first button. You can place this obj anywhere for single click sphere</edit>

HTH!
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2021. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn