Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - JeGX

Pages: [1] 2 3 ... 61
2
Quote
In this post we’ll be looking at integrating Dear ImGui in a custom Vulkan renderer. The audience I’m targeting is beginners still struggling with Vulkan. You should however have a basic Vulkan renderer already up and running. I followed Alexander Overvoorde’s amazing tutorial myself and I will use it as an example. The code is entirely available at vulkan-tutorial (go to the bottom of the page) if you’re willing to start from there as well. The first chapters explain very carefully how to install the Vulkan SDK and deal with dependencies.

Link:
- https://frguthmann.github.io/posts/vulkan_imgui/

3
GeeXLab - english forum / Windows 10 Dark Theme Switch
« on: October 04, 2019, 12:01:28 PM »
Quote
The Windows 10 Dark Theme Switch is an utility and a demo at the same time. Utility because this small application allows to quickly enable or disable the dark theme for applications like the File Explorer, a feature introduced in Windows 10 version 1809 and higher. The dark theme can be enabled or disabled from Windows Settings, but and that’s the interesting point, it can be turned ON/OFF via the registry. And the nice thing with the registry technique, is that your version of Windows 10 doesn’t need to be activated…

Article and download link:
- https://www.geeks3d.com/hacklab/20191003/demo-windows-10-dark-theme-switch/

GeeXLab demo: Windows 10 Dark Theme Switch

4
The Vulkan Best Practice for Mobile Developers is collection of resources to help you develop optimized Vulkan applications for mobile platforms.

Links:
- https://github.com/ARM-software/vulkan_best_practice_for_mobile_developers
- https://github.com/ARM-software/vulkan_best_practice_for_mobile_developers/releases/tag/v1.2.0

Vulkan Best Practice for Mobile Developers

5
3D-Tech News Around The Web / Intel Open Volume Kernel Library
« on: October 01, 2019, 05:40:02 PM »
Quote
Intel Open Volume Kernel Library (Intel Open VKL) is a collection of high-performance volume computation kernels, developed at Intel. The target users of Open VKL are graphics application engineers who want to improve the performance of their volume rendering applications by leveraging Open VKL’s performance-optimized kernels, which include volume traversal and sampling functionality for a variety of volumetric data formats. The kernels are optimized for the latest Intel® processors with support for SSE, AVX, AVX2, and AVX-512 instructions. Open VKL is part of the Intel oneAPI Rendering Toolkit and is released under the permissive Apache 2.0 license.

Open VKL provides a C API, and also supports applications written with the Intel® SPMD Program Compiler (ISPC) by also providing an ISPC interface to the core volume algorithms. This makes it possible to write a renderer in ISPC that automatically vectorizes and leverages SSE, AVX, AVX2, and AVX-512 instructions. ISPC also supports runtime code selection, thus ISPC will select the best code path for your application.

In addition to the volume kernels, Open VKL provides tutorials and example renderers to demonstrate how to best use the Open VKL API.



Open VKL 0.7.0 (alpha)

- Initial public alpha release, with support for structured, unstructured, and AMR volumes.



Links:
- https://www.openvkl.org
- https://github.com/OpenVKL/openvkl


Intel Open Volume Kernel Library


An OpenVKL demo looks like:

Code: [Select]
#include <openvkl/openvkl.h>
#include <stdio.h>

...
...

int main()
{
  vklLoadModule("ispc_driver");

  VKLDriver driver = vklNewDriver("ispc");
  vklCommitDriver(driver);
  vklSetCurrentDriver(driver);

  int dimensions[] = {128, 128, 128};

  const int numVoxels = dimensions[0] * dimensions[1] * dimensions[2];

  VKLVolume volume = vklNewVolume("structured_regular");
  vklSetVec3i(volume, "dimensions", dimensions[0], dimensions[1], dimensions[2]);
  vklSetVec3f(volume, "gridOrigin", 0, 0, 0);
  vklSetVec3f(volume, "gridSpacing", 1, 1, 1);

  float *voxels = malloc(numVoxels * sizeof(float));

  if (!voxels) {
    printf("failed to allocate voxel memory!\n");
    return 1;
  }

  // x-grad sample volume
  for (int k = 0; k < dimensions[2]; k++)
    for (int j = 0; j < dimensions[1]; j++)
      for (int i = 0; i < dimensions[0]; i++)
        voxels[k * dimensions[0] * dimensions[1] + j * dimensions[2] + i] =
            (float)i;

  VKLData voxelData = vklNewData(numVoxels, VKL_FLOAT, voxels, 0);
  vklSetData(volume, "voxelData", voxelData);
  vklRelease(voxelData);

  vklCommit(volume);

  demoScalarAPI(volume);
  demoVectorAPI(volume);

  vklShutdown();

  free(voxels);
  return 0;}

 

