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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:17:56+00:00 2026-06-17T08:17:56+00:00

I have a blender obj. file in an OpenGL application. I have also added

  • 0

I have a blender obj. file in an OpenGL application. I have also added a camera so that it will move in around that object (it’s a building, so it’s pretty large). The frame rate on it is awful.

Why is it slow and/or how can I make it faster?

void camera (void) {
glRotatef(xrot,1.0,0.0,0.0);  
glRotatef(yrot,0.0,1.0,0.0);  
glTranslated(-xpos,-ypos,-zpos); }

This is just my simple camera class. Just in case it helps.

  • 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-17T08:17:57+00:00Added an answer on June 17, 2026 at 8:17 am

    There are some reasons your code might be slow:

    • You aren’t using VertexBuffer objects
    • You are using the fixed function pipeline and not shaders
    • You aren’t optimizing your drawing code that only areas are rendered which are visible ( look a.e. for bsp-trees )

    After all you’ve a lot of optimizations to do. I would start with optimizing my render pipeline and remove the fixed function pipeline and start to use shaders and vertex-buffers.

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

Sidebar

Related Questions

I'm playing around with OpenGL and I'm finding myself writing code that I feel
I have a file that contains rows and columns of information like: 104857 Big
I'm developing and Android application. I have a model on Blender and I want
I'm using OpenGL ES 1.1 and working on converting an OBJ export from Blender
I have a solution in C:\full path here\VS2010\blender.sln This solution contains many projects(around 100).
I want to write a parser for Blender's .obj file. The file format seems
I have a blender scene with a few objects, I would get the object
I'm new to blender and python. I have a blender model (.blend) that I
I have a model that I made in Blender that has individual meshes in
I have an Wavefront .obj file parser which parses data using getline and stringstream.

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.