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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:13:49+00:00 2026-05-25T21:13:49+00:00

I only get the first face in a cubemap. How do I access/load the

  • 0

I only get the first face in a cubemap. How do I access/load the other ones?

With DevIL 1.7.8 on Ubuntu Natty:
I use ilLoad or ilLoadImage to load a dds-file with 6 textures, but only the first face gets loaded.
ilGetInteger() give the results:

IL_IMAGE_DEPTH: 1

IL_IMAGE_BYTES_PER_PIXEL:4

IL_NUM_LAYERS: 0

IL_NUM_IMAGES: 0

IL_IMAGE_TYPE: 5121 (= 0x1401, not even an image type according to il.h! )

IL_IMAGE_CUBEFLAGS: 1024

IL_ACTIVE_IMAGE: 0

IL_IMAGE_SIZE_OF_DATA: 65536 (which is 128x128x4 and match the “image size in pixels” times “bytes per pixel”.)

If I try to use ilActiveImage with a value other than 0, it returns false.

I have tried Earth.dds and LightCube.dds from the RenderMonkey example textures, as well as saved my own dds-file with GIMP, but only the first face gets loaded for all of them.

Does anyone have any suggestion?
(I have compiled DevIL with ilu and ilut-support, if that would make any difference.)

  • 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-25T21:13:49+00:00Added an answer on May 25, 2026 at 9:13 pm

    DevIL does not have provisions for DDS Cubemaps. Neither do a surprising number of image loaders.

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

Sidebar

Related Questions

Is there way in next piece of code to only get the first record?
I get this cryptic error the first time (and only the first time) my
I need to get only 1 record from sql result. we use SELECT TOP
EDIT: When I merge link_def.cpp with link_dec.h, I only get the first error, not
How do I only get the first 10 words from a string?
I'd usually do $('ChildID').parent().attr('id'), but that would only get the first div with that
I have this query statement and want to only get records that has a
I want to serialize my enum-value as an int, but i only get the
How can I get only unique departments from the below example? Dept Id Created
I want to get only the headers of an URL request. I have been

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.