Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5944395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:31:53+00:00 2026-05-22T16:31:53+00:00

I have 3 vectors, x , y , z . Three different vectors’ elements

  • 0

I have 3 vectors, x, y, z. Three different vectors’ elements represent the position of point in space (e.g. x(1), y(1), z(1) contains info about the first point’s position).

Now I need to realize a 3D representation of the entire set of points, and it should look like this:

enter image description here

Can someone help me? What function will be useful?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:31:54+00:00Added an answer on May 22, 2026 at 4:31 pm

    You need to create a projection transformation from your 3D world (x,y,z) to your image (X,Y). This may either be a plane projection or a perspective projection.

    Once you have the projection you can do something like the following:

    1. Find the point that is furthest away from you.
    2. Carry out the sequences below for the left and the right branches from the furthest point.
    3. For each branch create a polygon out of each of the four points:

      T(x[n],y[n],z[n])

      T(x[n],y[n],0)

      T(x[n+1],y[n+1],0)

      T(x[n+1],y[n+1],z[n+1])

    4. Color the polygons by a gradient changing by z to get the effect above.

    5. Add a blue line from T(x[n],y[n],z[n]), T(x[n+1],y[n+1],z[n+1])
    6. Redo for increasing n until you reach the point “closest” to you.

    Hopefully this will get you started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have three vectors in an xts R object. Call them V1, V2, V3.
I have a problem where I have to add thirty-three integer vectors of equal
Say I have two 2D vectors, one for an objects current position and one
I have a vector of vectors: vector< vector<int> > BigVec; It contains an arbitrary
First, I assume each structure-specific sequences would have different ways to remove an item:
Lets say I have vectors of different objects, say D is of type vector<
We have large (100,000+ elements) ordered vectors of structs (operator < overloaded to provide
I have two different character vectors in R, that I want to combine to
hi when I wanted to have something like vector of vectors (elements shall be
I'm working on a java program, and I have several vectors defined and filled

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.