Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Xeno

blinking triangle in D3DIM :(

This topic is 6527 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi! i just started my new game project , and for the start i just initialized ddraw & d3dim and tried to render a rectangle with texture on him to see if everything goes well, and for my supraise it (the rectange) started to blink with the background color , its so strange it never happened to me , u can see how it looks like: its just 32KB Download it (if u cant download it with getright or program liek that download it with your own browser , in IE: right click and "save target as...") umm... can u think on the problem? what am i doing wrong? "Everything you know is wrong" - Bono Edited by - xeno on 9/2/00 7:07:10 AM Edited by - xeno on 9/2/00 8:28:37 AM

Share this post


Link to post
Share on other sites
Advertisement
Forbidden
Host: [myip] myhostname
You do not have permission to access http://vsoft.20m.com/test.zip
Data files must be stored on the same site they are linked from.

Thank you for using 20m Free Web Space™


Share this post


Link to post
Share on other sites
ok , now try to download it again , please!

download it with your own browser:
with IE: right click - and then "save target as..."

thanks a lot!

Share this post


Link to post
Share on other sites
this is my render function:

    
void Render(D3DTLVERTEX *vrtx,int num_of_vrtx)
{

lp_device->Clear(0,NULL,D3DCLEAR_TARGET,RGB_MAKE(128,128,128),0.0f,0);

lp_device->SetTexture(0,lp_tex);

if(lp_device->BeginScene())
{
lp_device->DrawPrimitive(D3DPT_TRIANGLESTRIP,D3DFVF_TLVERTEX,vrtx,num_of_vrtx,0);
lp_device->SetTexture(0,NULL);
lp_device->EndScene();
}
}




Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!