Skip to content

Instantly share code, notes, and snippets.

View trentpolack's full-sized avatar

Trent Polack trentpolack

View GitHub Profile
@trentpolack
trentpolack / InitializerSharedPtr.cpp
Last active November 11, 2017 07:55
Construction/Allocation-Time std::shared_ptr Initialization (for the case where your class doesn't have constructors with an empty argument list)
class InitializerSharedPtr
{
protected:
struct PrivateStruct
{
explicit PrivateStruct( int Irrelevant )
{ }
};
public:

#Quixel Megascans Scripting Reference ###Updated: Aug 19th, 2016

The Megascans Bridge allows the user to send assets from the Bridge to external applications. The Bridge currently supports the following tools:

  • 3DS Max
  • Marmoset Toolbag 2
  • Unity 3d
  • Unreal Engine 4

#Quixel Megascans Bridge API ####Updated: Aug 19th, 2016

We have developed an API to fetch information from the Bridge. The following is an initial list of endpoints any software will be able to retrieve information from.

  • Megascans repository path
  • Zip folder paths
  • Get all assets (folder and json path)
  • Get selected assets (folder and json path)
  • Search results (folder and json path) against a string
@trentpolack
trentpolack / particle-swarm-webgl-geometry-buffers-gpu-noise.markdown
Last active July 22, 2017 22:10
Particle Swarm (WebGL + Geometry Buffers + GPU Noise)

Particle Swarm (WebGL + Geometry Buffers + GPU Noise)

Just a whole bunch of particles being rendered through geometry buffers (and modified on the GPU); also working on some better GPU-accelerated noise.

hugs, trent

A Pen by Trent Polack on CodePen.

License.