OpenGL (SDL,C++) tutorial 14 - simple 3D FPS camera (part 3).avi
Loading...
1,754
Loading...
Uploader Comments (thecplusplusguy)
see all
All Comments (16)
-
very very good
-
function.cppp and uh objectloader.cpppp LOL I love how you say that its proper funny
-
Thank you i do understand the code and thank you i know i cannot make a game like bf3 or cod mw3 but i wish to make a game like minecraft almost with the hand that you can see thank you for the advice
cgmwgb138~~
Loading...
I have tried to add ambient light to the scene, but nothing happens.
The back side of the monkey is completely black whatever I do.
How, and where do I set up the ambient light?
The code in your earlier video doesn't work for this project.
BlueByteGames 1 month ago
@BlueByteGames
Hi, the problem most likely, is that in your material (exported from Blender), the ambient is 0,0,0, you can change that manually, by go to your mtl file, and change the Ka line number higher than 0.0 0.0 0.0 (1 is the maximal light), plus the code, from the earlier lighting tutorial should do the trick.
Or you can set the ambient light in Blender, like:
wiki(DOT)blender(DOT)org/index(DOT)php/Doc:2.4/Manual/Lighting/Ambient_Light
(replace the dot with .)
thecplusplusguy 4 weeks ago
@thecplusplusguy Thank you! I think I got it to work :D
Btw, how is your FPS game going? Looking forward to see more from that project ^^
BlueByteGames 4 weeks ago
@BlueByteGames
Hi, the FPS game is the same I haven't worked on that, I've already made the first few tutorial, but I don't want to upload those, until I have all.
Lately I'm learning the GLSL (the tutorial subject after the FPS game), and I hope, I can put together the two, to increase the realism with per-pixel lighting, shadows...
I'm sorry, that the tutorials stopped (since the FPS game, any time I started to make it, I didn't enjoy it and the result wasn't too good I hope that will change)
thecplusplusguy 3 weeks ago
im a 13 year old c++ programmer and i am making a 3d game how would i draw an image(gun) in the window and move it as the player moves[like modern warfare and battlefield3]
thanx in advance...
cgmwgb138~~
cgmwgb138 2 months ago
@cgmwgb138
Hi. Actually I have an FPS game project, just go to my channel, and (currently) the last video should be it. In the video's description you can download the whole project. To answer your question, you only have to go back to the 0,0,0 location, and draw the weapon modell there (glLoadIdentity()).
At home you cannot make an as professional game as BF3 or COD MW3, these games made by handreds of professionals.
(And one more thing: try to understand the code)
thecplusplusguy 2 months ago 2