Daniel Biesiada
2007-07-10 13:46:13 UTC
Hello,
I must say I'm not good in DX but in my spare time I wanted to play a little
bit with its managed incarnation.
Maybe I'm not smart enough but I find real difficulty not with the
technology itself but lack of good documentation which would step by step
introduce some advanced tricks and framework's behaviour.
Currently I see below two difficulties:
1) 2d Stuff (3d I think also can matter later in this issue)
I don't know how to make such an effect that I have a texture with inregular
shape and and a single shape I could use as colorkey for transparency.
I'd like to render such a texture as a 2d sprite with that key color being
transparent and the rest with % transparency to the back surface prior to
rendering.
Can you help?
Is there any indicator why no 3d object is rendered Sprite.Draw2D() renders
nothing? I just found such a ridiculous behaviour and cannot get a clue why
it'd happen. :)
2) 3D stuff
I'm looking for a nice Pixel/Vertex shader HLSL tutorial which could explain
me logically step by step about the elements inside the code.
I've managed some basics of Pixel Shader from SDK examples but still I'm not
sure about certain things.
If you can recommend me some good online resources I'd be glad (I searched
some but I'm not satisfied).
If not can anybody tell me if ShaderX series of books are good as a
complementary resource?
best regards,
db
I must say I'm not good in DX but in my spare time I wanted to play a little
bit with its managed incarnation.
Maybe I'm not smart enough but I find real difficulty not with the
technology itself but lack of good documentation which would step by step
introduce some advanced tricks and framework's behaviour.
Currently I see below two difficulties:
1) 2d Stuff (3d I think also can matter later in this issue)
I don't know how to make such an effect that I have a texture with inregular
shape and and a single shape I could use as colorkey for transparency.
I'd like to render such a texture as a 2d sprite with that key color being
transparent and the rest with % transparency to the back surface prior to
rendering.
Can you help?
Is there any indicator why no 3d object is rendered Sprite.Draw2D() renders
nothing? I just found such a ridiculous behaviour and cannot get a clue why
it'd happen. :)
2) 3D stuff
I'm looking for a nice Pixel/Vertex shader HLSL tutorial which could explain
me logically step by step about the elements inside the code.
I've managed some basics of Pixel Shader from SDK examples but still I'm not
sure about certain things.
If you can recommend me some good online resources I'd be glad (I searched
some but I'm not satisfied).
If not can anybody tell me if ShaderX series of books are good as a
complementary resource?
best regards,
db