• 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

3254 Excellent

About ongamex92

  • Rank

Personal Information

  • Location
    Sofia, Bulgaria
  • Interests
  1. I would just create a simple program that initializes a device and creates and calls a compute shader from a file. Then I would do some "procedural" image generation, nothing fancy starting from : "casting rays from each pixel and intersecting them with s hardcoded sphere in the shader". Otherwise if you're not specifically interested in Graphics APIs. I would start with CUDA or OpenCL.
  2. Glad I could help! Debugging these thing is always tedious!
  3. Yeah it rotates it all the way up: I've compared it against https://www.autodesk.com/products/fbx/fbx-review
  4. EDIT: It works on with me I swear I'm having some issues with the gif recording program. The thing lays down, gets up, and then lays again. Hmm it works like intended in my engine. You should double check you skinning perhaps?
  5. Could you share the model? if so I could try it in my importer and check the results? You should check if your quaternion has the same memory layout and meaning as the one in FBX SDK. I really can't remember why I'm using the euler angles. but here is how i convert the rotations form FBX euler angles to my internal quaterion types: const FbxDouble3 fbxRotationEuler = tr.GetR(); const quatf rotation = quatFromFbx(FbxEuler::eOrderXYZ, fbxRotationEuler); // Hmmm. there is a function that returns the euler angles order, I do not know why I've hardcoded the eXYZ... const quatf rotation = quatFromFbx(FbxEuler::eOrderXYZ, fbxRotationEuler); // CAUTION: FBX SDK uses DEGREES this functon expects DEGREES! // Converts an Euler angle rotation to quaternion. quatf quatFromFbx(const fbxsdk::FbxEuler::EOrder rotationOrder, const fbxsdk::FbxDouble3& euler) { const auto make_quat = [](int _1, int _2, int _3, const fbxsdk::FbxDouble3& euler) { return quatf::getAxisAngle(vec3f::getAxis(_3), Deg2Rad( (float)euler[_3] ) ) * quatf::getAxisAngle(vec3f::getAxis(_2), Deg2Rad( (float)euler[_2] ) ) * quatf::getAxisAngle(vec3f::getAxis(_1), Deg2Rad( (float)euler[_1] ) ); }; quatf result = quatf::getIdentity(); switch(rotationOrder) { case fbxsdk::FbxEuler::eOrderXYZ : { result = make_quat(0,1,2, euler); } break; case fbxsdk::FbxEuler::eOrderXZY : { result = make_quat(0,2,1, euler); } break; case fbxsdk::FbxEuler::eOrderYZX : { result = make_quat(1,2,0, euler); } break; case fbxsdk::FbxEuler::eOrderYXZ : { result = make_quat(1,0,2, euler); } break; case fbxsdk::FbxEuler::eOrderZXY : { result = make_quat(2,0,1, euler); } break; case fbxsdk::FbxEuler::eOrderZYX : { result = make_quat(2,1,0, euler); } break; default : { throw FBXParseError("Unknown FBX rotation order!"); }break; } return result; }
  6. You could use a raytracer(V-Ray 30 days trial https://www.chaosgroup.com/download-free-trials for example) to create a few reference images and then and use imagemagik to compare the images.
  7. There should be. Later in my code I obtain the node via the cluster: And later I extract the keyframes from "fNodeBone" to load the animation. I do not use any skeletion nodes. I only use clusters to find the vertices, weights and the node that is used to represent the bone.
  8. I really cannot help you with you code but I can paste what I'm using, and it works like a charm so far: For the bind pose(offset) matrix. fCluster->GetTransformMatrix(transformMatrix); fCluster->GetTransformLinkMatrix(transformLinkMatrix); FbxAMatrix const globalBindposeInverseMatrix = transformLinkMatrix.Inverse() * transformMatrix; And then for the keyframes I use: FbxAMatrix const tr = fbxNode->EvaluateLocalTransform(fbxKeyTime); And then I decompose tr using the functions in FbxAMatrix (GetT, GetR, GetS) It works with all the pivots, geometric transfroms, and all that jazzy-stuff.
  9. Yeah, one of my question is: how do you compute an object (or even axis) aligned bounding capsule or whatever by a set ot verts?
  10. I've finally gotten the the place where I have to define collision shapes for my 3d models. Currently I only need convex hulls, but I suspect I will need capsules, cylenders, boxes ect... I'm using FBX SDK for importing and converting to my internal format. Currently I'm thinking about a naming convention, so If the name of the node begins with _Special_ConvexHull then this geometry will be the convex hull for the physics and not a renderable mesh. Hulls are fine, but what about a capsule how do I define a capsule? I do not think that there is a such thing as analytic capsule cylinder in FBX? Maybe the *imaginary artist* could create a capsule that is just a triangle mesh and later I would somehow restore the capsule by the defined points(links please, I do not know how to do it :P)? What is you solution for that thing?
  11. Splendid! Thank you!
  12. @alnite I'm from Bulgaria @mikeman I'm not sure if they are still living on the wealthiness of before. The wealthiness was primly food and land to grow the food on. I look at the colonization (correct me if I'm wrong) as just war. The nations on the west needed food and land, and they found a way to get it, If they did not do that they wouldn't be here today, so they kind of did it because of survival reasons. I may be completely wrong about this, but this is how the things were presented to me. My country did that back in the day, they've traveled to a new land and together the local Slavic tribes in order fought for land with the Byzantine Empire. They did this by spilling blood, trying to survive. Chances are, if you are alive today you ancestors killed a lot for you. What I hope that we are a species should learn is that we should not fight each other, and we learn"share the wealth" some how with destroy each other culturally, and the wealth to me is food and land to grow that food. Currently we are very very far from even trying. In my country we've got the "free money" problem too(maybe not on the same scale, as we are a poor country by the European standards), these people usually become trouble makers.
  13. Hey guys a few days ago my display name changed form ImoogiBG to my real name. Is it possible to revert it back, I can't find a text field that does this?
  14. @alnite Well after 3 one other major thing is that that around 800 and later a lot of tribes and countries started to convert to Christianity(some were forces and some converted willingly), the majority were polytheists. My country did that for 2 reasons: 1 - to ensure a longer peace with the Byzantine (Eastern Roman Empire) 2 - to unite the people, because the country had 3 different majorities with different languages and religions. After that was non-stop wars against each-other and against the invading Arabs. There were crusades before the Ottoman Empire, as far as I know only the last one crusade was formed against them. The renaissance did not happened in the *majority Eastern Europe at all.
  15. I'm not sure if you explanation is detailed enough? Do you want to draw the intersection between the slice and the sphere? You can do that in the pixel/fragment shader by discarding fragments with world positon that is in front (or outside) of the slice?