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

Catmull Dog

Members
  • Content count

    26
  • Joined

  • Last visited

Community Reputation

136 Neutral

About Catmull Dog

  • Rank
    Member
  1. The slope is the difference between two adjacent vertices. You probably want the point normal though, or the weighted, normalized average of all adjacent edges at a given vertex.
  2. Ideally you will draw the control points and let the user drag them independently. To move the whole curve the user would type Ctrl-A to select All and then could drag any point to move the whole curve. You may prefer Catmull Rom splines as they feature control points that lie on the curve (just the span 1 to 2), where Bezier defines a control polygon and only the endpoints 0 and 3 are on the curve). You can convert between them with a formula that is not too bad (see [url="http://www.cemyuksel.com/research/catmullrom_param/catmullrom_cad.pdf"]Figure [/url]4).
  3. Here is a good explanation of the 3D point to line problem. The line connecting the point to the closest point meets the line at a right angle. [url="http://mathworld.wolfram.com/Point-LineDistance3-Dimensional.html"]http://mathworld.wolfram.com/Point-LineDistance3-Dimensional.html[/url]
  4. If any bugs can delay the shipping of a product, they will. - Murphy's Law of Programming
  5. Sounds like the OP would enjoy the Seismic Exploration field in the Upstream Oil industry. Lots of 3d graphics these days.
  6. An interactive fiction (word) game is a good short-term project. Design a map and number each room and list the connections for R rooms. Then support 10 directions (the 8 compass directions, up and down). A 10 x R matrix then stores the connections between rooms. You could show a photo in each room (perhaps a panoramic one and let the user rotate 360 degrees). Then, support simple noun/verb parsing and inventory (pick up the rock).
  7. Basically when you rotate, you rotate the very axes of rotation themselves, so it quickly becomes non-intuitive. Trackball style essentially counters this by applying the transpose of the camera matrix.
  8. In 1987 a FORTRAN subroutine package was created that fits points to surfaces using cubic splines (though more of a subdivision scheme it appears than a parametric surface). The author published a book (Paul Dierckx - Curve and Surface Fitting with Splines). I'm curious: 1) If it's still useful enough to charge $100 for the book 25 years later, hasn't anyone ported it to C++? 2) Are there limitations to consider versus using Catmull Rom surfaces or NURBS? 3) Is localized control possible? Thanks, CRD
  9. Rewind is simply playing every frame back to the (n-1)th frame, and looping n from max to zero. I did this for a billiard simulation 20 years ago and it was cool to watch the break in reverse. As nox_pp points out, this requires a deterministic engine (meaning if you have the same input conditions the same results will occur).
  10. The object is probably made out of polgons, so you can test each one as a plane to see which side the given point is on. One way is to go in a certain order and make sure the Z value in the cross product of two edges of the (rotated into XY plane) polygon is consistent (all positive or all negative depending on the way you go).
  11. I think that everyone is so happy to get theirs working they regard it as a trade secret once it does work. It often seems as though the very authors of the articles resent it when you get it working.
  12. For years I've had a user-controlled boolean that wraps around the call to clear. I'm not here to debate whether this is right, I'm wondering why behavior has changed on Windows 7 and/or with my graphics card. It may indeed be Alpha-related.
  13. Toolkits like VSG VolumeViz support volume rendering. Voxels require gargantuan amounts of space. We're working on converting voxel-based models to parametric surfaces to reduce storage requirements but that's no easy task. Curious if anyone has looked into that (VSG hasn't!)
  14. Making two layers using the surface normals is pretty easy but here are some pitfalls: 1) Which way do you let the user scale the derived surface? Or do you support both thicker and thinner? This effects the lighting as you need to keep the winding order consistent. 2) If the surface is open like a tube, you will need to stitch the layers together at the ends. This is much more of a challenge than just deriving a thicker layer. 3) If you supported cutting holes and stitching pieces together, there are all-new problems when you add thickness, as the two layers (each featuring seamless articulation) are no longer simply offset by the normals, the projected region of intersection needs to be scaled about its midpoint and reprojected onto a slightly different surface.
  15. Thanks K_J_M. It seems to me that basic, building-block code like this should be available in a standard form we could all share. Instead it seems we all implement the same algorithms and (never having common test data in most cases) we often don't know about the bugs we have in our version. The alternative is to buy some API that has more than what you need.