A real-time DirectX 11 renderer. The renderer is named by my girlfriend's english name.

Related tags

Graphics Sophia
Overview

sophia

Sophia is a real-time DirectX 11 renderer. It is not quite a rich graphics engine, only packages some low-level DirectX functions and contains some useful tools. But it is enough to implement some Real-Time algorithms more efficiently.

Demo

Atmosperic

Real-time atmosperic simulation based on Accurate Atmospheric Scattering and Simulating the Colors of the Sky.

See more explain in my blog Atmosperical simulation

Outside the earth

outside1

Inside the earth

inside

PBR Based on IBL

Precomputed LUT according to Real Shading in Unreal Engine 4

See more explain in my blog PBR based on IBl

Specular map used as mipmap up to 8 levels

specularMap

Split the sum of the BRDF LUT and diffuse irradiance map

precomputed

Spheres with IBL

IBL

How to use

Only supported Visuio Studio 2015(Please tell me if it compatible with others). Contains all thirdparty no need other dependencies.

Thirdparty

  1. imGui
  2. lodepng
  3. stb_image
  4. tinyexr
  5. t3Math
  6. t3DataStructures

Author

const char* 官某某 = "Bingo";

std::string 个人博客 = "http://bentleyblanks.github.io";
Issues
  • earthImage/HeighMap doesn't work?

    earthImage/HeighMap doesn't work?

    is earthImage and earthHeighMap outdated in test/atmospheric.h? Loading them doesn't work on globe skin. Also can you provide the images you used like EarthDayTime8k.png? Thanks :)

    opened by e-erdal 1
  • Build errors

    Build errors

    // Test
    //#include "minecraft.h"
    //#include "atmospheric.h"
    //#include "earth.h"
    //#include "pbrLighting.h"
    //#include "commonShader.h"
    //#include "precomputedMap.h"
    #include "skybox.h"
    //#include "ssao.h"
    //#include "mesh.h"
    
    // Reborn
    //#include "cloud.h"
    
    Severity	Code	Description	Project	File	Line	Suppression State
    Error	C2039	'getShaderResouceView': is not a member of 's3ImageDecoder'	SophiaTest	c:\sandbox\sophia-master\test\skybox.h	67	
    Error (active)	E0135	class "s3ImageDecoder" has no member "getShaderResouceView"	SophiaTest	C:\Sandbox\\Sophia-master\test\skybox.h	67	
    Error (active)	E0135	class "s3ImageDecoder" has no member "getSamplerState"	SophiaTest	C:\Sandbox\Sophia-master\test\skybox.h	68	
    Error (active)	E0415	no suitable constructor exists to convert from "ID3D11Device *" to "std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>"	SophiaTest	C:\Sandbox\Sophia-master\test\skybox.h	134	
    Error (active)	E0140	too many arguments in function call	SophiaTest	C:\Sandbox\Sophia-master\test\skybox.h	134	
    Error (active)	E0304	no instance of overloaded function "s3ImageDecoder::load" matches the argument list	SophiaTest	C:\Sandbox\Sophia-master\test\skybox.h	185	
    Error	C2039	'getSamplerState': is not a member of 's3ImageDecoder'	SophiaTest	c:\sandbox\sophia-master\test\skybox.h	68	
    Error	C2660	's3Shader::load': function does not take 3 arguments	SophiaTest	c:\sandbox\sophia-master\test\skybox.h	134	
    Error	C2661	's3ImageDecoder::load': no overloaded function takes 2 arguments	SophiaTest	c:\sandbox\sophia-master\test\skybox.h	185	
    
    
    opened by shujaatak 2
Owner
BB
Compter Graphics, Game Developer
BB
The DirectX Shader Compiler project includes a compiler and related tools used to compile High-Level Shader Language (HLSL) programs into DirectX Intermediate Language (DXIL) representation

DirectX Shader Compiler The DirectX Shader Compiler project includes a compiler and related tools used to compile High-Level Shader Language (HLSL) pr

Microsoft 2.3k Aug 7, 2022
A toy renderer written in C using Vulkan to perform real-time ray tracing research.

This is a toy renderer written in C using Vulkan. It is intentionally minimalist. It has been developed and used for the papers "BRDF Importance Sampl

Christoph Peters 261 Jul 24, 2022
Overlay Microsoft Flight Simulator (FS2020) aircraft data onto real airport charts in real-time