7
NVIDIA has released a new graphics driver that provides increased performance and the optimal gaming experience for Tom Clancyʹs Ghost Recon Breakpoint and Asgardʹs Wrath.

This driver adds the support for the HTC VIVE Cosmos VR HMD

Fixed Issues
- [UBOAT]: The game crashes due to memory allocation issues when launching Sandbox mode from the main menu. [2694301]
- [Tom Clancyʹs The Division II]: The game may crash when played in DirectX 12 mode. [200406322]
- [Vulkan-based games]: Error message appears in the game when invoking GeForce Experience Freestyle or Ansel using the hot keys. [200549987]
- [Tradesmen OS3DE]: Some objects are missing in the game. [2691363]
- [Cinema4D]: Brushes produce a ghosting effect. [2633267] 


Downloads

- latest GeForce driver for win10 64-bit @ Geeks3D
- latest GeForce driver for win7 64-bit @ Geeks3D

- 436.30 win10 64-bit @ NVIDIA
- 436.30 win7 64-bit @ NVIDIA


This driver exposes same OpenGL 4.6 and Vulkan 1.1.109 than 436.02.

NVIDIA GeForce 436.48 + RTX 2070 + GPU Caps Viewer

8
Quote
TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML powered applications.

TensorFlow was originally developed by researchers and engineers working on the Google Brain team within Google's Machine Intelligence Research organization for the purposes of conducting machine learning and deep neural networks research. The system is general enough to be applicable in a wide variety of other domains, as well.

TensorFlow provides stable Python and C++ APIs, as well as non-guaranteed backwards compatible API for other languages.


TensorFlow 2.0 focuses on simplicity and ease of use, featuring updates like:

    Easy model building with Keras and eager execution.
    Robust model deployment in production on any platform.
    Powerful experimentation for research.
    API simplification by reducing duplication and removing deprecated endpoints.


Links:
- https://github.com/tensorflow/tensorflow/releases/tag/v2.0.0
- https://github.com/tensorflow/tensorflow
- https://www.tensorflow.org/

TensorFlow 2.0.0 Machine Learning framework


9
3D-Tech News Around The Web / Optimized SIMD Cross-Product in C++
« on: September 30, 2019, 09:13:49 PM »
Optimized SIMD routine in C++ for computing cross-products:

Quote
A cross-product is a useful operation, particularly in graphics.

3D vectors are typically stored (at least on-chip) in a hardware 4D vector register with the fourth component ignored. On typical (x86-64) desktops, this would be the SSE registers "xmmi". On typical (x86-64) desktops, this would be the SSE registers "xmmi". The simple and common implementation (such as here) then becomes:

Code: [Select]
inline __m128 cross_simple(__m128 const& x, __m128 const& y) {
    __m128 tmp0 = _mm_shuffle_ps(x,x,_MM_SHUFFLE(3,0,2,1));
    __m128 tmp1 = _mm_shuffle_ps(y,y,_MM_SHUFFLE(3,1,0,2));
    __m128 tmp2 = _mm_shuffle_ps(x,x,_MM_SHUFFLE(3,1,0,2));
    __m128 tmp3 = _mm_shuffle_ps(y,y,_MM_SHUFFLE(3,0,2,1));
    return _mm_sub_ps(
        _mm_mul_ps(tmp0,tmp1),
        _mm_mul_ps(tmp2,tmp3)
    );
}

This starts with four shuffle instructions, then two multiplies, then a subtract. Not bad, but can we do better?

Link: https://geometrian.com/programming/tutorials/cross-product/index.php

10
3D-Tech News Around The Web / bootRogue: a boot sector game (510 bytes)
« on: September 30, 2019, 05:32:06 PM »
bootRogue is a roguelike game that fits in a boot sector (510 bytes). It's compatible with 8088 (the original IBM PC).

Quote
This is bootRogue, a roguelike game that fits in 510 bytes of x86 assembler code. It can run from a floppy disk or as a MS-DOS COM file.

Walk slowly in the dark dungeons with your torch, where you can find gold, food, armor, weapons and traps, along terrible monsters.

Will you be able to make it to level 26 and find the Amulet of Yendor?

Links:
- source code and binary (.com): https://github.com/nanochess/bootRogue
- youtube video: https://www.youtube.com/watch?v=DMMr4z6kU5g


bootRogue: a boot sector game

