Question about parallax and viewpoint
Moderators: winston, another_commander
-
- ---- E L I T E ----
- Posts: 607
- Joined: Wed Feb 20, 2013 1:24 am
- Location: Aboard the D.T.T Snake Charmer: My Xanadu
- Contact:
Question about parallax and viewpoint
I have noticed that some of my ships have problems hitting targets at a distance (like missiles or other small ships), while others seem much better at it. The question is, when your cross-hairs signal target lock (or even the sniperlock oxp), is it indicating a direct line along the line of sight from your view point, or the lasers line of sight (which can vary greatly on some ships)? Am I making sense? };]
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Question about parallax and viewpoint
There is a parallax effect - and the 'sweet spot' does vary.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Fatleaf
- Intergalactic Spam Assassin
- Posts: 1988
- Joined: Tue Jun 08, 2010 5:11 am
- Location: In analysis mode on Phaelon
- Contact:
Re: Question about parallax and viewpoint
And this can vary between ships, which I like as it gives every ship a different feel. With some ships the view is looking right down the barrel of your forward laser and so there is very little to none offset. With the Cobra III your cockpit is above the laser and so with the greater the distance the harder it is to be accurate.
Also remember the three different lasers are range restricted so if you have a Pulse laser you may be on target but your gun doesn't have the rage to hit it and it appears you are missing your mark.
Also remember the three different lasers are range restricted so if you have a Pulse laser you may be on target but your gun doesn't have the rage to hit it and it appears you are missing your mark.
Find out about the early influences of Fatleaf here. Also his OXP's!
Holds the Ooniversal record for "Thread Necromancy"
Holds the Ooniversal record for "Thread Necromancy"
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Question about parallax and viewpoint
Try flying the Falcon. That ship is giving a very interesting parallax as you are not sitting in the centre of the ship, but completely on the right side.
Parallax is also important on docking.
Parallax is also important on docking.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
-
- ---- E L I T E ----
- Posts: 607
- Joined: Wed Feb 20, 2013 1:24 am
- Location: Aboard the D.T.T Snake Charmer: My Xanadu
- Contact:
Re: Question about parallax and viewpoint
No, I understand what parallax is, but I am evidently not being clear with my question.
How do my cross-hairs know when to turn red? Is it:
A) When a direct/straight line can be drawn from my "view_position_forward =" to the center of the target?
Or:
B) When a direct/straight line can be drawn from my "weapon_position_forward =" to the center of the target?
I think currently it is A, but if so, should be B. I am pretty sure that even current targeting systems are intelligent enough to signal when the weapon itself is on target, and not just the point of view of the pilot...?
How do my cross-hairs know when to turn red? Is it:
A) When a direct/straight line can be drawn from my "view_position_forward =" to the center of the target?
Or:
B) When a direct/straight line can be drawn from my "weapon_position_forward =" to the center of the target?
I think currently it is A, but if so, should be B. I am pretty sure that even current targeting systems are intelligent enough to signal when the weapon itself is on target, and not just the point of view of the pilot...?
- Commander McLane
- ---- 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:
Re: Question about parallax and viewpoint
It is B. And it has never been anything else but B since Oolite existed.
Which is what Cody already answered with his reply that there is a parallax effect in Oolite.
Which is what Cody already answered with his reply that there is a parallax effect in Oolite.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Question about parallax and viewpoint
If you got everything lined-up, you'd see no laser beam as such - only this.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
-
- ---- E L I T E ----
- Posts: 607
- Joined: Wed Feb 20, 2013 1:24 am
- Location: Aboard the D.T.T Snake Charmer: My Xanadu
- Contact:
Re: Question about parallax and viewpoint
So, according to you, when my laser barrel is on a direct line of sight with the target, that is when the cross-hairs signal a target lock... Then why does it miss?? And why then would accuracy diminish the further the laser is from the pilots point of view?Commander McLane wrote:It is B. And it has never been anything else but B since Oolite existed.
Which is what Cody already answered with his reply that there is a parallax effect in Oolite.
-
- ---- E L I T E ----
- Posts: 607
- Joined: Wed Feb 20, 2013 1:24 am
- Location: Aboard the D.T.T Snake Charmer: My Xanadu
- Contact:
Re: Question about parallax and viewpoint
Exactly!!! Because the pilots point of view is so far to the side! But if the target lock is connected directly to the weapons point of view and NOT the pilots point of view, then it shouldn't matter! You should get target lock when the weapon is sighted directly at the target, not when the pilot is sighted at it.Eric Walch wrote:Try flying the Falcon. That ship is giving a very interesting parallax as you are not sitting in the centre of the ship, but completely on the right side.
Parallax is also important on docking.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Question about parallax and viewpoint
Yes, you're making sense (to me, at least).. But your use of terminology is causing considerable confusion, both to yourself and others..(see below for explanation)Paradox wrote:The question is, when your cross-hairs signal target lock (or even the sniperlock oxp), is it indicating a direct line along the line of sight from your view point, or the lasers line of sight (which can vary greatly on some ships)? Am I making sense? };]
As has been mentioned, if you want to see some extreme parallax in action, the Falcon is your baby.. Here's a screenshot taken from my Falcon-S.. according to the red target reticle, I have a lock, although the metal fragment is well to the left of the crosshairs on the centre-line, where the laser beam is firing, and missing.. so clearly the reticle is indicating the pilot's line-of-sight, and not the laser's. The degree of compensation needs to be guess-timated.. with distance to target as a factor.
The above well illustrates the confusion of both yourself and Commander Mclane.. You are each talking about something completely different.Paradox wrote:So, according to you, when my laser barrel is on a direct line of sight with the target, that is when the cross-hairs signal a target lock... Then why does it miss?? And why then would accuracy diminish the further the laser is from the pilots point of view?Commander McLane wrote:It is B. And it has never been anything else but B since Oolite existed.
This is the root of the confusion:
You keep using the expression "crosshairs signalling a target lock" or "crosshairs turning red". The crosshairs do not "turn red". In fact, they do not "signal" anything. What you are referring to is the Target Reticle turning red, to indicate a target lock.Paradox wrote:How do my cross-hairs know when to turn red?
Commander McLane is correct when he states that the crosshairs indicate a direct/straight line drawn from the
weapon_position_forward
to a point directly forward of the laser barrel. As you can see in the screenshot, the laser strikes the exact center of the crosshairs (those green Y-shaped things and the circle in the middle of the screen).But your question is not actually about the crosshairs at all. If, instead of "crosshairs", you had used the term targeting reticle, Commander McLane would have answered "A", since, as can be seen in the above screenshot, it's very clear that the colour-change 'signal' of the targeting reticle indicates a direct/straight line from the pilot's
view_position_forward
to the center of the target.Clear as mud?
(As you can see, correct use of terminology is quite important, particularly in view of the many board members we have, -McLane included- for whom English is not their primary language, and who therefore tend to take what is said quite literally)
The target reticle turning red is still useful at distance, but at close range, you need to ignore the green/red signalling of the reticle and concentrate on getting the target into the crosshairs instead.
On this point, I completely agree with you. I would like to see the colour-change of the reticle linked to the weapon line-of-sight, instead of the pilot's line-of-sight.Paradox wrote:I am pretty sure that even current targeting systems are intelligent enough to signal when the weapon itself is on target, and not just the point of view of the pilot...?
Last edited by Diziet Sma on Sun Nov 10, 2013 9:03 am, edited 1 time in total.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Question about parallax and viewpoint
It looks like the target reticule sensitive is neither looking at the laser nor the players view position, but just at the centre of he ship.Diziet Sma wrote:Here's a screenshot taken from my Falcon-S.. according to the red target reticle, I have a lock, although the metal fragment is well to the left of the crosshairs on the centre-line, where the laser beam is firing, and missing.. so clearly the reticle is indicating the pilot's line-of-sight, and not the laser's. The degree of compensation needs to be guess-timated.. with distance to target as a factor.
The Falcon has shifted both the view position and the laser position 24 meters to the right. The red color indicating that it is 'spot-on' can only mean that the ship's centre is 'spot-on'.
Most ships have the laser completely centred on the ship and than the viewpoint a little above it. For those ships the cross hair gets red when on target. But, apparently it is just accidentally that the crosshair sensitive works as expected.
Last edited by Eric Walch on Sun Nov 10, 2013 9:08 am, edited 1 time in total.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Question about parallax and viewpoint
If the ship's center was 'spot on', then the laser would be striking the target, since the laser is mounted on the centerline.Eric Walch wrote:The red color indicating that it is 'spot-on' can only mean that the ship's centre is 'spot-on'.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- JazHaz
- ---- E L I T E ----
- Posts: 2991
- Joined: Tue Sep 22, 2009 11:07 am
- Location: Enfield, Middlesex
- Contact:
Re: Question about parallax and viewpoint
It can't be. Otherwise in the screenshot the laser beam would be angled from the side, not straight down the centre line of the scanner.Diziet Sma wrote:If the ship's center was 'spot on', then the laser would be striking the target, since the laser is mounted on the centerline.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Question about parallax and viewpoint
So do you mean Eric is correct when he saysJazHaz wrote:It can't be. Otherwise in the screenshot the laser beam would be angled from the side, not straight down the centre line of the scanner.Diziet Sma wrote:If the ship's center was 'spot on', then the laser would be striking the target, since the laser is mounted on the centerline.
How the hell can a mere viewpoint physically change the position of a laser mount?Eric Walch wrote:The Falcon has shifted both the view position and the laser position 24 meters to the right.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Question about parallax and viewpoint
In shipdata, you see that the laser has the same x coordinate as the players view, and also on your screenshot, you see that the laser originates from below the players view. So clearly, the laser in NOT in the centre.Diziet Sma wrote:If the ship's center was 'spot on', then the laser would be striking the target, since the laser is mounted on the centerline.
UPS-Courier & DeepSpacePirates & others at the box and some older versions