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

JorenJoestar

Members
  • Content count

    255
  • Joined

  • Last visited

Community Reputation

381 Neutral

About JorenJoestar

  • Rank
    Member
  1. Thank you guys! You are super kind everyone
  2. Hey there! Big update! I am probably the only one - but I can't find a search/find in the forums anymore ? What am I missing ? (Using Chrome)
  3. That works, thanks a lot!  
  4. Sadly glGetUniformLocation gives me a different number, that's why the confusion! :/
  5. Hello everyone,    I am trying to search the binding index of a uniform image2D into a compute shader. If I have this kind of syntax:   layout(rgba16f, binding=0) readonly uniform image2D tex0; and I use   glBindImageTexture(0, ...) it works of course. But I can't find any proper way of finding the binding point. glGetUniformLocation does not work of course, but I can't find a method to get the binding. I would like not to have to explicitly write the binding point in the shader and in the cpu code, but just reflect it! Any ideas? Thank you a lot!
  6. OpenGL

    In my opinion it really depends what you want to express with the language.   If you want to describe a rendering pipeline (that FINALLY with Vulkan/Dx12 is stateless) then it's one thing. If you want to describe different rendering configuration, is another. If you want a api-agnostic way of issuing drawing command, then is another thing. For the full frame definition...you need to express the dependencies of a frame.   Buffer/Textures are the main ones. From a drawing/compute point of view, you are writing into a buffer. Who needs that buffer then dictates the order.   This is an old concept but it could be a starting point! There is also someone that did some work on that:   https://www.gamedev.net/blog/1930/entry-2262315-designing-a-high-level-render-pipeline-part-3-a-visual-interface/   I personally use this separation since quite a while (explicit render pipelines, stages and their dependency), and you can describe everything more easily. Vulkan finally has the RenderPass for it!     Also, into writing a custom language, I suggest you to look into Antlr (version 4):   It's a library to create a lexer and a parser from a grammar:   http://www.antlr.org/ https://github.com/antlr/grammars-v4   Version 4 is pretty solid and they improved a lot the expressiveness of their language.   So for example, with your language you can generate c++ code quite easily once you have a tree of resources you need to draw!
  7. OpenGL

    I would suggest this tutorial instead:   https://vulkan-tutorial.com/   I liked it a lot, and gives you a good understanding of the basic Vulkan knowledge.
  8. Another interesting part of the system is the weather simulation. I found that a good way to handle cloud formation/dissipation and movement is using Cellular Automata as Dobashi tried:   http://evasion.imag.fr/~Antoine.Bouthors/research/dea/sig00_cloud.pdf A very brief summary of the paper is this: https://graphics.stanford.edu/courses/cs348b-competition/cs348b-05/clouds/index.html   A working implementaton is here: https://software.intel.com/en-us/articles/dynamic-volumetric-cloud-rendering-for-games-on-multi-core-platforms   All the simulation is a 3D grid, and it can be used to generate the weather map. Accumulating cloudiness on the y-axis could create the cloudtype parameter, and if over a certain threshold the coverage too. Probably another pass could see spots areas with taller clouds (maybe doing a downscaled version of the simulation map) to check precipitation values.   Just a train of thoughts!
  9. You can also find both the complete source code from Bitsquid here: http://bitsquid.blogspot.com/2016/07/volumetric-clouds.html   Or a more working version that you can try on Unity here: http://kode80.com/blog/2016/04/11/kode80-clouds-for-unity3d/index.html   The unity package contains everything, from source code to editing the weather maps.   These could be a good peek into this technique! And again, thanks to Andrew that shared his (their) tech with us!
  10. Maybe you can look at [url="http://mmikkelsen3d.blogspot.co.uk/"]this[/url]!
  11. Possibly this line is broken: posWorldSpace = mul(posViewSpace, InverseWorldViewMatrix); because you are moving from the viewSpace to object space. To be back to world space you need to multiply for the inverse of the view matrix, that maps from view to world space. Also, if you need other more informations I've put some stuff together on my blog: [url="http://badfoolprototype.blogspot.com/"]http://badfoolprototype.blogspot.com/[/url] Hope this helps!
  12. Thanks Daniel, you are very kind to post your code! Actually yesterday night I get the Arkano's implemenation working, I had to change a little in the uv calculation...it seems those math is working only with the view space texture! I'm using this method to reconstruct: [color="#c0c0c0"]float depth = [color="#c0c0c0"]tex2D(gDepthTex, uv).r * gFar; [/color] float4 pos = float4( (uv.x-0.5)*2, (0.5-uv.y)*2, 1, 1 ); float4 ray = mul(pos, gProjectionInverse); return ray.xyz * depth; [color="#000000"]And it is working quite well! I will try your method too, the trade between the multiplication with a texture fetch is interesting Thanks again!!![/color] [/color]
  13. I have the same problem with reconstruction as you guys...I`m trying to use the depth and no luck. I use this reconstruction method (I'm using right-handed coordinates): [color="#c0c0c0"] [color="#c0c0c0"]float depth = tex2Dlod( g_depth, float4(uv, 0, 0) ).r * g_far_clip; [/color] float4 positionCS = float4((uv.x-0.5)*2, (0.5-uv.y)*2, 1, 1); float4 ray = mul( positionCS, gProjI ); ray.xyz /= ray.w; position = ray.xyz * depth / ray.z position.z *= -1; // This is for right-handed. Daniel what method are you using? Thanks! [/color]
  14. [quote name='0xffffffff' timestamp='1295832219' post='4763691'] We had great success with this approach. Our implementation is somewhat different than that described above. We take four strategically-placed samples to establish edge direction, leveraging bilinear filtering to get the most out of each sample. Then we do a four-tap blur (three also works well) with a strong directional bias along the edge. The size of the blur kernel is in proportion to the detected edge contrast, but the sample weighting is constant. This works astonishingly well and is a fraction of a millisecond compared to 3+ ms for MLAA. [/quote] Can you describe better the process you are using? Are you using both normal and depth??? Thanks!
  15. Hi Ivo, there are a bunch of links around that can be useful: http://diaryofagraphicsprogrammer.blogspot.com/2009/10/bitmasks-packing-data-into-fp-render.html http://aras-p.info/blog/2009/07/30/encoding-floats-to-rgba-the-final/ http://theinstructionlimit.com/?p=33 Hope those helps!