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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:18:38+00:00 2026-06-03T03:18:38+00:00

I want to draw a model with LWJGL and I know that on calling

  • 0

I want to draw a model with LWJGL and I know that on calling each glVertex method, a JNI call occurs, that is time consuming. Since I have the model in a file, I want to use just one JNI call (add a native method to LWJGL library), and at the native side, get my model vertices from the file (using c language) and draw them all (avoiding a JNI call per vertex).
So, I want to change LWJGL library source and add a function to do this.
my question is, does this feature available in LWJGL, JOGL or in any possible java bindings for openGL?

  • 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-03T03:18:39+00:00Added an answer on June 3, 2026 at 3:18 am

    Use Vertex Buffer Objects to store your vertex data, and make calls to draw as many vertices/triangles is practical with just one call to glDrawArrays, glDrawElements or similar.

    This page explains how to use them in LWJGL.

    Note that the LWJGL version of the OpenGL docs is rather lacking. Check the OpenGL official site for the C versions which explain their functionality very well.

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

Sidebar

Related Questions

I have an animated model that's spinning. I want to hide/not draw any part
I have a model in a Viewport3D and I want to draw a textbox
I want to draw rectangle that is only specified percent high of panel im
I want to Draw multiple line Graph with each line have different color and
I want to write a GUI seating application that allows users to draw and
I want to write an app that takes in a model filename via cmd
In EMF, a user can draw UML diagram and that UML model can be
I want to shine a nice spotlight on a flat surface. I know that
I want to draw some Rectangle over a single Image . For example I
I want to draw circle, and i want to re size it based on

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.