View Full Version : perpixel lightning?
how does it work ? I don't understand the stuff I read.. anyone got an simple tutorial or something? I'm not so verry good at OpenGL programming yet... but the pictures I have seen that are Perpixel light.. they are much better looking then my.. I can se my triangles.. or at least the line between them... I use vertex normals and I donīt like the look.. it looks strange
04-02-2002, 04:26 AM
Two places to look. My own tutorials: http://www.ronfrazier.net/apparition/research/index.html
Nvidia's demos and white papers: http://developer.nvidia.com
Unfortunately, the math behind PPL is just a bit complex, so its difficult for a lot of people to get a grasp on. I do think my tutorials do a pretty good job of explaining the basics in simple terms, but once you get into the more advanced areas like bump mapping and you deal with things like tangent space and orthonormal basis, then it gets a lot more difficult. Read my tutorials and start with the simple distance attenuated point light. If you can get your hands on that, its a pretty good starting point.
[This message has been edited by LordKronos (edited 04-02-2002).]
04-02-2002, 04:49 AM
Ya i reccomend Ron's papers. They sure have helped me out alot. Plus he has source! http://www.opengl.org/discussion_boards/ubb/smile.gif Also check out Nutty's page at http://www.nutty.org. He as some per pixel stuff which is simple and easy to learn from. Also, make sure you get every presentation and paper from nvidia on per pixel lighting that you can. It helps to look at that while coding.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.