Page 1 of 2

The adventures of creating a game

Posted: Tue Sep 27, 2011 5:08 pm
by janequorzar
My video was removed. Sorry

Re: The adventures of creating a game

Posted: Tue Sep 27, 2011 7:17 pm
by dandymcgee
Damn dude, that's pretty fuckin cool. Hope to hear from you more in the near future.

Re: The adventures of creating a game

Posted: Tue Sep 27, 2011 7:34 pm
by Benjamin100
Speaking of OpenGL and graphics...
I haven't yet looked at OpenGL with 3d, as it sort of scares me. I'm still learning SDL, and some basic graphic stuff.
In the past I have done some 3d work with Blender. Does anyone on here know, is there a way to import Blender models into an C++/OpenGL program?
I'm still not sure I'm ready to learn OpenGL with 3d,(particularly as far as math goes,) but I was interested in that.

EDIT: By the way, nice job on the graphics! It looks cool. How long did it take you?

Re: The adventures of creating a game

Posted: Tue Sep 27, 2011 8:40 pm
by superLED
Benjamin100 wrote:Speaking of OpenGL and graphics...
I haven't yet looked at OpenGL with 3d, as it sort of scares me. I'm still learning SDL, and some basic graphic stuff.
In the past I have done some 3d work with Blender. Does anyone on here know, is there a way to import Blender models into an C++/OpenGL program?
I'm still not sure I'm ready to learn OpenGL with 3d,(particularly as far as math goes,) but I was interested in that.

EDIT: By the way, nice job on the graphics! It looks cool. How long did it take you?
http://www.youtube.com/user/thecplusplu ... 49hXuOv0i8
This guy is great, but I hate the way he sets up his code...

Re: The adventures of creating a game

Posted: Tue Sep 27, 2011 9:42 pm
by janequorzar
Deleted

Re: The adventures of creating a game

Posted: Tue Sep 27, 2011 10:38 pm
by short
So to make it easier, I recommend you get the 4th edition of the OpenGL SuperBible. NOT the 5th Edition. FUCK the 5th Edition
Do you have an outdated version of opengl? The fourth edition uses now-deprecated functionality.
The source code to 5th is a JOKE and does NOT work.
From the website,
You will need at least a version 3.0 or better implementation of OpenGL to run the samples in this book, preferably 3.3.
The fifth edition of the book covers the new OpenGl standard, excluding the deprecated functionality from 2.0. I would buy the fifth edition if I were going to buy one, but that's because I wouldn't want to start by learning the deprecated way of things.

Re: The adventures of creating a game

Posted: Tue Sep 27, 2011 10:46 pm
by janequorzar
Deleted

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 1:32 am
by Benjamin100
I've been working with C++.

GLSL does look familiar. I believe it is used in Blender. Though I don't recall typing out any "programming" for it there. I think it is more preset in Blender the way I used it.

I'm interested in learning OpenGL as it appears more cross-platform, and I'd like to have the ability to work with programming for different platforms.

Thanks for the advice,

-Benjamin

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 1:43 am
by janequorzar
Benjamin100 wrote:I've been working with C++.

GLSL does look familiar. I believe it is used in Blender. Though I don't recall typing out any "programming" for it there. I think it is more preset in Blender the way I used it.

I'm interested in learning OpenGL as it appears more cross-platform, and I'd like to have the ability to work with programming for different platforms.

Thanks for the advice,

-Benjamin

Blender has its own 3D game engine. It has nothing to do with OpenGL. But your right about it using GLSL as its shaders. But thats do to the fact that Blender's Game Engine uses Python to talk to GLSL.

Keep in mind, There is Blender 3D and then there is Blender 3D Game Engine. TWO different things here.

EDIT : Just to clarify, BOTH use Python and BOTH can use GLSL.

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 1:46 am
by Benjamin100
I did some studying of Python.

I also looked into the Blender Game Engine, but I am now more interested in learning OpenGL as I think it will be more helpful.

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 1:48 am
by Benjamin100
I am interested in possibly using Blender models with OpenGL.

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 1:52 am
by janequorzar
Deleted

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 2:26 am
by Benjamin100
I think I heard that 3d models can be made in Blender, and brought into a C++ program using OpenGL and some other library.

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 8:35 am
by DualEntity
Benjamin100 wrote:I think I heard that 3d models can be made in Blender, and brought into a C++ program using OpenGL and some other library.
You can create models in blender, and then export them. Then load the 3d model data into your C++ program and render it with OpenGL. Shouldn't require any extra libraries besides OpenGL as long as you know the format of the model and how to load it / use it.

Re: The adventures of creating a game

Posted: Wed Sep 28, 2011 11:57 am
by janequorzar
Deleted