Post

 Resources 

Console


RE: More TLVERTEX issues. PyroBoy (4 replies, 0 views) (2000-Sep-14)
-
Render state changes are as follows: D3DRENDERSTATE_SPECULARENABLE to false D3DRENDERSTATE_LOCALVIEWER to false D3DRENDERSTATE_COLORVERTEX to false (I tried turning it on again, it didn't solve the problem) D3DRENDERSTATE_SRCBLEND to D3DBLEND_SRCALPHA D3DRENDERSTATE_DESTBLEND to D3DBLEND_ONE D3DRENDERSTATE_ALPHABLENDENABLE to True D3DRENDERSTATE_NORMALIZENORMALS to True D3DTSS_MAGFILTER to D3DTFG_LINEAR D3DTSS_MINFILTER to D3DTFG_LINEAR D3DRENDERSTATE_DITHERENABLE to True D3DRENDERSTATE_COLORKEYENABLE to true Every other render state is not explicitly set, so defaults are used. I don't turn D3D's lighting off while rendering the TL vertices. I use D3DVERTEXs for all the other engine objects, this particular one I'm writing is going to be an overlay object, so it uses TL vertices. The lighting engine remains on. Should I be turning it on and off every frame to render the different types? Actually, I did test the vertex color thing earlier. Changing the color or even removing the color setting line from the vertex init has no effect on what's drawn. It's always grey. That grey color is the color I clear my render target to. I tried turning on per-vertex color, but that didn't do anything either...


-
Up One Level | Back to Forum

RE: More TLVERTEX issues. Corre (1 reply) (2000-Sep-15)
Haha! That's your solution to everything! :-) *NT* PyroBoy (0 replies) (2000-Sep-15)
RE: More TLVERTEX issues. Carl Warwick (1 reply) (2000-Sep-15)
Didn't work... PyroBoy (0 replies) (2000-Sep-15)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 131 visitors within the last 20 minutes
RSS News Feed