normals
How to generate normals for VBO?
I\'ve implemented a wavefront (OBJ) file loader for my OpenGL app which provides me face, texture and vertex information. However, to use lighting I obviously need normal information. I know the corre[详细]
2023-02-26 15:07 分类:问答Little problem while calculating vertex normals (OpenGL ES)
I\'m having a little problem with the vertex normal. The result seems a little strange. First a look at the images:[详细]
2023-02-24 11:12 分类:问答glDrawElements with constant normal
I was just curious if you can specify constant normal when drawing with single call of DrawElements. I\'m using VAOs and VBOs so it\'s not that problem because I load them once for a开发者_JAVA百科ll[详细]
2023-02-03 00:05 分类:问答Why isn't this Android specular lighting example working as intended?
Why aren\'t specular highlights showing up in the binary produced by the following code? package com.example.helloandroid;[详细]
2023-01-30 14:06 分类:问答Calculating and Applying normals to a triangle mesh
I have a triangle mesh and I\'m trying to calculate the normals so I can apply them when drawing the mesh. I\'m using immediate mode (will probably change to vertex arrays when I get time to understan[详细]
2023-01-28 09:48 分类:问答Tangent, binormal and other shader-related things
Many of the mapping techniques including normal bump mapping, parallax mapping and others require the special per-vertex tangent-space basis (tangent, normal, binormal / bitangent).[详细]
2023-01-23 17:52 分类:问答Could somebody explain how to use glDrawElements (iPhone)?
Sorry for the duplicaiton, but I\'ve been googlin\' for hours now without any result. I have this (optimized) data of a simple cube exported from a converter:[详细]
2023-01-04 17:09 分类:问答Getting normal information from OpenGL render output
I\'ll try to keep this simple. I want a way to access the normal information of the scene, from the Frame Buffer output (or similar). The same way one is able to access the Depth Buffer using glGetTe[详细]
2023-01-03 09:08 分类:问答post data through httpWebRequest
I need to \"Post\" some data to an external website using HttpWebRequest object from my application(desktop) and get a response[详细]
2022-12-25 09:03 分类:问答How do I post long strings that contain special characters (like '&' specifically) via an AJAX request?
I\'m looking to make a Contact/Query form, wherein the end user can send an email to the webmaster. The form has a \'textarea\'field, which captures long strings from the user, if I开发者_如何学编程 u[详细]
2022-12-24 18:12 分类:问答