• 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

100 Neutral

About Lleran

  • Rank

Personal Information

  • Location
    Russia, Moscow
  1. Thanks for reply and ideas. I thought for a moment... GUI may be represented as: [xml]<Background> <Border> <TextButton/> <TextButton/> <TextButton/> </Border> <Some_other_batched_GUI/> </Background>[/xml] Also it may be represented as (in rendering order): 'Background - Border - TextButton - TextButton - TextButton - Some_other_batched_GUI. So, it's necessary to have some VBO buffers: (Background + Border) - (Button) - (Text) - (Button) - (Text) - (Button) - (Text) - (Some_other_batched_GUI). Yes, this isn't ideally, but this case isn't ordinary\frequent too (Creating text processor isn't in my plans[img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]). Well, now I should to try implement this ideas. Neverwinter Nights 2 GUI - this is my ideal[img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
  2. I need advice about user interface implementation. Let's suppose that group of controls represented as single VBO buffer. For exaple (in rendering order): background - border - some icon. [sharedmedia=gallery:images:2018] Now I desire to add vbo based text (it represented as single VBO buffer too, therefore I have 2 VBO buffers). How can I implement rendering order like this: 'background - border - text - some icon' using 2 VBO buffers?
  3. From the album Screenshots

  4. [quote]One thing to remember when doing this is potential issues with alpha blended objects / particles / anything that does not write into depth. Plenty of ways of getting round it (alpha doing their own fogging, rendered after the full screen pass, dithered depth buffer (inferred lighting), etc.), but will require some thought of course.[/quote] Yes, you're right. I want to use fog not as weather element - only to cover far objects in fog (e.g. Morrowind). I'm talking about outdoor scenes now. In this case I can to neglect some aspects like particles and other transparent objects - only nearest objects are draw. Well... I think so.
  5. Thanks for reply. Yes I want to implement simple linear fog first. I know the general idea - I have implemented some posteffects before. My problem is in fog factor calculation. I used this formula f = (fogend – d)/(fogend – fogstart), but it doesn't work properly. My fragment shader code (Cg): [CODE] //----------------------------------------------------------------------------- struct FS_INPUT { float4 Position : POSITION; float2 TexCoord : TEXCOORD0; }; //----------------------------------------------------------------------------- float4 main(FS_INPUT IN, uniform sampler2D ColorMap, uniform sampler2D DepthMap, uniform float4 fogColor, uniform float fogStart, uniform float fogEnd ) : COLOR { float4 fragmentColor = f4tex2D(ColorMap, IN.TexCoord); float4 fragmentDepth = f4tex2D(DepthMap, IN.TexCoord); float fogFactor = (fogEnd - length(fragmentDepth)) / (fogEnd - fogStart); fogFactor = clamp(fogFactor, 0.0, 1.0); return lerp(fragmentColor, fogColor, fogFactor); } [/CODE]
  6. How can I make this using depth buffer and color buffer? I understand general idea, but I can't implement this well. Any ideas, glsl, cg, hlsl code?
  7. I have some problems with bind-pose too (see last post there) : [url="http://www.gamedev.net/topic/617851-anyone-ever-have-a-skeletal-animation-error-like-this/page__st__20"]http://www.gamedev.n...is/page__st__20[/url]
  8. [quote]I was wondering if there was a way I can just get the bone transformations at their starting positions instead?[/quote] Do you mean the bind-pose? You may try to experiment with aiScene->aiMesh->aiBone->mOffsetMatrix. Assimp themes are actual for me now too.
  9. I need to take one step for understanding animation via Assimp (I hope[img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img] ). Now I'm experementing with complex model from Morrowind. In 3ds max it looks like this (dremora, yes[img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img] ): [img]http://uploads.gamedev5.net/gallery/album_361/gallery_194564_361_23612.jpg[/img] My application can import geometry with hierarchy well... excepting one point. Screenshot from my application: [img]http://uploads.gamedev5.net/gallery/album_361/gallery_194564_361_72832.jpg[/img] This is model in bind-pose on both screenshots. As I understand I must do skinning even in bind-pose. Right? But I can't understand one point. I import animation via set of aiAnimation. And this works well: nodes are animated as in 3ds max. But how should I use a set of aiBone in aiMesh structure? Instance of aiBone has matrix, but instance of aiNode has matrix too. Is aiBone matrix relative to some aiNode? What matrix should I use for skinning? I'm confused.
  10. From the album Screenshots

  11. From the album Screenshots

  12. [quote name='hupsilardee' timestamp='1327507314' post='4906129'] Assimp does not instance meshes, so if your mesh has two pauldrons, they will be imported as separate meshes [/quote]I think this is not right. aiNode can refer to aiMesh by index. And one mesh can be used in some nodes with various matrix. This works fine with static geometry. As I understand it, it will not work with skinned mesh. Really, for animation(skinning) we must have two various pauldron meshes.
  13. I don't understand one thing. In Assimp aiMesh represents master-geometry. For example : model has two identical pouldrons - left and right. Therefore we can have only one mesh and use it twice. Right? But.. aiMesh has an aiBone array. Each bone refers to aiNode by mName, is this true (or maybe it's other, independent entity)? Also each bone has a matrix. But we already have matrix for each node in hierarchy. Does that mean that aiNode is not "full master geometry"? I can't understand this moment.
  14. I have one question about the animation. This is a quote from the Assim documentation ([size=4]aiNodeAnim Struct Reference[/size]): [quote] The name specifies the bone/node which is affected by this animation channel. The keyframes are given in three separate series of values, one each for position, rotation and scaling. The transformation matrix computed from these values replaces the node's original transformation matrix at a specific time. [b]This means all keys are absolute and not relative to the bone default pose[/b]. [/quote] But... Does this mean that the keys of the node (in other words - matrix) are relative to its parent node? I am embarrassed by the word "absolute".
  15. Well, as I understood this is a feature of the COLLADA exporter (and Assimp importer). Part of the correct COLLADA file [CODE] <node id="node-Bip01_L_Toe0" name="Bip01_L_Toe0" sid="joint22" type="JOINT"> <matrix>-4.37114e-8 -0.9999999 -1.34092e-14 6.761646 0.9999999 -4.37114e-8 4.91523e-7 10.59154 -4.91523e-7 5.72948e-15 0.9999999 -4.30573e-6 0 0 0 1</matrix> </node> [/CODE] XML node "node" must have an attribute (type="JOINT") to be a bone. [quote]As you're working on a model converter you can just ignore the bone meshes and only convert the bone hierarchy into your custom file format.[/quote] Perhaps this is true. But there are many subtle points.