• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

This topic is now archived and is closed to further replies.

SteelBlue

Game development Questions. LOTS!

6 posts in this topic

Ok, what i want to know is, how do you get to manipulate 3d models created in other modeling programs with OpenGL. Do you use OpenGL to do the animation of the models? What exactly does OpenGL do in a game environment? What can a game engine programmed in OpenGL do? Tha Funkalicious one
0

Share this post


Link to post
Share on other sites
Well that depends on the model you are using and what kind of models you want to load. Let me start with the bad news there is no "native" model format for opengl, that means opengl itself doesnt have functions to load and animate models, now those are the bad news. The good news are: they are several programs and examples to do this, check out this site:

nehe.gamedev.net

Specially the game programming tutorials are useful.

Now how to handle those models once they are loaded is a diferent history, but you can find help for that here.

http://www.wiz3domain.com/

Check out the tutorial making a fighting game in 7 days is probably the best tutorial on the subject.

however and just not to answer this question with a bunch of links, the process is something like this.

-You start opengl

-load the model data into an structure (you can use any model format you like, 3ds, msh, mdl, md3, etc) including textures, this structure must have a matrix as well.

(unless you want to use a -model -instance system like power render, which means you will be able to show the same model lots of times as diferent instances, in this case, your matrix must be in the instance instead) so you can store is orientation, scale and position.

-start the main rendering process.

-Whenever you want to render your model you should transform every vertex in your model structure by is model matrix also you should use its texture coordinates to render its textures as well. (simply bind the apropiate texture and render the model with textures on)

-Whenever a control key is pressed, a change in the model matrix must be made, per example the simple resident evil control set
left right rotate the model, up/down keys move the model forward, back wards. (you will need to move the model by its orientation vector)

-repeat until the escape or quit key has been pressed.

this may sound dificult, but since you will have functions, or objects members to do this, once you have them it may be as simple as.

model= new pmodel("ufo.3ds")

model.move (0,0,0);
model.rotate (0,35,0)
model.render

free model

cool uh? =)

start reading those links and check if you find answer to your questions (like vector orientatios) on gamedev article and resources, It will take a bit of time, but eventually you will manage to load and render models for some cool games.

Remember to help gamedev.net donate whatever you can to keep forums such as this up.

Hope that helps.



0

Share this post


Link to post
Share on other sites
Well that depends on the model you are using and what kind of models you want to load. Let me start with the bad news there is no "native" model format for opengl, that means opengl itself doesnt have functions to load and animate models, now those are the bad news. The good news are: they are several programs and examples to do this, check out this site:

nehe.gamedev.net

Specially the game programming tutorials are useful.

Now how to handle those models once they are loaded is a diferent history, but you can find help for that here.

http://www.wiz3domain.com/

Check out the tutorial making a fighting game in 7 days is probably the best tutorial on the subject.

however and just not to answer this question with a bunch of links, the process is something like this.

-You start opengl

-load the model data into an structure (you can use any model format you like, 3ds, msh, mdl, md3, etc) including textures, this structure must have a matrix as well.

(unless you want to use a -model -instance system like power render, which means you will be able to show the same model lots of times as diferent instances, in this case, your matrix must be in the instance instead) so you can store is orientation, scale and position.

-start the main rendering process.

-Whenever you want to render your model you should transform every vertex in your model structure by is model matrix also you should use its texture coordinates to render its textures as well. (simply bind the apropiate texture and render the model with textures on)

-Whenever a control key is pressed, a change in the model matrix must be made, per example the simple resident evil control set
left right rotate the model, up/down keys move the model forward, back wards. (you will need to move the model by its orientation vector)

-repeat until the escape or quit key has been pressed.

this may sound dificult, but since you will have functions, or objects members to do this, once you have them it may be as simple as.

model= new pmodel("ufo.3ds")

model.move (0,0,0);
model.rotate (0,35,0)
model.render

free model

cool uh? =)

start reading those links and check if you find answer to your questions (like vector orientatios) on gamedev article and resources, It will take a bit of time, but eventually you will manage to load and render models for some cool games.

Remember to help gamedev.net donate whatever you can to keep forums such as this up.

Hope that helps.



0

Share this post


Link to post
Share on other sites
Thanks man. That did help a bit. Just another thing, what books do you recommend i read to learn all that good stuff you just mentioned?

Tha Funkalicious one
0

Share this post


Link to post
Share on other sites
You DIDNT READ THIS BOOK: "OpenGL Game Programming" by Kevin Hawkins and Dave Astle(GDNet owners!!)???? You better get it!

Its the best book around. By chapter 5 you are already making (lego looking) 3D models. It will answer tons of your questions. If you dont read it, then you dont succeed! lol. No, thats the best book to teach yourself, and its also a good reference.
0

Share this post


Link to post
Share on other sites