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

diolee

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

100 Neutral

About diolee

  • Rank
    Newbie
  1. [size=4] [quote name='Ashaman73' timestamp='1333539940' post='4928173'] For the unit matrix, what is the resulting quaternion ? Can you post some code of the conversation between matrix->quat & quat -> matrix ? [/quote] [/size] I tried the unit matrix, that is fine. Here is the codes: [code]Orthonormlize(vert->tangent, vert->binormal, vert->normal ); Matrix33f tSpaceMat = Matrix33f::GetIdentity(); tSpaceMat.SetAxisI( Vec3f(vert->tangent.x, vert->tangent.y, vert->tangent.z) ); tSpaceMat.SetAxisJ( Vec3f(vert->binormal.x, vert->binormal.y, vert->binormal.z) ); tSpaceMat.SetAxisK( Vec3f(vert->normal.x, vert->normal.y, vert->normal.x) ); Quaternion4f quat; quat.FromMatrix( tSpaceMat ); Matrix33f tMat; quat.ToMatrix( tMat ); [/code]
  2. [quote name='Ashaman73' timestamp='1333536577' post='4928159'] I'm doing the same and it works. First off, you should accept some error tolerance, then try to detect the error by starting with simple values (unit matrix etc.). Btw. one pitfall of using quaternion instead of matrixes is, that an automatically generated TBN could change the handness, but you can't really map this to a quaternion (atleast I didn't know how to). I encoded the handness of the resulting matrix in the quaternion/position (i.e. a negativ homogenous coord for flipped handness). [/quote] Hi Ashaman73, Thanks for your advice. the handness I already handled in a same way just like you. Is the way I build the TBN matrix right? My result is much more than error tolerance. I mean if the tangent, bitangnet and normal is (1,0,0) ,(0,1,0), (0,0,1). So whether the 3x3 matrix should be like : (1,0,0) (0,1,0) (0,0,1)? And Is the matrix_to_quat() method any different with the regular algorithm?
  3. Hi, For saving the bandwidth of video memory, my project decided to use a quaternion to store a TBN. Now I get a tangent, bi-tangent and a normal vectors. for converting them to a quaternion, I use a 3x3 matrix that the Rows i, j, k of the matrix stored t, b, n. for sure I have already been to normalized the t,b,n and did the Schimdt orthonormal. Then, I transformed the matrix to a quaternion. In order to test the quaternion, I transformed the quaternion back to matrix. unfortunately, the values of these vectors were all wrong. I doubted the 3x3 Matrix which I built was not correct, or something else. I'm not sure. Who knows how to deal with this? Regards, Dio
  4. [quote name='LorenzoGatti' timestamp='1331548157' post='4921283'] The missing file is from boost::thread, which you probably didn't build, not from boost::pool. Maybe there are #defines to disable thread related features and sever the dependency, but I'd try compiling boost::thread first. [/quote] Thank you for the information, it's very helpful:)
  5. Before I used the boost::pool version 1.43, it's head file only indeed. Now I update the boost lib to version 1.49, although the document said: [quote]The Boost Pool library is a header-only library. That means there is no .lib, .dll, or .so to build;[/quote] But when I compile my project, here it is the error information: [quote]2>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc100-mt-gd-1_49.lib'[/quote] I googled for answer, but nothing helpful. Does Anyone know the reason?