Click here to Skip to main content
16,004,927 members
Home / Discussions / C#
   

C#

 
GeneralRe: Waiting for a Process to end without freezing the starting app Pin
Dan Neely16-Feb-06 10:26
Dan Neely16-Feb-06 10:26 
Questioncalcalate running time Pin
zhujp9816-Feb-06 8:35
zhujp9816-Feb-06 8:35 
AnswerRe: calcalate running time Pin
CWIZO16-Feb-06 8:38
CWIZO16-Feb-06 8:38 
Questionhow to solve my problem about process injection in c# ? Pin
hdv21216-Feb-06 8:35
hdv21216-Feb-06 8:35 
AnswerRe: how to solve my problem about process injection in c# ? Pin
Dave Kreskowiak16-Feb-06 10:51
mveDave Kreskowiak16-Feb-06 10:51 
GeneralRe: how to solve my problem about process injection in c# ? Pin
Colin Angus Mackay16-Feb-06 13:15
Colin Angus Mackay16-Feb-06 13:15 
GeneralRe: how to solve my problem about process injection in c# ? Pin
Dave Kreskowiak16-Feb-06 14:14
mveDave Kreskowiak16-Feb-06 14:14 
Questiondirectx alpha blending Pin
kopi_b16-Feb-06 8:08
kopi_b16-Feb-06 8:08 
hi!

i've loaded two meshes and one of them should be 75% transparent
the other mesh moves behind that mesh.
i can see the backgroundcolor through the first mesh but i can't see the second mesh

after i created the device i set
dev.RenderState.SourceBlend = Blend.SourceAlpha;
dev.RenderState.DestinationBlend = Blend.InvSourceAlpha;
dev.RenderState.AlphaBlendEnable = false;

when i load the first mesh i enable the alphablend, draw the mesh and disable it again
if(meshMaterials[i].Ambient.A < 60)
dev.RenderState.AlphaBlendEnable = true;
mesh.DrawSubset(i);
dev.RenderState.AlphaBlendEnable = false;

what can i do to see the second mesh moving behind the first one?

thanks, kopi_b
AnswerRe: directx alpha blending Pin
kopi_b18-Feb-06 8:06
kopi_b18-Feb-06 8:06 
QuestionPacks not getting to destination... Pin
Shy Agam16-Feb-06 7:56
Shy Agam16-Feb-06 7:56 
AnswerRe: Packs not getting to destination... Pin
Le centriste16-Feb-06 10:16
Le centriste16-Feb-06 10:16 
GeneralRe: Packs not getting to destination... Pin
Shy Agam16-Feb-06 13:52
Shy Agam16-Feb-06 13:52 
GeneralRe: Packs not getting to destination... Pin
Le centriste16-Feb-06 14:02
Le centriste16-Feb-06 14:02 
GeneralRe: Packs not getting to destination... Pin
Shy Agam17-Feb-06 2:44
Shy Agam17-Feb-06 2:44 
GeneralRe: Packs not getting to destination... Pin
Le centriste17-Feb-06 3:01
Le centriste17-Feb-06 3:01 
GeneralRe: Packs not getting to destination... Pin
Shy Agam17-Feb-06 8:11
Shy Agam17-Feb-06 8:11 
GeneralRe: Packs not getting to destination... Pin
Le centriste18-Feb-06 5:42
Le centriste18-Feb-06 5:42 
GeneralRe: Packs not getting to destination... Pin
Shy Agam18-Feb-06 10:18
Shy Agam18-Feb-06 10:18 
GeneralRe: Packs not getting to destination... Pin
Shy Agam17-Feb-06 8:35
Shy Agam17-Feb-06 8:35 
QuestionWord automation Pin
Tom Wright16-Feb-06 7:47
Tom Wright16-Feb-06 7:47 
AnswerRe: Word automation Pin
Tom Wright16-Feb-06 8:53
Tom Wright16-Feb-06 8:53 
QuestionFinally Startup Edit Released Pin
Ahmad Mahmoud [candseeme]16-Feb-06 5:24
Ahmad Mahmoud [candseeme]16-Feb-06 5:24 
QuestionStream Reading & Multibyte encoding. Pin
liRetro16-Feb-06 5:16
liRetro16-Feb-06 5:16 
AnswerRe: Stream Reading & Multibyte encoding. Pin
User 665816-Feb-06 5:48
User 665816-Feb-06 5:48 
GeneralRe: Stream Reading & Multibyte encoding. Pin
liRetro16-Feb-06 8:04
liRetro16-Feb-06 8:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.