RasterTek | DirectX 11 Tutorials | SDK library

 by   matt77hias C++ Version: Current License: No License

kandi X-RAY | RasterTek Summary

kandi X-RAY | RasterTek Summary

RasterTek is a C++ library typically used in Utilities, SDK applications. RasterTek has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

The source code of RasterTek's DirectX 11 tutorials (made ready to use in Visual Studio 2017). Documentation and further explanation can be found at RasterTek. I am not backing all the (software) design decisions nor the used conventions, but the tutorials get the things done, obtain very pleasing results and are inspiring for people wanting to grasp the rendering pipeline (which is for most special effects less intuitive as opposed to ray tracing). These tutorials require the obsolete DirectX 11 SDK which is very similar to the DirectX 11 component contained in the Windows SDK. With the exception of the use of D3DXMath (for which DirectXMath is a superior and widely used alternative), nearly all code would remain the same and is still relevant. For more info, I refer to Chuck Walbourn's Living without D3DX.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              RasterTek has a low active ecosystem.
              It has 89 star(s) with 24 fork(s). There are 6 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              RasterTek has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of RasterTek is current.

            kandi-Quality Quality

              RasterTek has 0 bugs and 0 code smells.

            kandi-Security Security

              RasterTek has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              RasterTek code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              RasterTek does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              RasterTek releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of RasterTek
            Get all kandi verified functions for this library.

            RasterTek Key Features

            No Key Features are available at this moment for RasterTek.

            RasterTek Examples and Code Snippets

            No Code Snippets are available at this moment for RasterTek.

            Community Discussions

            QUESTION

            Normal map overrides smooth edges in DirectX 11
            Asked 2021-Feb-28 at 21:21

            My object is a smooth barrel, with only the color and the original normals it looks like this:

            When I try to add the normal detail via a texture the smooth normals get overwritten like so:

            Is there a better way to merge the new normal texture without overriding the smooth edges?

            The code is mostly from the rastertek tutorials found here https://www.rastertek.com/tutdx11.html

            The Vertex Shader

            ...

            ANSWER

            Answered 2021-Feb-28 at 21:21

            The issue is this formula:

            Source https://stackoverflow.com/questions/66411787

            QUESTION

            Why are my textures not rendered in greater detail in my DirectX11 game?
            Asked 2020-Dec-15 at 18:54

            I am trying to write a small 3D game in C++, using DirectX 11. This is absolutely the first time I have attempted to write a game using only a graphics API. I have been following the tutorials on the website Rastertek.com up to Tutorial 9 for ambient lighting.

            After implementing movement and collisions for the player, I increased the size of my play area. This is when I noticed my issue: the textures I am using for the walls and floor of my play area are not being rendered the way I expected them to.

            Wall from close up

            Wall from far away

            Maybe you can tell how the lines on the wall appear strangely broken up - I was expecting them to be rendered properly at larger distances (like they are close up).

            The thing that seems most weird to me, though, is that the lines can be rendered from far away, but only while moving the camera around the scene and only on certain parts of the wall. Standing still breaks the texture again. I tried capturing this effect on video, but I had no success getting it to show up in the video I took with the GeForce Experience.

            I tried playing around with a bunch of the settings that DirectX offers, like the rasterizer or the depth buffer descriptions, I tried to enable and disable VSync, Antialiasing and Multisampling, I tried using Anisotropic filtering instead of linear filtering... But none of it had any effect.

            I do not know where to look and what to try next. Am I just going to have to accept that my textures will look terrible at any sort of distance?

            ...

            ANSWER

            Answered 2020-Dec-15 at 18:54

            You need to generate mip maps for the texture you load. Check the DDSTextureLoader.h/cpp and WICTextureLoader.h/cpp here.

            For example, to load the .dds image with mip maps, you would use:

            Source https://stackoverflow.com/questions/65305907

            QUESTION

            How does D3D11 render pixels with an alpha value of 0 in the texture as transparent?
            Asked 2020-Nov-11 at 06:46
            • I used DrawIconEx (GDI/D3D11 interoperability and CopyResource) to generate an ID3D11Texture2D which has many pixels with an alpha channel value of 0. this texture has been verified by D3D11_USAGE_STAGING/Map to view the pixel value and ScreenGrab save png (relevant code needs to be modified: DXGI_FORMAT_B8G8R8A8_UNORM->Use GUID_WICPixelFormat32bppBGRA instead of GUID_WICPixelFormat24bppBGR).

            • When I use the rendering texture method of Tutorial 5: Texturing, the alpha value of 0 pixels will be rendered as black, which is not what i want, I hope these pixels render to be transparent. What will be done to achieve the goal? Here is my relevant code:

              ...

            ANSWER

            Answered 2020-Nov-11 at 06:46

            The problem has been solved: Perform the OMGetBlendState(_blend_state... setting before rendering the "alpha" texture, and restore the default blendstate after rendered

            Source https://stackoverflow.com/questions/64632525

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install RasterTek

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/matt77hias/RasterTek.git

          • CLI

            gh repo clone matt77hias/RasterTek

          • sshUrl

            git@github.com:matt77hias/RasterTek.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular SDK Libraries

            WeiXinMPSDK

            by JeffreySu

            operator-sdk

            by operator-framework

            mobile

            by golang

            Try Top Libraries by matt77hias

            MAGE-v0

            by matt77hiasC++

            MAGE

            by matt77hiasC++

            GPURayTraversal

            by matt77hiasC++

            Gwent

            by matt77hiasPython

            Hieroglyph-v3

            by matt77hiasC++