• 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.


  • Content count

  • Joined

  • Last visited

Community Reputation

118 Neutral

About TheGoozah

  • Rank
  1. Sorry for bumping this thread but I am really desperate in finding my problems. As said before I guess there is something wrong with my Offset and TransformMatrix calculations. So here the snippet isolated: http://pastebin.com/gVTLCrbJ.   Anyone out here having experience with ragdolls or mapping actors to "bones" from an .x file? Maybe one can point me in the right direction regarding formulas or pointing out an mistake in my logic :) Thx guys!
  2. Hey, sorry for the late respons. Dirk Gregorius: I am having issues with putting the PhysX actors in the right position. For some reasons the data I get does not match as a direct input for PhysX actors. For the step 1 I put the actors on the correct position at this moment. Doing it your way would make it more difficult at this stage, but your version would be the final version offcourse. So, I know how a ragdoll system should work. But I have issues with writing one myself :). In particular the first step. If I position my actors using this formula: TotalOffset * LocalTransformAnimation I get these results: http://img842.imageshack.us/img842/8779/ragdollissues01.jpg http://img21.imageshack.us/img21/6029/ragdollissues02.jpg My TotalOffset is something like this: TotalOffset = parentOffset * parentOffset * ........... * ownOffset;   Also checked some of the raw data from the .x itself. And found some strange things. 1. The offset of the bone is the offset based from the parent BUT the transform already has transform of the parent. This is kinda weird, why not both the final transform and offset or it's own offset and it's own local transform? 2. When I double check the numbers of the TotalOffset not all of them are correct. Some numbers that need to be 32.901 for exmample are 35.487.   I've been looking into this issue for a while now and haven't come up with a solution. Could someone guide me in solving this issue?   Here you can find some code, in my opinion, related to this problem: http://pastebin.com/QT8sxuUp   PS: Everything works fine for the model itself (raw transform are being passed to a shader that positions the vertices to the right position). It is being animated correctly so there is no issue with the raw data from the .X file I guess (also double checked it with the Assimp Viewer).
  3. Hey gamedev,   for a college project I need to create a ragdoll using DirectX and PhysX. I'm still in the first phase of laying out the structure for this ragdoll. At this moment I'm trying to map actors to the bones that are imported together with mesh data. The problem I have at this moment is that I can move my actor to the position of the bone (all offsets + world = worldmatrix). But when I want it to follow the animation, my bone gets translated and rotated (axis) correctly, but my shape doesn't rotate. Only the axis changes. This engine is an engine written by some teachers, so I can't share it here. Also, the architecture is still rough. Here are some snippets of where the issue is.   I hope this is a know issue and someone can help me with this one! It is pretty important for my project.   Thank you in advance guys/girls!! void PhysxBone::MapToBone(MeshFilter* pMeshFilter) { //........................ m_matModelSpace *= m_pBone->Offset; //.................. D3DXMATRIX world; D3DXMatrixIdentity(&world); m_matWorldSpace = m_matModelSpace * world; } void PhysxBone::Update(D3DXMATRIX matKeyTransform) { m_matWorldSpace = matKeyTransform * m_matModelSpace; NxMat34 nPos; PhysicsManager::GetInstance()->DMatToNMat(nPos, m_matWorldSpace); m_pActor->setGlobalPose(nPos); } void PhysicsManager::DMatToNMat(NxMat34& NxMat, const D3DXMATRIX& D3DMat) { NxVec3 vTmp; vTmp = NxVec3(D3DMat._11, D3DMat._21, D3DMat._31); NxMat.M.setRow(0, vTmp); vTmp = NxVec3(D3DMat._12, D3DMat._22, D3DMat._32); NxMat.M.setRow(1, vTmp); vTmp = NxVec3(D3DMat._13, D3DMat._23, D3DMat._33); NxMat.M.setRow(2, vTmp); NxMat.t.set(D3DMat._41, D3DMat._42, D3DMat._43); }  
  4. Oke I've got rid of the "Unknown compiler version" by adding BOOST 1.50 to the project (still was using BOOST 1.47) But I still can't build successful libs... I get some other warnings new. (ps: trying to build the dom project (vc10-1.4) in Visual Studio 2010 in Debug mode In detail: [SPOILER] ... 1> daeIOPluginCommon.cpp 1> daeLIBXMLPlugin.cpp 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(142): error C2008: '$' : unexpected in macro definition 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(294): error C2008: '$' : unexpected in macro definition 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(295): warning C4005: '__' : macro redefinition 1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(142) : see previous definition of '__' 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(308): error C2008: '$' : unexpected in macro definition 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(309): warning C4005: '__' : macro redefinition 1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(295) : see previous definition of '__' 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(312): error C2008: '$' : unexpected in macro definition 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(313): warning C4005: '__' : macro redefinition 1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(309) : see previous definition of '__' 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(316): error C2008: '$' : unexpected in macro definition 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(317): warning C4005: '__' : macro redefinition 1> C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(313) : see previous definition of '__' 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(320): error C2008: '$' : unexpected in macro definition 1>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\driverspecs.h(321): warning C4005: '__' : macro redefinition .... AND .... 1> domAny.cpp 1>c1xx : fatal error C1083: Cannot open source file: '..\..\src\dae\domAny.cpp': No such file or directory 1> stdErrPlugin.cpp .... [/SPOILER] Please, can someone tell me what these are? Only getting .obj files right now.... Thx in advance!
  5. Hi! Ok, this is a strang question for me because I've never had problems setting up an API. Well a first time for everything I guess... I want to write my own daeParser using the Collada DOM... But I'm confused how to set it up.... I downloaded the collada-dom-2.4.0.tgz file and unrarred it (link: [url="http://sourceforge.net/projects/collada-dom/files/"]http://sourceforge.n...lada-dom/files/[/url]). I also downloaded the documentation and took a look at the wiki page... The documentation only says to do the following thing: [quote] • To the “Additional include directories” field, add: <COLLADA_DOM-path>\include <COLLADA_DOM-path>\include\1.4 • Under the “General” tab in the “Additional library directories” field, add: <COLLADA_DOM-path>\lib\1.4 <COLLADA_DOM-path>\external-libs\libxml2\win32\lib • Under the “Input” tab in the “Additional dependencies” field, add: libcollada_dae.lib libcollada_dom.lib libcollada_STLDatabase.lib libcollada_LIBXMLPlugin.lib libxml2_a.lib iconv_a.lib zlib.lib [/quote] But the \lib folder doesn't exist... Then I read the wiki and it says ([url="http://collada.org/mediawiki/index.php/DOM_guide:_Setting_up#Windows_.28Visual_Studio.29"]http://collada.org/m...isual_Studio.29[/url]): [quote] Building the DOM Project and solution files for Visual Studio are in <dom-path>\projects [/quote] When I try to build the project (vc10-1.4 or vc10-1.5) I get an error (for each file): Unknown compiler version - please run the configure tests and report the results So basically, I don't know what to do now? How can I get the necessary lib files? Do I need to build them myself and how? Am I missing something? I really need a solution because I need to be able to parse .dae files so I can use them with DirectX and PhysX! Thanks in advance!!
  6. Hey, i'm rather new in game development and I'm working on my second large project (student). I'll have to program some "basic" AI soon and when I looked at your code I saw an interesting thing. Your commands have their own class. This is a very interesting fact for me. Why did you choose to create a command class? Isn't it more interesting to work with a command manager, which have several states and function to handle everything. And let the command manager work togheter with a unit manager for example. Not sure... but that was my first idea/concept. I def want to get into your choice of doing it like that. Cheers!
  7. Never heard of a XML parser... is it, like Krohm say, difficult to write? I'll def look into several interesting formats, because i'm not that happy with the OBJ parser we had to read. I like the idea of baked materials etc. instead of parsing through a file, extract every bit of information and trying to get it all work together. Atm it is not that important, but in 4 months we'll have to write our own engine. I would like to support a meshformat that is easy to use for the developer, not to heavy for the engine (loading time) and has all the necessary things. I thought studios would have inhouse formats and plug-ins/software for their stuff, but I can't afford writing my own. I don't even qualify, because i have no experience creating my own formats.
  8. Hello, I'm a college student which focuses on game development. At the moment we are learning DirectX. This week we had to create a OBJ parser for reading .obj files into a mesh. Our teacher said this wasn't an easy topic and a .obj parser is heavy for in game use. This made me wonder, what is the best way to load a model into an engine? How do programmers in the industry do this? What's the standard today?
  9. I'm a beginning C++ programmer myself, so I can't really help you out with all the technical aspects. But at college, where I study, a group of teachers handed us there own game engine. As far as I can talk about it all the engine parts are seperate classes. Like previous posters said. Then we have 1 file, the main game part, with some functions in it (e.g. GameCycle, GameInitialzer, etc). All the student has to do is build a project, copy/paste the files into the project folder, do a find-and-replace on 3 files (replace X with projectname) and write their own gamecode. I don't say it is the best way, and it is a good and safe way to handle memory (and also performance), but it is in fact a great educational way of learning C++. I don't know how larger commercials engines work exactly, but as far as I know they work with seperate classes, wherefrom a singleton is created in the main-class (e.g inputstatemanager, rendering manager, etc.) So why not writing all the rendering code in a seperate class for example? It is surely an interesting topic to talk about!!