• 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

121 Neutral

About lumberbunny

  • Rank
  1. I think Rectangle and Hodgman have pointed out the inherent problem with splines: that given the right endpoints, they can produce some really acute turns up to and including pivoting on a point.   Like I said, I want constant forward speed with only gradual turns. Think of the camera as having momentum in the direction it is facing and that the only forces that can be applied are centripetal (and those have a maximum magnitude). This way, the camera will never speed up or slow down but will change direction to match the desired end condition.   To make it explicit, I'll use Rectangle's example where the start and end cameras are at the same position but with opposite orientations. The solution I imagine would probably look like a car turning around in a cul de sac.
  2.   This is the part of the solution that eludes me. Yes, I could define a spline to lay out the path of motion, but if at the same time I SLERP the rotation, the two will be out of sync and the camera will not appear to be moving forward. I could instead use the derivative of the spline to determine the forward direction of the camera, but there would be nothing to indicate the associated roll. In either case, how would I limit the curvature of the spline and regulate the speed along it?
  3. That will move from the 1st camera to the 2nd in a straight line, which is not what I want. I want the camera to always move forward but turn gradually to reach the eventual position and orientation.   Suppose that there's a Camera class with Position (Vector) and Rotation (Matrix or Quaternion)   The first part of the update should be something like: camera.Position += Speed * camera.Rotation * Vector.Forward  The next part needs to change the camera rotation (within the limits set for speed of rotation) so that in subsequent updates it will reach its destination and be at the appropriate orientation when it gets there.   It would be ideal if the only information needed was the current Camera and the destination Camera, but it would also be okay to calculate a path from Camera1 to Camera2 and step along it, so long as the speed requirments can still be met.
  4. I'm looking for a way to smoothly transition between two arbitrary camera positions/orientations. Ideally, I would like it to appear as though the camera is flying from one place to the other, such that the camera moves forward at a constant rate and there is a limit to how quickly it can yaw and pitch and roll. At first I thought a bezier curve or a spline might do the trick, but neither really has an adequate way to control curvature along the path.   Any ideas?
  5. Quote: There is a lot of info out there on Google and plenty of books, but none seem geared towards video games (or real time visual simulation). You'll be hard-pressed to find any literature on real-time FEA. Even basic FEA involves solving sets of simultaneous equations which is very computationally demanding and so poorly suited for real-time applications. Usually these systems are linear such that all displacements and rotations are accurate only within very small ranges. Additionally, FEA is primarily used for static loading, meaning that nothing is moving and nothing is changing--which would make for a very boring game. Any or all of these limitations can be overcome provided that you're willing to invest enough time in the project, although there are certainly much simpler and more efficient ways to accomplish the tasks you've listed. However, if you still wish to proceed: To get started, you'll definitely need to brush up on your linear algebra. (Variational calculus is used to derive the finite element equation, but is not required to use it.) Specifically, the matrix you'll be reducing--called the stiffness matrix--is always positive definite so a Cholesky decomposition can be very helpful when you need to solve the same system under many loading configurations. Basically, you solve for the displacements u of a set of points by employing Hooke's law for whatever material it is you're trying to model. As an example, let's consider the beam you mentioned. Here is the theory reference for ANSYS, a powerful commerical FEA program. On page 14-2, you'll find the stiffness matrix for a single element of said beam. Hooke's law says that the stiffness matrix K multiplied by the displacement of the beam always equals the forces that you apply. [K]u = F (I'm using [ ] to denote a matrix and italics to mean vectors.) Now, all you must do is solve for u using all that linear algebra you've learned. When you start adding more than one element, the displacements and resultant forces of each beam element must be rotated to the global coordinate system from the local coordinate system used by the stiffness matrix.