Scanner Blebs

News and discussion of the PC port of Oolite.

Moderators: another_commander, winston

User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Scanner Blebs

Post by Killer Wolf »

hi.

i'm running 1.73.3, testing my new ship. it isn't working. that's a problem for later, but what's going on w/ my scanner : i've got a script that should've spawned 3 of my ships when i exit from hyperspace. it doesn't. another craft from another OXP does, but the odd thing is that my scanner now does this :-
Image

when i launch from the station everything's cool, it's only happening when i exit hyperspace. :-/
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

That looks right. What’s the problem?
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

It's a big ship, so it gets a correspondingly big scanner blip. If you want another example look at the main system station in Aqualina (from Aquatics, G3). It's a heeeuge station, and therefore it's got a big-ass blip too.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Thargoid wrote:
It's a big ship, so it gets a correspondingly big scanner blip. If you want another example look at the main system station in Aqualina (from Aquatics, G3). It's a heeeuge station, and therefore it's got a big-ass blip too.
So does the Torus stations, and I think the Transhab station does, too.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

oh. it's a big splodge of multiple triangles that seem to originate from a point below the scanner, rather than a golf club indicating the position of the station, and it never used to look that way so i assumed summat was broke. cheers anyway. :-/
Chrisfs
---- E L I T E ----
---- E L I T E ----
Posts: 433
Joined: Sun Sep 20, 2009 10:24 am
Location: California

Post by Chrisfs »

Black Monks Bank/Monastery does the same thing. Though it seems to be oriented the wrong way on the scanner, shouldn't it be oriented the same way as the actual station ?

The could be a false alarm on my part though.
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Chrisfs wrote:
Black Monks Bank/Monastery does the same thing. Though it seems to be oriented the wrong way on the scanner, shouldn't it be oriented the same way as the actual station ?

The could be a false alarm on my part though.
I've had the same impression sometimes for large objects. Especially if it's located at the top right of the scanner or similar this seems to happen.

Screet
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

If the screenshot is of a rear view, the orientation is perfect. :wink:

Note that the odd shape of the scanner blip is caused by the object not being centred. I'd say that in the example shown the origin of the structure (0, 0, 0) is located at the very top, in what looks like the station itself, while the tentacle-like docking ports (I assume that's what they are), are very much off. So the z-coordinates (if it is the z-direction) will be between for instance +100 and -1500. (I don't have the OXP in question, so the numbers are only a guess, but I hope you get what I mean).

I consider that a design flaw. The origin of the structure should be in its physical centre, so that the z-coordinates range from +800 to -800 instead. This has two immediate effects:

(1) The box drawn around the structure if you target it shrinks to a reasonable size, and the structure is placed into the actual centre of the box. As it is now, I suspect it to be huge, enclosing twice as much space as necessary.

(2) The blip becomes a regularly shaped octaedron instead of this hugely off-centered version.

There are a lot of big structures that suffer from this design flaw. I once took the liberty to correctly centre the Transhab station, thereby improving both its targeting box and its blip, on my own computer. Here are some before-after screenshots. In the original the model's origin is at the docking bay, to the far left of the model as seen in the picture. You see that the tageting box is drawn around the origin, and it is much too big. In my version the origin is in the middle of the model, roughly where the rotating arms are attached. The targeting box fits much better, and also the blip on the scanner is centred, not off-centre as in the original version.
Image

So I call for the designers to correctly centre their models. Looks much better in-game. :)
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8501
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Nice practical example.

(BTW, which HUD is that - I like!)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

It's the Cobra Courier HUD, but modified for the IC.
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

DaddyHoggy wrote:
(BTW, which HUD is that - I like!)
It looks a bit like DrHUD to me.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

Well there y'go then.
the origin is at the top : that square construction on top w/ the "air traffic control" looking tower on top of it is a trading post, and has a docking port in it. for some reason, when i was learing about docking slots from examples on here at the time, it wouldn't work at all unless the dock slot was at/on the origin.
like i said, it just caught me by surprise, the other versions of oolite didn't do this.

cheers!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Docking ports work fine when not at the origin (e.g. I could easily move your asteroid models until they were centred, thereby removing the dock from the origin). If I look at the screenshot it seems that the first nod is reasonably close to the centre of the model. You could put that at the origin. Anyway, what you have to do is to move the main model along the right axis until it's balanced. And then move the subentities by exactly the same amount into the same direction. That's all.

And the big blips for big ships are not that new. They are in Oolite since before I switched to JS, because they were there when I started working on ghostsfromthepast.oxp. Like 1.70, or so?
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Commander McLane wrote:
So I call for the designers to correctly centre their models. Looks much better in-game. :)
It also reduces the amount of collision testing that needs to be done, and improves the resolution of collision testing when it is done. (Try enabling octree display – “console.debugFlags ^= 0x80” in the JS console – with both versions of the TransHab.)
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2269
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

Commander McLane wrote:
Docking ports work fine when not at the origin (e.g. I could easily move your asteroid models until they were centred, thereby removing the dock from the origin). If I look at the screenshot it seems that the first nod is reasonably close to the centre of the model. You could put that at the origin. Anyway, what you have to do is to move the main model along the right axis until it's balanced. And then move the subentities by exactly the same amount into the same direction. That's all.

And the big blips for big ships are not that new. They are in Oolite since before I switched to JS, because they were there when I started working on ghostsfromthepast.oxp. Like 1.70, or so?
that's interesting ~ i simply couldn't dock until i put my dockslot at the origin. i must've been doing something else wrong - i freely admit to fumbling about blindly when trying to create the thing, heh.

anyways, that station is binned now so i'm not wasting any more time on it, i was only posting cos i thought my scanner was knackered!

cheers all.
Post Reply