11
Assimp (or Open Asset Import Library) is a portable open source library to import various well-known 3D model formats in a uniform manner.

The final version 5.0.0 has been released and here is the complete changelog:
https://github.com/assimp/assimp/releases/tag/v5.0.0

ASSIMP repo @ github: https://github.com/assimp/assimp


I updated GeeXLab (v0.29.3, I will release the win64 version very shortly) with Assimp 5.0. I quickly tested it in the upcoming version of MadView3D and it sounds ok!

Tested with a glTF model from sketchfab:
GeeXLab - MadView3D model viewer





12
3D-Tech News Around The Web / Strand-based Hair Rendering in Frostbite
« on: September 26, 2019, 04:58:45 PM »
Quote
Today I will be presenting the research made at Frostbite regarding strand-based hair rendering.This is a project aimed at seeing what is possible regarding hair rendering and simulation on current or near-future hardware for use in games.Keep in mind that this work is all still very much WIP and nothing presented is final.

- presentation (42-page PDF): http://advances.realtimerendering.com/s2019/hair_presentation_final.pdf
- via: http://advances.realtimerendering.com/s2019/index.htm

Strand-based Hair Rendering in Frostbite

#gamedev #siggraph2019



13
3D-Tech News Around The Web / NVIDIA Nsight Systems 2019.5
« on: September 25, 2019, 09:58:52 PM »
Quote
NVIDIA Nsight Systems 2019.5 is now available for download. This release aims to refine the user experience with CLI sessions for simultaneous usage of more commands, improved GUI timeline zooming levels of detail, enhanced Vulkan API coloring, and Linux GPU context switch trace.

Links:
- https://news.developer.nvidia.com/nvidia-announces-nsight-systems-2019-5/
- https://developer.nvidia.com/nsight-systems
- https://developer.nvidia.com/gameworksdownload#?dn=nsight-systems-2019-5

14
3D-Tech News Around The Web / UNIGINE Engine 2.9 SDK showcase video
« on: September 25, 2019, 09:45:42 PM »
Video: https://www.youtube.com/watch?v=5j7UQh6Yob4

Quote
Get a free trial of UNIGINE 2.9 SDK: https://unigine.com/en/get-unigine
Key changes in 2.9 release:
- C# Component System: simplified workflow, Editor integration, working sample.
- Improved Image Generator.
- Better Shadows: realistic penumbra, smooth edges.
- Revamped Subsurface Scattering: increased realism and flexibility.
- Better support for image warping and edge blending (multi-projection onto the curved screens).
- Improved materials and shaders customization.
- Spline Tool Updates: increased stability, smoother editing, improved rendering.
- Integration of Varjo VR-1 headset with bionic display and eye-tracking.
- Geodetics plugin for geo-coordinates conversion.

Full release notes: https://developer.unigine.com/en/devlog/20190816-unigine-2.9

15
Downloads:
- https://www.geeks3d.com/geexlab/downloads/


Release notes:
- https://www.geeks3d.com/hacklab/20190925/geexlab-0-29-2-released-for-all-platforms-alpha-to-coverage-added-fmod-and-wiringpi-support-updated/


Changelog:
Quote
Version 0.29.2.0 - 2019.09.25
+ (2019.09.25) [RaspberryPi / TinkerBoard] FMOD plugin added!
! (2019.09.25) [RaspberryPi / TinkerBoard] enabled multisampling support (GL_MULTISAMPLE).
+ (2019.09.25) [RaspberryPi] updated WiringPi with latest version 2.52 (including RPi 4 support).
! (2019.09.25) updated ImGui with latest version 1.73.
! (2019.09.25) [Windows] updated GPU Shark 0.14.1.1
+ (2019.09.24) [OpenGL renderer] added support of GL_SAMPLE_ALPHA_TO_COVERAGE and GL_SAMPLE_ALPHA_TO_ONE in gh_renderer.enable_state().
! (2019.09.24) [FMOD plugin] updated with latest FMOD Core SDK version 2.0.4 on Windows, Linux and macOS.
! (2019.09.24) [FMOD plugin] added FMOD_CREATESAMPLE to sound creation. This flag forces the decompression at loadtime, decompressing or decoding whole file into memory. It's the fastest for playback.
* (2019.09.23) fixed a bug in libs/lua/gxl.lua and libs/python/gxl_utils.py: the addressing mode was not set in set_sampler_params().


GeeXLab for Windows, Linux, macOS, Raspberry Pi and TinkerBoard


16
GeeXLab - english forum / OpenGL 3.2 demopack for GeeXLab (v2019.09-21)
« on: September 21, 2019, 03:33:19 PM »
A new demopack with OpenGL 3.2 demos is available.

