Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 24 Apr 2013
Offline Last Active Jun 21 2014 09:29 AM

Topics I've Started

How to create a constant buffer with custom data structures

14 December 2013 - 04:31 PM

Hi I've been trying to implement my own math library for use with DirectX11 and I've run into trouble creating the constant buffer.

My data to be sent to the constant buffer looks like this

struct cbPerObject
BOOL hasNormMap;
BOOL isInstance;
MATRIX is one of my custom data types and looks like this

struct MATRIX
float _a1, _a2, _a3, _a4;
float _b1, _b2, _b3, _b4;
float _c1, _c2, _c3, _c4;
float _d1, _d2, _d3, _d4;

(I've left out all the functions MATRIX contains just to keep the post simple)
And when I try to create the constant buffer I keep getting an invalid parameter passed error, if anyone knows a work around for it would be great  thanks

How do i implement linear interpolation

12 May 2013 - 02:04 PM



Does anybody know how to properly implement linear interpolation for skeletal animation i just cant seem to get it to work

Ive been getting some very interesting results when ive tried different ways eg model exploding apart when the animations starts, random translations and rotations happening

If anybody wants to see any of the codes from my attempts at it just ask smile.png


Any help would be greatly appreciated.

Should i playback animations by time past or by frames past

08 May 2013 - 08:30 AM



I recently got my simple game engine to load animations correctly and i was wondering should i playback animations by time past or by frames past 


I am using skeletal animation btw


Thanks smile.png



Collada skeletal animation help

24 April 2013 - 09:37 AM



I have recently been building a very very simple game engine for myself and i have run into alot of trouble trying to implement animation

What i have been doing so far is converting from collada into my own file format and have been able to load static meshes.

But i cant seem to understand how to load skeleton animations 

I have read the following tutorials but cant seem to think of how to implement it my way

if anyone know how to explain it i would greatly appreciate it.


Thanks smile.png