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

  • Home
  • SEARCH
  • 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 6617757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:44:32+00:00 2026-05-25T20:44:32+00:00

I am new to web programming and I need to do real time rendering

  • 0

I am new to web programming and I need to do real time rendering of large DEM datasets using openGL.
Please guide me how to achieve it using WebGL and javascript.
the approach i am using for rendering is tiling the data and loading the tiles wen needed.

Also, would any server side scripting be involved in this ?If so, which language should I use?

  • 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-25T20:44:32+00:00Added an answer on May 25, 2026 at 8:44 pm

    Ok, this is quite a big question. I’ve done some terrain rendering using JS, although it was limited to one tile.

    I think what you describe is certainly possible with WebGL and Javascript, and arguably better than the alternatives. There are many tutorials on getting started with WebGL (e.g. this one, based on the original NeHe OpenGL tutorials). Javascript is a flexible and expressive language, which you can find a lot of resources on (Doug Crockford having some of the best insights and guidelines).

    As for your particular problem, I would generate a number of descriptors for your tiles, including size, position and maximum and minimum heights within each tile. Then use the viewing frustrum (the area visible in front of your ‘camera’) and the bounding cuboid of your tiles (given by their position and max/min heights) to determine which ones are visible. You may choose to discard any after a given maximum viewing distance.
    Having got a set of visible tiles, you can now render them individually.

    I don’t know what format your tiles are in, either a grid of heights (which can conveniently be stored as standard images) or a vector description, but that determines how you will be rendering them. For the grid of heights, the simplest way to render them is as several strips of triangles. That means creating some large vertex buffers, but you may be able to do something clever. Beyond a certain number of tiles, you’ll have to manage which ones are kept as WebGL buffer data (and uncompressed images) and which ones are freed.

    Since your question is quite general and high level, I’ll keep my answer similar. This sounds like an interesting project and I’d be happy to any more specific questions you might have.

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

Sidebar

Related Questions

I'm new to web programming, so I need some help. I am writing a
I'm a fairly new programmer and very new to web programming and I need
i am new at programming and i need some help with that please =/
Hi people as a new web programming im having a scenario and i need
Hello fellow coder i am new to web programming and i need so major
Please be gentle, as I'm still new to web programming and -very- new to
i am new to web programming. i am trying to connect database using jsp
I'm pretty new to web programming, reading a book on ASP.NET, and I notice
I'm new to web programming in general so this is probably a really simple
I am new to web programming...I have been asked to create a simple Internet

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.