Skip to content

DU-GAN/OpenDirectXGraphicEngine

Repository files navigation

OpenDirectXGraphicEngine

Give me a window and give you a world.

ODGE Information

  • Don't forget to press "E" to open the UI control panel after running.
  • If you want to import a model, please ensure that its texture file has a dds replacement format. For example, if the model has a texture of Texture/baseColor1. png, the engine will search for Texture/baseColor1. dds. Kind reminder, the resource directory contains the Microsoft texconv tool and instructions for use.
  • We used third-party libraries Assimp and Dear IMGUI.
  • If you want to understand its implementation, you can refer to the "Overview of Graphics Engine Implementation" PPT file.

Using this engine, you can achieve the following rendering effects

The following models can be found in the published resources. The model name of Example 1 is "modern_city_block", Example 2 is "spartan_armour_mkv_ - _halo_reach", Example 3 is "reap_the_whirlwind". The textures of the models in the published resources all have corresponding. dds format maps, which means you can directly read them and render the following effects on your machine.

Example 1: City model rendered with materials

Use material preview mode to render the city model and compare the rendering results of Blender and OpenDirectX GraphicEngine. image image

Example 2: A mecha model for lighting rendering

Use lighting mode to render the mecha model in a standing animation, in order to compare the realism of Blender and OpenDirectX GraphicEngine rendering PBR models. image image

Example 3: Machine model for lighting rendering

The use of lighting mode to render machine models in heavily attacked animations was compared in terms of rendering performance and quality between Blender and OpenDirectX GraphicEngine. ODGE's support for wireframe mode, material rendering, and solid rendering was also demonstrated. image image image image image

Example 4: Multi animation file separation model for lighting rendering

The above models are all in the network universal model format GLTF. We are currently testing an FBX format model with bones, which does not come with animations. I have generated multiple animation files for it on the Mixamo website. After importing the model into ODGE, I tested loading multiple animations onto the model and successfully rendering and playing them.
image
Play dance animation.
image
Play cool animation.
image
Play street dance animation.
image
Play whirlwind leg animation.
image
Play hook fist animation.
image

About

Give me a window and give you a world.

Resources

License

Stars

Watchers

Forks

Packages

No packages published