FLIGHTSIM CHARTS Introduction Overlay Microsoft Flight Simulator (FS2020) aircraft data onto real airport charts in real-time. Instantly teleport to a

Scott Vincent 3 May 31, 2022
A C++/DirectX 11 implementation of "A Scalable and Production Ready Sky and Atmosphere Rendering Technique"

Atmosphere Renderer A C++/DirectX 11 implementation of "A Scalable and Production Ready Sky and Atmosphere Rendering Technique" Features interactive e

Z Guan 29 Jun 23, 2022
✖🌱 A DirectX 12 starter repo that you could use to get the ball rolling.

DirectX 12 Seed A DirectX 12 repo you can use to get started with your own renderer. Setup First install: Git CMake Visual Studio Then type the follow

Alain Galvan 64 Jul 28, 2022
This repo contains the DirectX Graphics samples that demonstrate how to build graphics intensive applications on Windows.

DirectX-Graphics-Samples This repo contains the DirectX 12 Graphics samples that demonstrate how to build graphics intensive applications for Windows

Microsoft 4.6k Jul 28, 2022
DirectX 11 and 12 library that provides a scalable and GCN-optimized solution for deferred shadow filtering

AMD ShadowFX The ShadowFX library provides a scalable and GCN-optimized solution for deferred shadow filtering. Currently the library supports uniform

GPUOpen Effects 165 Jul 13, 2022
Playground for DirectX 11 / 12 simple graphics demo examples ...

graphicsdemoskeleton Playground for DirectX 11 / 12 simple graphics demo examples ... If anyone from Microsoft reads this: C99 support is broken in Di

Wolfgang Engel 46 Jan 13, 2022
DirectX shader bytecode cross compiler

HLSLcc DirectX shader bytecode cross compiler. Originally based on https://github.com/James-Jones/HLSLCrossCompiler. This library takes DirectX byteco

Unity Technologies 709 Aug 4, 2022
Modern C++14 library for the development of real-time graphical applications

CI Community Support bs::framework is a C++ library that aims to provide a unified foundation for the development of real-time graphical applications,

null 1.7k Jul 29, 2022
Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities

Raul Mur-Artal 7.4k Aug 1, 2022
A minimalist library with basic facilities for developing interactive real-time 3D applications, with a strong emphasis on simplicity and ease of use.

SlimEngine A minimalist and platform-agnostic base project for interactive graphical applications (2D/3D) with a strong emphasis on simplicity, ease o

Arnon Marcus 67 Jul 27, 2022
Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

Bullet Physics SDK 9.5k Jul 27, 2022
A personal project that uses DX12 to implement various render techniques to ultimately create breathtaking real-time visuals

D3D12Playground (Real Time) A personal project that uses DX12 to implement various render techniques to ultimately create breathtaking real-time visua

null 3 Apr 27, 2022
Kimera is a C++ library for real-time metric-semantic simultaneous localization and mapping

Kimera is a C++ library for real-time metric-semantic simultaneous localization and mapping, which uses camera images and inertial data to build a semantically annotated 3D mesh of the environment. Kimera is modular, ROS-enabled, and runs on a CPU.

null 1.2k Aug 4, 2022
Source Code for "Ray Tracing Gems: High-Quality and Real-Time Rendering with DXR and Other APIs" by Eric Haines and Tomas Akenine-Möller

Apress Source Code This repository accompanies Ray Tracing Gems: High-Quality and Real-Time Rendering with DXR and Other APIs by Eric Haines and Tomas

Apress 823 Aug 2, 2022
A sample app that demonstrates several techniques for rendering real-time shadow maps

Shadows This is a D3D11 sample app that demonstrates several techniques for rendering real-time shadow maps. The following techniques are implemented:

MJP 519 Jul 26, 2022
physically based renderer written in DX12 with image-based lighting, classic deffered and tiled lighting approaches

Features Classical Deferred Renderer Physically Based shading Image Based Lighting BRDF Disney model (Burley + GGX) Tangent space normal mapping Reinh

Alena 35 Jun 2, 2022
2D GPU renderer for dynamic UIs

vger vger is a vector graphics renderer which renders a limited set of primitives, but does so almost entirely on the GPU. Works on iOS and macOS. API

Audulus LLC 121 Jul 29, 2022