Câu hỏi được gắn thẻ «opengl-es»

Tập hợp con của API đồ họa OpenGL 3D được thiết kế cho các thiết bị nhúng như điện thoại di động.




1
Các thành phần của gl_TexCoord [0] có nghĩa là gì?
Sự khác biệt giữa gl_TexCoord[0].s, gl_TexCoord[0].t gl_TexCoord[0].pvà là gl_TexCoord[0].x, gl_TexCoord[0].y gl_TexCoord[0].zgì? Tôi hiểu đó gl_TexCoord[0].x, gl_TexCoord[0].y gl_TexCoord[0].zlà tọa độ pixel? Nhưng gl_TexCoord[0].s, gl_TexCoord[0].t gl_TexCoord[0].ptôi phải sử dụng chúng ở đâu?


4
Thiếu các tính năng từ WebGL và OpenGL ES
Tôi đã bắt đầu sử dụng WebGL và hài lòng với việc tận dụng trải nghiệm OpenGL (và tiện ích mở rộng OpenGL ES) dễ dàng như thế nào. Tuy nhiên, cách hiểu của tôi là như sau: OpenGL ES là tập hợp con của OpenGL WebGL là tập hợp …


5
Tại sao tôi không thể sử dụng toán tử '> =' với Vector3?
Tôi đang cố gắng để có được một hình chữ nhật để di chuyển giữa hai vị trí mà tôi gọi là _positionAvà _positionB. Cả hai đều thuộc loại Vector3. Các hình chữ nhật di chuyển tốt. Tuy nhiên, khi nó đạt đến _positionBnó không di chuyển theo hướng ngược …
9 unity  c#  vector  mathematics  vector  matrix  unity  c#  transformation  java  3d  terrain-rendering  shading  ios  opengl-es  opengl  rendering  optimization  python  scripting  minecraft-modding  modding  pc  3d-meshes  mesh  culling  point-cloud  networking  interpolation  mathematics  game-design  ai  game-mechanics  animation  unreal-4  skeletal-animation  3dsmax  unity  c#  3d  opengl  c++  textures  unity  ide  cocos2d  cocos2d-x-js  unity  c#  mono  il2cpp  c++  game-loop  timer  linux  flash  actionscript-3  java  glsl  c++  vector  entity-component  c++  directx11  windows  visual-studio  libgdx  mouse  unity  c#  architecture  storage  unity  c#  rotation  coordinates  quaternion  vrpn  movement  vector  unreal-4  unity  shaders  unity  gui  text  bug  shooter  3d  animation  rendering  voxels  c++  mmo  multithreading  linux  textures  procedural-generation  terrain-rendering  multiplayer  mmo  game-state  java  android  libgdx  opengl  procedural-generation  unity  gui  3d  animation  tools  geometry-shader  mobile  advertisements  unity  c#  animation  scripting  unity  animation  unityscript  coroutines  unity  shaders  lighting  camera 


2
Sử dụng hai shader thay vì một với các câu lệnh IF
Tôi đã làm việc về việc chuyển nguồn op 1.1 tương đối lớn sang ES 2.0. Trong OpenGL ES 2.0 (có nghĩa là, mọi thứ đều sử dụng shader), tôi muốn vẽ một ấm trà ba lần. Cái đầu tiên, với màu đồng nhất (ala glColor4f cũ). Cái thứ hai, …
9 opengl-es  glsl 


1
GluLookAt hoạt động như thế nào?
Từ sự hiểu biết của tôi, gluLookAt( eye_x, eye_y, eye_z, center_x, center_y, center_z, up_x, up_y, up_z ); tương đương với: glRotatef(B, 0.0, 0.0, 1.0); glRotatef(A, wx, wy, wz); glTranslatef(-eye_x, -eye_y, -eye_z); Nhưng khi tôi in ra ModelViewma trận, cuộc gọi đến glTranslatef()dường như không hoạt động đúng. Đây là đoạn …




Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.