lighting
Basic OpenGL lighting question
I think this is an extremely stupid and newbie question, but then I am a newbie in graphics and openGL. Having drawn a sphere an开发者_如何学Pythond put a light source nearby, also having specified am[详细]
2023-01-25 03:10 分类:问答OpenGL: Lighting Inside of Cube
I am creating a scene where I use a box to represent a room and different models within that box. When I enable lighting, my models light up fine but the room itself (the inside of the box) does not l[详细]
2023-01-24 19:23 分类:问答Useful lighting of a single-colored 3D object in a WPF Viewport3D
I have a 3D Modell of a house, where the roof is invisible so that the rooms can be seen (like here) But (for now) I have no textures and each surface has the same color, e.g.,[详细]
2023-01-18 07:08 分类:问答OpenGL lights limit
As I was reading RedBook I stayed quite confused, that openGL can have maximum 8 lights in scene (number depending on implementation, but should be arround 8).[详细]
2023-01-14 09:05 分类:问答Lighting inside of a sphere?
I have this question in mind: I need to make a scene that looks like a real sky. My first idea was to make a cube and texturize it. It wasn\'t 开发者_StackOverflow社区that good looking. I came up with[详细]
2023-01-11 06:18 分类:问答OpenGL lighting working on iPhone 4/iPad, not on iPhone 3G
I am having trouble with OpenGL 1.1 lighting.My code works on the iPhone 4 but not the iPhone 3G.Everything appears unlit (flat colours).I don\'t have a 3GS so I can\'t find out if it works on that on[详细]
2023-01-10 08:37 分类:问答OpenGL per pixel lighting in fixed function pipeline
Is it possible to enable per-pixel lighting (so that I can have nice specular highlights on low te开发者_运维百科ssellated surfaces) in the OpenGL fixed function pipeline?The only way to do this is us[详细]
2023-01-10 06:00 分类:问答Lighting with Direct3D9, everything is black
I am creating a simple application to get familiar with SlimDX library. I found some code written in MDX and I\'m trying to convert it to run on SlimDX. I am having some problems with the light becaus[详细]
2022-12-25 05:03 分类:问答Adaptive threshold Binarization's bad effects
I implemented some adaptive binarization methods, they use a small window and at each pixel the threshold value is calculated. There are problems with these methods:[详细]
2022-12-20 06:19 分类:问答-
How can I make a ball of light in openGL?
I\'m trying to make a orb of light (Like a sun) but I can\'t seem to make it visible at all. I\'ll give you some snipets of code I have. It\'s in Java LWJGL, so it might look a little different.[详细]
2022-12-15 02:18 分类:问答