Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Madhed

Member Since 13 Jun 2001
Offline Last Active May 13 2013 12:10 PM
*****

Topics I've Started

Why do it the easy way?

25 February 2013 - 05:09 PM

Something I found in our javascript codebase

 

{
    //...
    isActive: function(active) {
        return (active ? true : false);
    }
    //...
}

 


Meteorite going down over russia

15 February 2013 - 06:39 AM

So this just happened this morning.

 

http://www.guardian.co.uk/world/2013/feb/15/hundreds-injured-meteorite-russian-city-chelyabinsk

 

I think this is the best footage I have ever seen (has ever been recorded?) of a meteor entering the atmosphere. Hooray for cheap, modern technology!

It's amazing that the shockwave was able to break windows below and even collapse the roof of a factory, considering the trajectory probably went 20km or something above the ground! EDIT: 30-50km

 

I hope the people injured recover quickly, all the best wishes to them.

 

Edit: As Milcho pointed out, that was actually a meteor. Meteorites are the ones actually hitting the ground


One vertex buffer, multiple vertex shaders

05 January 2013 - 11:56 AM

Okay, so I've finally started switching from D3D9 to D3D11.

One thing that confuses me is ID3D11Device::CreateInputLayout().

 

I have to supply my input element definition, so far so good. But it also requires the compiled vertex shader code.

What if I want to draw a mesh with different vertex shaders? Will I have to create a different input layout for each combination or can I just use one for every shader?


PARTNERS