The cubemap tag has no wiki summary.
1
vote
0answers
85 views
glFramebufferTexture2D gives corruption with cube map textures
I am using glFramebufferTexture2D with cube map textures but it gives corruption in texture. draw_cube() function works perfectly when i draw that on default framebuffer.
GLenum ...
1
vote
3answers
770 views
Is a Single Texture Cube Map Possible?
I'm currently developing a test project to explore OpenGL 3 texturing abilities. I have a simple cube, made of 8 vertices and 36 indices. I want each of the cubes faces to have a different texture, so ...
0
votes
1answer
459 views
E_FAIL: An undetermined error occurred (-2147467259) when loading a cube texture
I'm trying to implement a skybox into my engine, and I'm having some trouble loading the image as a cube map. Everything works (but it doesn't look right) if I don't load using an ...
1
vote
3answers
429 views
How do you rotate a cube map?
I'm looking for suggestions on this
Say you have a cube map. You want to rotate it as efficiently as possible.
You can render the cube map, rotate the camera, and render the scene to another cube ...
7
votes
1answer
4k views
OpenGL/GLSL: Render to cube map?
I'm trying to figure out how to render my scene to a cube map. I've been stuck on this for a bit and figured I would ask you guys for some help. I'm new to OpenGL and this is the first time I'm using ...
1
vote
1answer
354 views
How do you create a fractal cube-map?
I want to create a map similar to how Mincraft and other related games do. I just haven't the faintest clue on how to do so. Can anyone point me to a decent tutorial or give me a decent run through? I ...
0
votes
0answers
236 views
Dynamic enviroment map using pincushion Curvilinear Perspective Projection possible?
I'm wondering if it is possible to generate a dynamic spherical environment map using a single frame render using a pincushion Curvilinear Perspective Projection Matrix (phew that's a mouthful).
...
0
votes
1answer
719 views
OpenGL - resize texture when using cubemap
I want to resize my texture. I am using cubemap to compute reflection. I want to use this cubemap to draw skybox. Skybox is drawn but I want to resize texture down, because it is dilated. As I wrote ...
2
votes
2answers
2k views
How do I create a sky box with OpenGL ES 2.0?
Can you give me hint to any good sky box example in OpenGL ES 2.0? I have found only OpenGL and does not work for me.
I am doing it this way:
Initialization:
glUseProgram(m_programSkyBox.Program);
...
2
votes
2answers
883 views
Can one draw a cube using different method/drawing mode?
I've just started learning gamedev (in particular android EGL based) and have ran over a code from Pro Android Games 2 that looks as follows:
/* * Copyright (C) 2007 Google Inc.
* * Licensed ...
17
votes
5answers
2k views
Procedural Planets, Heightmaps and Textures
I am currently working on an OpenGL procedural planet generator. I hope to use it for a space RPG, that will not allow players to go down to the surface of a planet so I have ignored anything ROAM ...
3
votes
2answers
439 views
Converting Cube Maps
I have cube maps in lat/long format, and i need to convert them to Horizontal/Vertical Cross, and individual cross images, is there an utility to do that?