Image Texture Grey Inside Cylinder


    Jun 21 2011 | 7:39 am
    In my patch, I have the camera in the center of a cylinder rotating looking at a panorama, which is the cylinders texture. However, when I'm on the inside of the cylinder the colour of the image is dulled- and all the whites look grey. Is there some sort of attribute I have to change? I am using jit.sketch to draw the cylinder, jit.gl.handle and jit.gl.render to rotate camera.
    Sorry for my poor explaining! Any help would be appreciated!

    • Jun 22 2011 | 1:31 pm
      Hey charcoal91 Could you please post a patch? It might have to do with the CULL_FACE attribute (if front polygons, back polygons, or both, are being drawed) but I am not sure, it would be cool if we could have a look at the patch
    • Jun 23 2011 | 12:40 pm
      Does the image look gray outside the cylinder also? If so, it might have to do with the color attribute. Usually, the default color value is mid-gray (0.5 0.5 0.5). This color value affects the texture, so try giving it a white color (1.0 1.0 1.0). And also make sure that lighting_enable is 0.