Download:
- https://www.geeks3d.com/dl/show/50101


More information:
- https://www.geeks3d.com/hacklab/20190921/opengl-3-2-demopack-for-geexlab/


This first version of the demopack includes the following demo:
Quote
d01-mesh-exploder
d02-user-clip-planes
d03-normal-visualizer
d04-wireframe-shader
d05-sphere-env-mapping
d06-vertex-id
d07-shadow-mapping
d08-simple-lua-framework
d09-wide-line-geometry-shader
d10-lorenz-stange-attractor
d11-glsl-transitions
d12-texture-compression
d13-mesh-icosphere
d14-book-of-shaders
d15-loader-object-gltf
d16-mat4-transform
d17-voxelize
d18-particle-point-sprite-vs-gs-billboarded-quads
d19-interpolation-qualifiers
d20-wavy_plane
d21-nanovg
d22-geometry-instancing
d23-nvidia-physx4
d24-render-target
d25-vertexpool
d26-2d-grid-shader
d27-heightmap-normal
d28-nvidia-flex-particles
d29-postfx-triangle-blur

GeeXLab OpenGL 3.2 demopack

17
GeeXLab - english forum / OpenGL 2.1 demopack for GeeXLab (v2019.09-21)
« on: September 21, 2019, 03:31:05 PM »
A new demopack with OpenGL 2.1 demos is available.

Download:
- https://www.geeks3d.com/dl/show/50100


More information:
- https://www.geeks3d.com/hacklab/20190921/opengl-2-1-demopack-for-geexlab/


This first version of the demopack includes the following demo:
Quote
d01-triangle
d02-libfont
d03-bouncing-boxes-2d
d04-audio-fmod
d05-magickview
d06-3d-template
d07-meshes
d08-color-blending
d09-vertexpool
d10-reflection
d11-gears
d12-flow-fields
d13-drawing-letters-with-mouse
d14-countdown
d15-checkerboard
d16-electrical-arc
d17-fire-shader
d18-hashcodes
d19-loops
d20-lua-filesystem
d21-lua-python-shared-variables
d22-multiple-viewports
d23-rotation-with-quaternion
d24-line
d25-input
d26-bullet3-physics
d27-two-sided-lighthing
d28-texture
d29-imgui
d30-video-player-ffmpeg
d31-webcam
d32-hello-framework
d33-fisheye-shader
d34-surface-plots
d35-shaderlib-normal-mapping
d36-slide-show
d37-sqlite3
d38-cell-shading
d39-2d-wave
d40-2d-grid-shader
d41-imgui-lot-of-windows-gl-vs-vk

GeeXLab OpenGL 2.1 demopack

18
GeeXLab - english forum / GeeXLab 0.29.1.0 released
« on: September 20, 2019, 03:18:57 PM »
Downloads:
- https://www.geeks3d.com/geexlab/downloads/


Release notes:

- win64
  https://www.geeks3d.com/hacklab/20190920/geexlab-0-29-1-released-for-windows-64-bit/

- linux64
  https://www.geeks3d.com/hacklab/20190920/geexlab-0-29-1-released-for-linux-x64/

- Raspberry Pi:
  https://www.geeks3d.com/hacklab/20190920/geexlab-0-29-1-released-for-raspberry-pi/
 
- macOS:
  https://www.geeks3d.com/hacklab/20190920/geexlab-0-29-1-released-for-macos/

- TinkerBoard:
  https://www.geeks3d.com/hacklab/20190920/geexlab-0-29-1-released-for-tinker-board/



Changelog:
Quote
Version 0.29.1.0 - 2019.09.19
* (2019.09.19) [Vulkan plugin] fixed an issue with swapchain resize.
* (2019.09.19) [Vulkan plugin] fixed a buffer overflow (vkCmdCopyBuffer-size) in
  vertex/index buffer creation.
+ (2019.09.19) [Raspberry Pi] added SDL2/audio support in the FFmpeg plugin.
  OMX/IL is disabled.
+ (2019.09.11) added screenshot support to the Vulkan renderer (via
  do_screenshot(), do_screenshot_v{2, 3, 4, 5}() of gh_utils).
! (2019.09.11) fixed / improved gh_imgui.input_text() function.
! (2019.09.11) improved the calculation of text width in gh_font.get_text_width().
* (2019.09.11) fixed bug in do_screenshot_v4() and do_screenshot_v5() of gh_utils in Lua.
+ (2019.09.09) added support of seeking in the FFmpeg plugin.
+ (2019.09.09) FFmpeg plugin + audio is now available on TinkerOS (Tinker Board).
! (2019.09.07) the FFmpeg plugin has been updated with latest version 4.20 of FFmpeg SDK
  and latest SDL2 2.0.10 SDK (for audio).
