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:
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)
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]
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.
yeah- bf3 and cod are most definitely impossible for avg underground game developer hobbyists ---- currently ----. But it is very much possible to develop an open free framework that better enables and improves the capabilites of us amateur game developer
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
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
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
@thecplusplusguy 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
Okay, I don't know what I've wrong, but when I press W or other keys the camera doesn't go to the direction where i I'm watching... I've rechecked the code but I don't find any error, If you don't mind... can you upload on pastebin "function.cpp" ? I want to check better... Thanks ^^
The code is uploaded, it's in the description. (I hope this helps to find the error, but if you cannot find it, you can send it to me, and I will check it)
very very good
germanysuxforever 1 week ago
function.cppp and uh objectloader.cpppp LOL I love how you say that its proper funny
NoobScratcher 2 weeks ago
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
hi when do you start making zombie game tutorials
sharan01s 2 months 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
@thecplusplusguy
cplusplusguy you are my favorite. :)
yeah- bf3 and cod are most definitely impossible for avg underground game developer hobbyists ---- currently ----. But it is very much possible to develop an open free framework that better enables and improves the capabilites of us amateur game developer
swu880 2 months ago
@thecplusplusguy
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~~
cgmwgb138 2 months ago
This has been flagged as spam show
@thecplusplusguy
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~~
cgmwgb138 2 months ago
This has been flagged as spam show
@thecplusplusguy
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~~
cgmwgb138 2 months ago
This has been flagged as spam show
@thecplusplusguy 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~~
cgmwgb138 2 months ago
yeah gnu/linux ubuntu
MrKillius24 5 months ago
you have TeamViewer? i need help to make fps game!
oliverslott 6 months ago
@oliverslott
No, I don't have, but I will continue to make tutorials about OpenGL, which finally leads to an FPS game.
thecplusplusguy 6 months ago
Thanks very much, I found the error: I didn't put a minus in the function updateMouse...
A small mistake can jeopardize the entire program...
Thanks again ^^
TheAngelbrothers 6 months ago
Okay, I don't know what I've wrong, but when I press W or other keys the camera doesn't go to the direction where i I'm watching... I've rechecked the code but I don't find any error, If you don't mind... can you upload on pastebin "function.cpp" ? I want to check better... Thanks ^^
TheAngelbrothers 6 months ago
@TheAngelbrothers
The code is uploaded, it's in the description. (I hope this helps to find the error, but if you cannot find it, you can send it to me, and I will check it)
thecplusplusguy 6 months ago