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 7838341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T15:04:35+00:00 2026-06-02T15:04:35+00:00

I am looking for a technique in OpenGL that I can use in order

  • 0

I am looking for a technique in OpenGL that I can use in order to map color points on a surface.
Each point is defining a display color and three coordinates (X, Y, Z).
The surface on which to map those data is built from all the points’ coordinates in the main usage (complex shape) but can be built normally from standard shape such as a cone or a sphere.
Since there are voids between the points (for example one millimeter step between two points along the X axis), it would be also needed to interpolate the points data on the surface.
I am thinking about building bitmaps from the points and then applying those bitmaps on my surfaces but I am wondering if OpenGL does have a feature that allow to do that in a “smart way”.

  • 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-06-02T15:04:36+00:00Added an answer on June 2, 2026 at 3:04 pm

    It sounds to me like what you are asking for is basic OpenGl behaviour.

    If you draw a triangle:

    glBegin(GL_TRIANGLES);     
        glColor3f(1.0f,0.0f,0.0f);     // Red
        glVertex3f( 0.0f, 1.0f, 0.0f); // Top vertex
        glColor3f(0.0f,1.0f,0.0f);     // Green
        glVertex3f(-1.0f,-1.0f, 0.0f); // Bottom left vertex
        glColor3f(0.0f,0.0f,1.0f);     // Blue
        glVertex3f( 1.0f,-1.0f, 0.0f); // Bottom right vertex
    glEnd();  
    

    The result is a smoothly ( if garishly) coloured solid triangle.

    So your problem is to construct a series of polygons (possibly just triangles) which cover your surface and have the point set as vertices.

    For a great intro to OpenGl, see NeHe’s tutorials, including the above example.

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

Sidebar

Related Questions

I'm looking for a good css technique to use nav tabs that look exactly
I'm looking for a technique or tool which we can use to obfuscate or
Short Version: I'm looking for a technique to keep nearly-sorted data in nearly-sorted order
Looking for best practice advice on what string substitution technique to use when using
I'm looking for a technique or algorithm that will give me a subset of
I'm looking for a technique in order to upload files and show the progress.
I'm looking for a module/technique that will let me restrict to allow User A
I'm looking for a technique to create a window with letters that drop from
I'm looking for an alternative technique for rendering reflections in OpenGL ES on the
I'd like to display 100 floating cubes using DirectX or OpenGL . I'm looking

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.