Skip to content

Instantly share code, notes, and snippets.

View JSandusky's full-sized avatar

Jonathan Sandusky JSandusky

  • Ohio, United States
View GitHub Profile
@JSandusky
JSandusky / Notes.md
Last active July 11, 2020 03:19
Urho3D OpenVR

Stuff you have to fix to use it

  • I only scanned the first language in reading the JSON action manifest for names
    • you probably want all the names keyed on language
  • You probably need to remove the singlePass (not the same as singleTexture) code from it
  • Add SetElements to VertexBuffer, just set the elements and then call UpdateOffsets()
@JSandusky
JSandusky / TileCache.cpp
Created October 29, 2020 03:02
Shadowmap Caching
//****************************************************************************
//
// File: LightShadow.cpp
// License: MIT
// Project: GLVU
//
//****************************************************************************
#include "LightShadow.h"
@JSandusky
JSandusky / LightShadow.cpp
Last active June 27, 2022 21:44
ShadowAtlas / Clustering file
//****************************************************************************
//
// File: LightShadow.cpp
// License: MIT
// Project: GLVU
//
//****************************************************************************
#include "LightShadow.h"
@JSandusky
JSandusky / SpeechEvents.h
Created December 31, 2024 02:00
Urho3D speech recognition via pocketsphinx
#pragma once
#include "../Core/Object.h"
namespace Urho3D
{
/// Sound playback finished. Sent through the SoundSource's Node.
URHO3D_EVENT(E_SPEECHRESULT, SpeechResult)
{
@JSandusky
JSandusky / JiggleBone.cpp
Created March 10, 2025 21:32
Urho3D JiggleBone
#include "../Precompiled.h"
#include "../Physics/JiggleBone.h"
#include "../Core/Context.h"
#include "../Graphics/DebugRenderer.h"
#include "../Scene/Node.h"
/*
Port of http://wiki.unity3d.com/index.php?title=JiggleBone
to Urho3D
https://www.microcenter.com/site/content/custom-pc-builder.aspx?load=774c7446-4192-4c79-bfdf-8d17dccf46d1