'잡동사니'에 해당되는 글 13929건

  1. 2025.05.30 opengl texture
  2. 2025.05.29 stm32 stop mode - main thread
  3. 2025.05.28 외근
  4. 2025.05.27 피곤
  5. 2025.05.26 읭? 일요일 월요일 무슨일이?
  6. 2025.05.26 libreoffice calc 보이는 셀만 복사
  7. 2025.05.26 마우스 휠
  8. 2025.05.26 해피콩.. 나태해졌군 ㅠㅠ
  9. 2025.05.25 기절 기절 기절
  10. 2025.05.24 날씨가..
Programming/openGL2025. 5. 30. 09:14

어렵다. 함수들 하나하나 찾아보고 머하는건지 맞춰봐야 할 듯.

 

Name
glGenTextures — generate texture names

C Specification
void glGenTextures( GLsizei n,
  GLuint * textures);
 
Parameters
n
Specifies the number of texture names to be generated.

textures
Specifies an array in which the generated texture names are stored.

[링크 : https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGenTextures.xhtml]

 

Name
glBindTexture — bind a named texture to a texturing target

C Specification
void glBindTexture( GLenum target,
  GLuint texture);
 
Parameters
target
Specifies the target to which the texture is bound. Must be one of GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_1D_ARRAY, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_BUFFER, GL_TEXTURE_2D_MULTISAMPLE or GL_TEXTURE_2D_MULTISAMPLE_ARRAY.

texture
Specifies the name of a texture.

[링크 : https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindTexture.xhtml]

 

void glTexStorage2D( GLenum target​, GLint levels​, GLint internalformat​, GLsizei width​, GLsizei height​ );
Valid target​s: GL_TEXTURE_2D, GL_TEXTURE_RECTANGLE, GL_TEXTURE_CUBE_MAP, or GL_TEXTURE_1D_ARRAY.
For 1D array textures, the number of array layers in each mipmap level is the height​ value. For rectangle textures, the number of mipmap levels must be 1.
void glTexStorage3D( GLenum target​, GLint levels​, GLint internalformat​, GLsizei width​, GLsizei height​, GLsizei depth​ );
Valid target​s: GL_TEXTURE_3D, GL_TEXTURE_2D_ARRAY, GL_TEXTURE_CUBE_MAP_ARRAY (this requires GL 4.0 or ARB_texture_cube_map_array)
For 2D array textures, the number of array layers in each mipmap level is the depth​ value.
For 2D cubemap array textures, the number of cubemap layer-faces is the depth​, which must be a multiple of 6. Therefore, the number of individual cubemaps in the array is given by depth​ / 6.

[링크 : https://www.khronos.org/opengl/wiki/Texture_Storage]

 

glTexImage2D(GL_TEXTURE_RECTANGLE, 0, internalformat​, width​, height​, 0, format​, type​, data​);

[링크 : https://www.khronos.org/opengl/wiki/Rectangle_Texture]

 

 

'Programming > openGL' 카테고리의 다른 글

openGL 은선제거  (0) 2025.07.29
openGL 스터디용 gemini 생성 코드  (0) 2025.07.16
blender in openGL  (0) 2025.04.28
opengl glortho gluperspective  (0) 2023.08.28
glReadPixels() 와 glUseProgram()  (0) 2022.11.17
Posted by 구차니
embeded/Cortex-M3 STM2025. 5. 29. 10:54

stm32 에서 gpio 핸들러에다가 stop mode 들어가게 해놨더니 작동안되서 찾아보니

main thread에서 stop이 들어가야 작동한다고 한다.

 

flag 세워주고 main loop에서 처리하면 끝

[링크 : https://community.st.com/t5/stm32-mcus-products/enter-exit-stop-mode-with-one-gpio-pin/td-p/621929]

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32 timer로 gpio 토글하기  (0) 2025.06.05
stm32 pwm interrupt  (0) 2025.06.02
stm32 boot loader(shipping)  (0) 2025.05.13
stm32flash  (0) 2025.05.08
stm32 timer로 gpio 에 연결된 led on/off  (0) 2025.03.26
Posted by 구차니

집오니 퇴근시간 -_ㅠ

머 퇴근하니 바로 순간이동 한 느낌이라 나쁘진 않네

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

필터 구매  (0) 2025.06.06
제사  (0) 2025.05.31
피곤  (0) 2025.05.27
기절 기절 기절  (0) 2025.05.25
날씨가..  (0) 2025.05.24
Posted by 구차니

어우 지쳐

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

제사  (0) 2025.05.31
외근  (0) 2025.05.28
기절 기절 기절  (0) 2025.05.25
날씨가..  (0) 2025.05.24
개 목욕  (0) 2025.05.10
Posted by 구차니
개소리 왈왈/블로그2025. 5. 26. 23:19

엥 갑자기 왜 2일 연속? 무슨일이 벌어지고 있는거야?

 

그나저나 죄다 직접유입 머지?

'개소리 왈왈 > 블로그' 카테고리의 다른 글

게을러졌어..  (0) 2025.07.16
도메인 연장  (0) 2025.06.04
해피콩.. 나태해졌군 ㅠㅠ  (0) 2025.05.26
엥 통계 오류났.....나  (4) 2025.05.13
카카오 다 죽었네 -_-  (2) 2025.02.26
Posted by 구차니
Posted by 구차니
개소리 왈왈/컴퓨터2025. 5. 26. 12:11

kalih 9 이라고 써있으면 9mm 엔코더 라고 한다.

은근히 가격이 비싼데.. 많이 사둔다고 해서 쓸데도 없어 보이고 고민이네

 

[링크 : https://wmhn2016.tistory.com/447]

[링크 : https://moji.tistory.com/entry/마우스-휠-스크롤-불량-part2인코더-교체]

 

+

그나마 싼게 개당 560원.

[링크  http://itempage3.auction.co.kr/DetailView.aspx?itemno=C493766907]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

노트북 쿨러 수리  (0) 2025.06.07
레노버 E15 fan error  (0) 2025.06.04
노트북 저장장치 업그레이드  (0) 2025.05.21
지름 도착  (0) 2025.05.17
지름  (0) 2025.05.16
Posted by 구차니
개소리 왈왈/블로그2025. 5. 26. 10:44

만사가 귀찮아져서 클릭도 잘 안하게 되더니 겨우 800원 모였었네..

'개소리 왈왈 > 블로그' 카테고리의 다른 글

도메인 연장  (0) 2025.06.04
읭? 일요일 월요일 무슨일이?  (0) 2025.05.26
엥 통계 오류났.....나  (4) 2025.05.13
카카오 다 죽었네 -_-  (2) 2025.02.26
공개 발행할 수 있는 글은 최대 30개 까지.  (2) 2025.02.22
Posted by 구차니

새벽에는 신맛이 아니라 쓴맛이 올라와서 잘 못자고

내내 밖에 돌아다녀서 쉬지를 못하다가 5시 넘어서 기절

그런데 또 피곤하네 어우..

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

외근  (0) 2025.05.28
피곤  (0) 2025.05.27
날씨가..  (0) 2025.05.24
개 목욕  (0) 2025.05.10
폭주  (2) 2025.05.08
Posted by 구차니

최적의 온도로 편안하게 잘 수 있는 시스템이 필요해...

전기장판과 선풍기를 on/off 하는 무언가가 있으면 좀 더 쾌적하게 잘 수 있으려나?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

피곤  (0) 2025.05.27
기절 기절 기절  (0) 2025.05.25
개 목욕  (0) 2025.05.10
폭주  (2) 2025.05.08
아이나비 dmb 안테나  (0) 2025.05.08
Posted by 구차니