Syntac_

Members
  • Content count

    129
  • Joined

  • Last visited

Community Reputation

1355 Excellent

About Syntac_

  • Rank
    Member

Personal Information

  • Interests
    Art
    Design
    Programming
  1. plane point distance help

    No, your expected distances are incorrect. A plane at -350 parallel to the y axis and a point at 200 are 550 units apart, not 150.
  2. plane point distance help

    Of course, you are correct, I'm having a memory lapse.
  3. plane point distance help

    I'd normally do distance = dot(normal, point - pointOnPlane) I don't see how you can use distance from origin only, how do you know if the plane lies in the negative or positive x-axis?
  4. Unreal Questions about destruction

    Just a word of warning. UE4's implementation of destruction rendering is completely unscalable. Each chunk becomes a draw call.
  5. Mitsuba is popular for using as a reference. MJP did a quick start article here.
  6. What happens if you remove the register code in the shader?
  7. Quesion on TBN Matrix generation

    E1=ΔU1T+ΔV1B E2=ΔU2T+ΔV2B These formulas are a different way to represent the edges E1 and E2 using the tangent and bitangent as the article says. In order to calculate the tangents and bitangents per vertex you need to apply the last formula in the article. There are several methods to calculate the tangents and bitangents for a mesh, the most popular one I know of is "MikkTSpace". https://svn.blender.org/svnroot/bf-blender/trunk/blender/intern/mikktspace/mikktspace.h https://svn.blender.org/svnroot/bf-blender/trunk/blender/intern/mikktspace/mikktspace.c The TBN matrix that you construct in the shader is made up of the tangent, binormal and normal vectors. As these are all orthogonal unit vectors they create an orthonormal basis.
  8.   You can also run with -nullrhi for no graphics on a build machine.
  9. IDEs for python?

    For Windows, PyScripter is also really good.
  10. Audio Integration into games?

    Working with audio middleware tools (Wwise/FMOD) and in-engine experience (Unity/UE4) yeah. Programming, no. I think it's good to have had experience with Wwise and FMOD while at Uni as these are very popular audio middleware solution for games.
  11. Congrats :)   Something that's initially obvious is that there is not much code reuse. For instance rather than having player2 and player1 functions can you not use a single player function and pass in which player it is. Or reduce the amount of code in Turns, use a for loop for example. For this game it's not going to be a massive issue but as you get much larger complex code bases, avoiding duplicate code helps to make iteration much easier. This would be a great example to practice from. Just to note, the aim is not to make it in the least lines possible as that is not always beneficial and can make codebases harder to read.
  12. Best animated model file for directx12

    I'd choose COLLADA and use ASSIMP to import it. Or FBX and use FBX SDK to import it. If this engine is just for testing then I'd just leave the model formats in COLLADA/FBX.  If it's for a game engine then I'd convert these files to a model format suited for your engine for optimum storage usage and loading speed.
  13. It sounds like you want to check for some condition every iteration and use the continue statement to skip your for-loop logic. Or you could use a previous for-loop to determine the index to start at.
  14.   The effects API is deprecated. You can still use .fx files, just not the way it lays out 'techniques' I believe. I.e. you can still pass the file and the main function for vertex and pixel shaders into the shader compiler.   I don't have much experience with the effects API so maybe someone else can comment on the difference in detail.
  15. DX12 PIX for Windows released yesterday

      That's right yes, but you should still be able to make use of CPU captures. I'm unsure what happens if you try a timing capture on DX11?