Results 1 to 14 of 14
  1. #1
    mastermods's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    108
    Reputation
    9
    Thanks
    42
    My Mood
    Chatty

    D3D Transparent?

    How would I make a transparent menu? So like 50%.

  2. #2
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,102
    Reputation
    16
    Thanks
    649
    My Mood
    Cold
    Use FillRGBA with alpha instead of XRGB

  3. The Following User Says Thank You to Mr.Magicman For This Useful Post:

    mastermods (08-22-2010)

  4. #3
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Use DrawPrimitiveUP.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  5. The Following 2 Users Say Thank You to whatup777 For This Useful Post:

    mastermods (08-22-2010),topblast (08-23-2010)

  6. #4
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Enjoy
    Code:
    struct Vertex 
    	{
    		float x,y,z,ht;
    		DWORD yourcolor;
    	}
    	
    	V[4] = 
    	{
    		{(float)x,(float)(y+h), 0.0f, 0.0f, yourcolor},
    		{(float)x,(float)y, 0.0f, 0.0f, yourcolor},
    		{(float)(x+w),(float)(y+h), 0.0f, 0.0f, yourcolor},
    		{(float)(x+w),(float)y, 0.0f, 0.0f, yourcolor}
    	};
    
    	
    	pDevice->SetTexture(0, NULL);
    	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
    	pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Vertex));
    Dont ban me

  7. The Following 2 Users Say Thank You to markoj For This Useful Post:

    mastermods (08-22-2010),tempta43 (08-22-2010)

  8. #5
    mastermods's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    108
    Reputation
    9
    Thanks
    42
    My Mood
    Chatty
    thanks everyone!

  9. #6
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    lol, for me the box is first transpaent, and by loginscrren is there no box xD

  10. #7
    dugindog's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Posts
    210
    Reputation
    7
    Thanks
    20
    My Mood
    Twisted
    thanks man

  11. #8
    ppl2pass's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Posts
    804
    Reputation
    5
    Thanks
    111
    My Mood
    Amused
    Quote Originally Posted by markoj View Post
    Enjoy
    Code:
    struct Vertex 
    	{
    		float x,y,z,ht;
    		DWORD yourcolor;
    	}
    	
    	V[4] = 
    	{
    		{(float)x,(float)(y+h), 0.0f, 0.0f, yourcolor},
    		{(float)x,(float)y, 0.0f, 0.0f, yourcolor},
    		{(float)(x+w),(float)(y+h), 0.0f, 0.0f, yourcolor},
    		{(float)(x+w),(float)y, 0.0f, 0.0f, yourcolor}
    	};
    
    	
    	pDevice->SetTexture(0, NULL);
    	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
    	pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Vertex));
    too bad you cant hook dip..

  12. The Following User Says Thank You to ppl2pass For This Useful Post:

    topblast (08-23-2010)

  13. #9
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    Quote Originally Posted by ppl2pass View Post
    too bad you cant hook dip..

    Yesh you can >.> works for me..

  14. #10
    whatup777's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    CA Source Code Section
    Posts
    4,025
    Reputation
    147
    Thanks
    351
    My Mood
    Dead
    Quote Originally Posted by Stephen View Post



    Yesh you can >.> works for me..
    hook.
    Quotes I live by.


    A foolish person learns from his mistakes, I wise person learns from others.
    Quote Originally Posted by AVGN View Post



    mhm

    i live in texas

    i was at the grocery store with my son. He saw a mexican guy, and he said "Look daddy! a mower man!"

    he's 4 yrs old

  15. #11
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    nty. XD MY HOOK D:

  16. #12
    jackiechanq's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    My Mood
    Bitchy
    like everyone is giving different answers witch ones acually wokr.. ??

  17. #13
    Synns's Avatar
    Join Date
    May 2007
    Gender
    male
    Posts
    5,174
    Reputation
    170
    Thanks
    2,557
    My Mood
    Bitchy
    Quote Originally Posted by ppl2pass View Post
    too bad you cant hook dip..
    DrawPrimitiveUP != DrawIndexedPrimitive ?

    o_O

  18. #14
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    Quote Originally Posted by ppl2pass View Post
    too bad you cant hook dip..
    This dont have anything to do with DIP -.-
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

Similar Threads

  1. New D3D Hack has been released!
    By Dave84311 in forum Hack/Release News
    Replies: 23
    Last Post: 05-29-2009, 08:02 AM
  2. WR D3D Hook - =o - 03/22/07
    By Dave84311 in forum Hack/Release News
    Replies: 14
    Last Post: 10-06-2007, 09:59 AM
  3. D3D hooking tutorial 5 i think
    By llvengancell in forum WarRock - International Hacks
    Replies: 7
    Last Post: 06-26-2007, 03:09 PM
  4. D3D Hack (Old)
    By PBFUCKER in forum WarRock - International Hacks
    Replies: 10
    Last Post: 06-09-2007, 09:00 AM
  5. [Help] D3D
    By SpiderByte in forum WarRock - International Hacks
    Replies: 7
    Last Post: 01-18-2006, 09:13 PM