Skip to content

Commit 99af71c

Browse files
Added description section
1 parent 96eea1a commit 99af71c

File tree

3 files changed

+120
-6
lines changed

3 files changed

+120
-6
lines changed

build_artifacts.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030

3131
"Atmosphere",
3232
"ImguiDemo",
33-
"Shadows"
33+
"Shadows",
34+
"GLTFViewer"
3435
]
3536

3637
def extract_repoitory_name(repository_url):

template/index.html

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,43 @@
2323
<nav>
2424
<h2>Categories</h2>
2525
<ul>
26+
<li><a href="#diligent-engine">Description</a></li>
2627
<li><a href="#tutorials">Tutorials</a></li>
2728
<li><a href="#samples">Samples</a></li>
2829
<li><a href="#known-issues">Known issues</a></li>
2930
</ul>
3031
</nav>
3132

3233
<div class="content">
34+
<section id="diligent-engine">
35+
<div class="engine-header">
36+
<h1>Diligent Engine</h1>
37+
<img src="images/header/diligentgraphics-logo.png" height="64" alt="Diligent Graphics Logo">
38+
</div>
39+
40+
<p class="description">
41+
<a href="http://diligentgraphics.com/diligent-engine/" target="_blank">
42+
Diligent Engine</a> is a lightweight cross-platform graphics API abstraction library and rendering framework.
43+
It is designed to take full advantage of Direct3D12, Vulkan, Metal, and WebGPU, while supporting older platforms via Direct3D11, OpenGL, OpenGLES, and WebGL.
44+
Diligent Engine exposes a common front-end API and uses HLSL as a universal shading language on all platforms and rendering back-ends.
45+
Platform-specific shader representations (GLSL, MSL, DX bytecode, or SPIRV) can be used with corresponding back-ends.
46+
The engine is intended to be used as a graphics subsystem in a game engine or any other 3D application.
47+
It is distributed under the <a href="https://github.com/DiligentGraphics/DiligentEngine/blob/master/License.txt" target="_blank">Apache 2.0 license</a> and is free to use.
48+
</p>
49+
50+
<div class="badges">
51+
<a href="https://github.com/DiligentGraphics/DiligentEngine/blob/master/License.txt" target="_blank">
52+
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License">
53+
</a>
54+
<a href="https://discord.gg/t7HGBK7" target="_blank">
55+
<img src="https://img.shields.io/discord/730091778081947680?logo=discord" alt="Chat on Discord">
56+
</a>
57+
<a href="https://github.com/DiligentGraphics/DiligentEngine/actions/" target="_blank">
58+
<img src="https://img.shields.io/github/actions/workflow/status/DiligentGraphics/DiligentEngine/build-emscripten.yml?branch=master&label=Build%20Status">
59+
</a>
60+
</div>
61+
</section>
62+
3363
<div class="search-bar">
3464
<input type="text" placeholder="Search Example">
3565
<span class="search-icon"></span>
@@ -49,11 +79,7 @@ <h2>Samples</h2>
4979
<section id="known-issues">
5080
<h2>Known issues</h2>
5181
<ul>
52-
<li>14 - Compute Shader tutorial doesn't work on WebGL.</li>
5382
<li>18 - Queries tutorial doesn't work on WebGPU.</li>
54-
<li>19 - Render Passes tutorial doesn't work on WebGL.</li>
55-
<li>Atmosphere sample doesn't work on WebGL.</li>
56-
<li>Shadows sample has artifacts on WebGL.</li>
5783
</ul>
5884
</section>
5985
</div>

template/styles.css

Lines changed: 88 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ header {
5858

5959
nav {
6060
width: 250px;
61+
min-width: 200px;
6162
background-color: rgba(0, 0, 0, 0.4);
62-
padding: 10px 20px;
63+
padding: 10px 20px;
6364
border-radius: 8px;
6465
margin-right: 20px;
6566
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
@@ -68,6 +69,7 @@ nav {
6869
height: fit-content;
6970
max-height: calc(100vh - 40px);
7071
overflow-y: auto;
72+
flex-shrink: 0;
7173
}
7274

7375
nav h2 {
@@ -234,6 +236,10 @@ nav ul li a:hover {
234236
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
235237
}
236238

239+
section {
240+
scroll-margin-top: 100px;
241+
}
242+
237243
#known-issues {
238244
margin-top: 40px;
239245
padding: 30px;
@@ -258,9 +264,90 @@ nav ul li a:hover {
258264
margin-bottom: 10px;
259265
}
260266

267+
#diligent-engine {
268+
padding: 25px 30px;
269+
background-color: rgba(0, 0, 0, 0.4);
270+
border-radius: 12px;
271+
margin-bottom: 30px;
272+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
273+
color: #ffffff;
274+
line-height: 1.5;
275+
transition: transform 0.3s ease, box-shadow 0.3s ease;
276+
}
277+
278+
.engine-header {
279+
display: flex;
280+
align-items: center;
281+
justify-content: space-between;
282+
margin-bottom: 15px;
283+
border-bottom: 2px solid rgba(255, 255, 255, 0.3);
284+
padding-bottom: 15px;
285+
}
286+
287+
.engine-header h1 {
288+
font-size: 28px;
289+
margin: 0;
290+
color: #f5f5f5;
291+
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
292+
}
293+
294+
.engine-header img {
295+
margin-left: 20px;
296+
transition: transform 0.3s ease, opacity 0.3s ease;
297+
}
298+
299+
.engine-header img:hover {
300+
transform: scale(1.1);
301+
opacity: 0.9;
302+
}
303+
304+
.tagline {
305+
font-size: 20px;
306+
color: #d1d1d1;
307+
margin-top: 15px;
308+
text-align: center;
309+
font-weight: bold;
310+
}
311+
312+
.badges {
313+
display: flex;
314+
gap: 8px;
315+
flex-direction: row-reverse;
316+
}
317+
318+
.badges img {
319+
height: 20px;
320+
transition: transform 0.3s ease, filter 0.3s ease;
321+
}
322+
323+
.badges img:hover {
324+
transform: scale(1.05);
325+
filter: brightness(1.1);
326+
}
327+
328+
.description {
329+
font-size: 16px;
330+
color: #e0e0e0;
331+
text-align: justify;
332+
margin-top: 20px;
333+
}
334+
335+
.description a {
336+
color: #1abc9c;
337+
text-decoration: none;
338+
font-weight: bold;
339+
transition: color 0.3s ease, text-shadow 0.3s ease;
340+
}
341+
342+
.description a:hover {
343+
color: #16a085;
344+
text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
345+
}
346+
261347
@media (max-width: 768px) {
262348
.container {
263349
flex-direction: column;
350+
align-items: stretch;
264351
}
265352

266353
nav {

0 commit comments

Comments
 (0)