Jump to content

  • Log In with Google      Sign In   
  • Create Account


CptBonex

Member Since 18 May 2012
Offline Last Active Sep 14 2013 06:40 AM
-----

Posts I've Made

In Topic: xna dead. now what?

15 April 2013 - 05:52 AM

When i found out that XNA was no longer supposed to be updated I started looking around for alternatives. After months of searching I tested Unity3D and I must say that that is the best software I have ever played with. Its not XNA like but if you used XNA because of its simplicity I strongly recommend Unity. And Microsoft have announced that they will be supporting unity and unity will be able to make metro apps with xbox live. So basically Unity is going to be the replacement for XNA.


In Topic: GS Geometry from texture?

05 June 2012 - 05:18 AM

Well actually my terrain is dynamic and it is and made to change each frame. Right now every chunk is stored in byte files and loaded on the go as i need them. But I thought that creating it from a texture could help me to get the right light without doing calculations on the cpu or doing multiple passes as the light is depending on the terrain cells neibours.

In Topic: DirectX9 Hardware Instancing. Draws only one instance?

19 May 2012 - 07:34 AM

Yes it worked!!! Thank you guys so mutch!

I did this:
static class Constants
    {
	    public const int D3DSTREAMSOURCE_INDEXEDDATA = (1 << 30);
	    public const int D3DSTREAMSOURCE_INSTANCEDATA = (2<<30);
    }

and used them like this:
_device.SetStreamSourceFrequency(0, Constants.D3DSTREAMSOURCE_INDEXEDDATA | _instanceCount);
		    _device.SetStreamSourceFrequency(1, Constants.D3DSTREAMSOURCE_INSTANCEDATA | 1);

In Topic: DirectX9 Hardware Instancing. Draws only one instance?

19 May 2012 - 06:56 AM

I have done Instancing in xna and I dont remember using them and I have seen a few examples where those are used but I cant access them.

In Topic: DirectX9 Hardware Instancing. Draws only one instance?

19 May 2012 - 03:18 AM

David w: I don't really have the need of a matrix because there is no scaling and rotation done to the model. I only want to place it on different coordinates and thats why I only input a vector3.

kauna: Well my program does not recognise D3DSTREAMSOURCE_INDEXDATA or D3DSTREAMSOURCE_INSTANCEDATA. What reference and using do I need for this?

PARTNERS