I have a file in i j r g b format, where i and j are pixel coordinates and r,g,b are colour values ranging from 0-255. I have scanned them from the file in a single array(in row major order) but my draw pixel is not working as expected. Please help me out here. Do give the code also ..
1
There are 1 best solutions below
Related Questions in OPENGL
- How to fix "Access violation executing location" when using GLFW and GLAD
- getting Access violation writing location when calling glDrawElements caused by shader
- Experimenting with GLFW library: window boundary problem and normalized coordinates
- OpenGL Framebuffer/FBO RTT subpixel movement discrepancy
- Why isn't my glfw window showing anything?
- How can glPushMatrix affect the rotation of an object around a rotating object?
- g++ / vscode apparently cannot see my src folder? "cc1plus.exe: fatal error: src/glad.c No such file or directory"
- Does addition-assignment cause dependency chain in GLSL?
- Compiling C++ program with Opengl and Glut in windows
- Using Silk.NET in WinForms
- What happens when rendering an OpenGL buffer that has been padded with NULL (or another value)?
- How can I make a sphere follow an eight-like path in Python using OpenGL?
- OpenGL only rendering second triangle, first triangle not visible
- OpenGL shows black texture on quad
- My Visual Studio 2022 consistently gives me errors saying that the GLchar variable type is undefined
Related Questions in JOGL
- How do you configure JOGL with java in 2024 lol
- can't import com.jogamp in visual studio code
- Orienting a camera that orbits spheres in JOGL2
- Camera not stable as it orbits an object
- Difficulties setting up JOGL on IntelliJ Idea
- JOGL z-buffer rendering problems
- JOGL Passing Integer Value to Fragment Shader
- Java ServiceLoader can't find class
- Why are my JOGL lighting shaders not working?
- Java classpath for my self contained MacOS java app does not work
- JOGL sample code compile error "cannot access WriteCloneable"
- How to initialize nifty after update to 1.4.2
- myCanvas.addKeyListener(this) throws an error in JOGL
- How to embed a 3D graphics panel (LibGDX or JOGL) into a desktop GUI (JavaFX or Desktop Compose) in 2022?
- Errors loading Blender Wavefront Model
Related Questions in GLDRAWPIXELS
- How to use Eigen in glDrawPixels
- gldrawpixels on pyopengl not drawing anything?
- Native Activity, GLES2.0: Uploading pixel array to screen
- How do I change color of pixels when using glDrawPixels, my pixels are always red
- Drawpixels by glfw only renderer quarter screen. buffer use screen width * height
- glutSwapBuffers "Access violation reading location 0x0000000004C0F000"
- glDrawPixels puts each RGB component in a different pixel
- c++ opengGL: Draw polygon + image processing interior pixels
- Drawing pixels from buffer and position (glDrawPixels)
- Implementation of the bresenham's line algorithm makes program using gldrawpixels() crash, why?
- Why is glDrawPixels not working in here?
- Using OpenGL and Cuda get a run time error for an Access violation reading location
- glDrawPixels optimization with textured quad
- DevIL PNG format for display in OpenGL
- OpenGL + libpng: wrong colors on image
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It's hard to know for sure what your problem is since you don't explain it and you don't show your code, however, there is no ijrgb format in OpenGL. So you'll have to convert your data to a format that is supported (say, rgb, e.g.).