Skip to content
#

OpenGL

opengl logo

OpenGL (Open Graphics Library) is the computer industry's standard API for defining 2-D and 3-D graphic images. OpenGL allows new hardware innovations to be accessible through the API via the OpenGL extension mechanism. It is used in CAD (Computer-aided design), virtual reality, video games, and flight simulation.

Here are 5,637 public repositories matching this topic...

alacritty
chrisduerr
chrisduerr commented Mar 23, 2020

The terminal currently keeps track of two grids, the grid and the alt_grid. This is done because a terminal has two grids at all times, one containing the currently active content and the other containing either the alternate grid if the alternate screen is not active, or the primary grid if it is.

Naming this variable alt_grid is very unfortunate, since it seems to indicate that this is

simonsan
simonsan commented Nov 2, 2019

Right now we give the following information (e.g.):

openage v0.4.0-69-g9412facd
opengl
MSVC 19.16.27032.1 [/DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP]
Cython 0.29.14

For future debugging on the user side we could give more information:

  • OpenGL version number
  • nyan-lib version number
  • libc
  • sdl-version
  • Qt-version
  • maybe even opus-codec version

In addition:
jj quote:

matiTechno
matiTechno commented Dec 19, 2019

Frequent bug: while sorting by y-coordinate, the vertices are sorted, but the data coming with the vertices is not.
Gouraud shading, forgot to sort intensities

In my case I was calculating a barycentric coordinate of one vertex and assigning it to a different vertex by mistake.
The artifacts looked exactly the same as you presented, if it is the same problem then the description could be

duncanspumpkin
duncanspumpkin commented Mar 27, 2020

Really easy little refactor. We use the following macro to loop over all peeps:

FOR_ALL_PEEPS(sprite_index, peep) 

It basically does something similar to:

  for (spriteIndex = gSpriteListHead[SPRITE_LIST_PEEP]; spriteIndex != SPRITE_INDEX_NULL; spriteIndex = nextSpriteIndex)
        {
            auto peep = &(get_sprite(spriteIndex)->peep);
            nextSpriteIndex = peep-
JonathanILevi
JonathanILevi commented Jul 2, 2019

The documentation does not have a key code for the numberpad dot. Is this intentional? It comes up as Unknown when it is pressed. The same is true for the numlock and capslock key although this kinda makes sense.

Shouldn't there be a NumpadDot key code?

renderdoc
vaspoul
vaspoul commented Jul 5, 2018

We use PIX labels to organize the events in a single frame (e.g. Z PrePass, GBuffer, Alpha, etc). These can get quite deep/nested.

It would be useful if we could see a 'path' for the event currently selected, e.g.

Camera 1\3D Stage\GBuffer\TreeBark Material

It would be extra nice if clicking on any of these would take you to the beginning of that section.
(think folders in Windows Explor

gfx
kvark
kvark commented Apr 3, 2020

We have this performance issue in Vulkan backend that gfx-rs API is based on iterators, and Ash expects slices, so we need some extremely lightweight way of producing a slice, sometimes without knowing anything about the number of elements. Basically, we want alloca, but it's not available in Rust.

However there is a simple crate that does something similar - https://github.com/NotIntMan/inpl

thehans
thehans commented Dec 7, 2019

From https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#polygon :

paths

  • ...
  • multiple vectors
    • Creates primary and secondary shapes. Secondary shapes are subtracted from the primary shape (like difference). Secondary shapes may be wholly or partially within the primary shape.

This makes it sound like any secondary paths act as purely "negative

📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size.

  • Updated Apr 4, 2020
  • Java
hsdk123
hsdk123 commented Nov 14, 2019

I'm noticing that png files with alpha values don't have the setColor alpha values applied when using Flat3D shader (ex. setColor({1.f, 1.f, 1.f, 0.f}) still displays the image).

I'm currently using StbImageImporter for image importing.

Other Peculiarities

  • png images with transparent backgrounds have their transparent colours displayed as hard colours (ex. black or white instead of tr
kimeguida
kimeguida commented Jan 23, 2020

Can you please provide the correct definition of what the 'fitness' in registration is? To be consistent with the code implementation.

in the docs:
"property fitness
The overlapping area (# of inlier correspondences / # of points in target). Higher is better."
http://www.open3d.org/docs/release/python_api/open3d.registration.RegistrationResult.html
http://www.open3d.org/docs/release

braddabug
braddabug commented Nov 30, 2017

I think there's an extra #endif in tinyfiles.h. Around line 88 there's this:

#if defined( TINYPATH_IMPLEMENTATION )
#endif TINYPATH_IMPLEMENTATION

That #endif doesn't look like it should be there. I get compilation errors about the final #endif having no matching #if

rdb
rdb commented Mar 28, 2020

The following code fails:

from panda3d.core import *

dst = PNMImage(2, 2)
src = PNMImage(1, 1)
dst.add_sub_image(src, 1, 1, 0, 0, 1, 1)

However, using copy_sub_image works fine. This is because add_sub_image does not properly add the offset when sampling the source image.

Fixing this will require adding the offset calculation from the other *_sub_image methods to

Created by Silicon Graphics

Released January 1992

Website
www.opengl.org
Wikipedia
Wikipedia

Related Topics

api c simulation
You can’t perform that action at this time.