! (2019.09.06) [RPi + X11 + GL2.1] Python 3 plugin is compiled with Python 3.7.3 libs.
* (2019.09.06) bugfix: Python 2 and Python 3 plugins: the Python plugin was stopped when
  Py_GetPythonHome() returned a NULL value. It's no longer the case
  (this bug was visible on the latest Raspbian/Buster).
! (2019.09.05) [Linux] PhysX 4 plugin: the CPU scene dispatcher is now initialized with
  the correct number of CPU threads (for example 16 with a RyZen 7 1700 CPU).
+ (2019.09.05) added several key codes in the keyboard mapping on Linux (and RPi + X11):
   KC_TAB, KC_ESCAPE, KC_RETURN, KC_DELETE, KC_INSERT, KC_HOME, KC_PGUP, KC_PGDOWN,
   KC_LSHIFT, KC_RSHIFT, KC_LCONTROL, KC_RCONTROL, KC_NUMLOCK, KC_LMENU and KC_LMENU.
* (2019.09.05) bugfix: fixed a minor initialization bug in gh_bullet3, gh_physx3
  and gh_physx4. Now get_version() works even if start() function is not called before.
! (2019.09.05) [Windows / Linux] updated ImageMagick plugin with latest version 7.0.8-63.
- (2019.09.05) ftgl plugin removed from linux version (compilation errors...).
! (2019.09.04) improved slider_1i(), slider_1f(), slider_4f(), vslider_1f(), vslider_1i(),
  color_edit_4f() and color_picker_4f() of gh_imgui lib.
* (2019.09.04) bugfix: fixed a crash in gh_sqlite3.db_exec() when an error is detected by SQLite3.
+ (2019.09.04) added pack_rgba_u8() and unpack_rgba_u8() to gh_utils.
+ (2019.09.02) added tree_node_ex() and tab_item_begin_v2() to gh_imgui.
* (2019.08.26) fixed a the title bar update in the PRO version.



19
NVIDIA has released a new graphics driver that provides increased performance and the optimal gaming experience for the Call of Duty: Modern Warfare PC Open Beta, Gears 5, and Borderlands 3.

This driver adds support for six new G-SYNC compatible monitors.

Fixed issues
- [Fortnite][CS:Go]: Eliminated cases of stutter when Ultra low latency mode was enabled. [2682105]
- [Forza Motorsport 6/7]: The game may crash during gameplay. [2686338]
- [World of Warcraft]: The game may flicker at the character-selection screen. [2684628]
- [Notebook][GeForce GTX 970M]: The GPU clock speed on some notebooks is stuck at the base clock speed and does not boost. [2683147]
- [GeForce RTX 20 series][Forza Horizon 4][Gears of War 4][Gears 5]: Colored corruption may appear on some surfaces throughout the game. [200544234]
- [Firefox][G-SYNC]: When G-SYNC is enabled, flickering occurs with YouTube full-screen video playback on FireFox when hovering over the timeline. [200544130]
- [Control][DirectX 12][Pascal GPUs]: Blue-screen crash occurs pointing to nvlddmkm.sys when in-game software Ray Tracing is enabled. [200543646]


More information can found here:
- https://www.nvidia.com/en-us/geforce/news/call-of-duty-modern-warfare-pc-beta-gears-5-borderlands-3-game-ready-driver/


Downloads

- latest GeForce driver for win10 64-bit @ Geeks3D
- latest GeForce driver for win7 64-bit @ Geeks3D

- 436.30 win10 64-bit @ NVIDIA
- 436.30 win7 64-bit @ NVIDIA


This driver exposes same OpenGL 4.6 and Vulkan 1.1.109 than 436.02.

NVIDIA GeForce 436.30 + RTX 2080 + GPU Caps Viewer

20
Quote
We made a simple game using #PixarUSD and #python scripting in Omniverse Kit. You can get python 3 bindings for the entire USD library from https://usd.nvidia.com

Links
- https://www.youtube.com/watch?v=nF_bue13vNc
- https://usd.nvidia.com



What Is Universal Scene Description?

Universal Scene Description (USD) is an easily extensible, open-source 3D scene description and file format developed by Pixar for content creation and interchange among different tools. As a result of its power and versatility, it’s being widely adopted, not only in the visual effects community, but also in architecture, design, robotics, manufacturing, and other disciplines.

Pages: [1] 2 3 ... 61