• Advertisement

Archived

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

Placing a texture on an primitve?

This topic is 6421 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

Hello, I have seen some car racing games, where the cars make some dirt on the road, when they drive in a curve (the marks of the wheels)! Does someone know, how I realize this with the Immediate Mode of Direct3D? Is this a special multitexture technique? Thanks Neo

Share this post


Link to post
Share on other sites
Advertisement
It sounds more like they are using some sort of decals. Multitextured things are not usually dynamic.

*** Triality ***

Share this post


Link to post
Share on other sites
Well thanks, it works with decals. But how do I use them. I looked into the DirectX 7 SDK Help and it coundn''t answer the question!

Neo

Share this post


Link to post
Share on other sites
There isn''t one specific way to implement them. You could have a decal class that holds one polygon which is a part of dirt on the road. You can render probably by using the zbias renderstate. Check that out.

*** Triality ***

Share this post


Link to post
Share on other sites

  • Advertisement