Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

get y value at x,z ?

Posted on 2002-05-05
3
Medium Priority
?
251 Views
Last Modified: 2013-12-26
hope this is not too off-topic but atleast it's about 3D.

I guess a picture sez more than a thousand words so here goes...

http://mabuk.virtualave.net/3d.jpg

with the information known how do i get the y value at
any x,z point ???

any formulas would be greatly appretiated...

John
0
Comment
Question by:Arachnid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
lordxeroth earned 1200 total points
ID: 6991363
Hi John,

I asume that you expect something in the 'plain' created by p0 through p4? So for a certain x and z point you expect one 'valid' y value?
Now in that case, things get quite complicated. In a normal plain (described by 3 points) you can just use some basic maths, but here you've got a 4th point.
In this case you have to define a 4th parameter to handle the curve (or bending of the plain) created by that 4th point. Look at it like it is a part of the surface a sphere. The problem here is that you don't know if it is a sphere and you certainly don't know the radius of the sphere.
So with the given information it is impossible to get a y value, unless you use a 4th paramater to define curve (which can be anything from a nice spherisch thing to more complex things like sinuses, etc...).

Jan
0
 
LVL 2

Expert Comment

by:jonnin
ID: 6998677
Its a shallow saddle surface.
You will have to create an equation that describes the surface y = f(x,z);

or use interpolation to approximate a value (or treat as a plane and correct with an error term). It would really help to have the point in the center of the thing; then your equation to describe it could be very close! Without that, we don't know the depth of that point, so we don't know how curved it is...



 
0
 

Author Comment

by:Arachnid
ID: 7000601
i'll pass the points to you Jan, since your answer got me going in the right direction.


John
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question