-
OpenGL + BumpMapping
Hi Guys!
I'm starting OpenGL now, and I really like it. IT's not as complicated as I immaginned it would be at first. However, I'm wondering if there's any way to apply bump-mapping in OpenGL using Real Time.
Also, wondering if you can do reflections in OpenGL. I've been trying to figure this one out for a while...
greetz...
Sunny
-
It's not complicated? Lol .. I really tought it was .. so where did you get your first ever tutorial on OpenGL? :D
-
there's a bump map tutorial on Nehe if I'm not mistaken.
nehe.gamedev.net
-
The question was kinda for Sunny :)
-
-
-
well, there might be an easier way to do reflections in OpenGL, I don't know it, although I wish I did (: But the way that real time reflections are frequently done is with different types of environment mapping, which basically involves setting up the camera to be at the point you are figuring out the reflection of, looking out from the point at the vector of reflection (mirror of the view vector over the normal of the face at that point) After you have the camera set up like that, you render that frame real fast (don't display it) and use that frame as the texture at the point you are making reflective. Then you render with the camera back in the original position with the other frame as the texture for that point, and you display that. Sorry if that didn't make any sense, I condensed a buncha reading into a little bit (: If you're still interested and don't find an easier/better way, search for environment mapping on Google or your favorite graphics programming sites.
-
Thanks
Yes...I see now. Yeah, the reflection explanation makes sense to me, but unfortunately I won't dare try it out on this PC (2 Mb Video Mem).
Thanks for the Bump Map. Yeah, I'l try out Nehe then.
<Rusky>
I first picked up OpenGL thanks to no-one who gave me this link to www.gametutorials.com. There's a really nice tutorial there! :D
Thanks a lot ppl.
Have a lot of Fun!
Sunny
-
But before you started... Did you know C++ inside out??