Mar 6th, 2006, 12:40 AM
#1
Mar 6th, 2006, 09:39 AM
#2
Re: SeeThrough objects [VB6]
Show me the code. It seems alphablending has been enabled.
Mar 7th, 2006, 06:28 AM
#3
Re: SeeThrough objects [VB6]
Heres a simple version of my overcomplicated project
Also For some reason i seem to have stuffed up the way that box is show so it tends to change shape.
[Edit]Fixed the weird box thing - comment out
VB Code:
Direct3D_Device.SetRenderState D3DRS_SRCBLEND, D3DBLEND_SRCALPHA
Attached Files
Last edited by Andrew G; Mar 7th, 2006 at 06:36 AM .
Mar 7th, 2006, 09:37 AM
#4
Re: SeeThrough objects [VB6]
Set this line to false:
VB Code:
Direct3D_Device.SetRenderState D3DRS_ALPHABLENDENABLE, [b]True[/b]
Mar 7th, 2006, 07:06 PM
#5
Re: SeeThrough objects [VB6]
Nope didn't work
Mar 12th, 2006, 01:18 AM
#6
PowerPoster
Re: SeeThrough objects [VB6]
Um.. what do you except when not enabling the Z-buffer?
'Init
Direct3D_Window.EnableAutoDepthStencil = 1
'Clear
Direct3D_Device.Clear 0, ByVal 0, D3DCLEAR_TARGET Or D3DCLEAR_ZBUFFER, D3DColorRGBA(0, 0, 0, 0), 1, 0
Mar 13th, 2006, 02:49 AM
#7
Re: SeeThrough objects [VB6]
Thanks so much, it worked
Last edited by Andrew G; Mar 15th, 2006 at 01:50 AM .
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width