problem in texturing with direct3d mobile



Hi,
I am a novice in direct3d programming. I wanted to texture a surface.
When I applied the texture, on screen, I could see the texture
appearing for the first frame being rendered but dissappears from the
second frame onwards. From the second frame, some kind of pattern
appears (looks like a checker-box pattern to me).
The situation is this:
I created a plane surface and applied a 'road' texture to it. On the
plane, I draw a 'car' (3D) and wish to apply texture to the car. This
is where the problem happens. I cannot see the car texture after the
first frame. But the road texture appears intact.
Can anyone help me on this?

.



Relevant Pages

  • Re: problem in texturing with direct3d mobile
    ... I draw a 'car' and wish to apply texture to the car. ... It sounds like you have a state problem. ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: problem in texturing with direct3d mobile
    ... problem with the texture stage states as you guessed. ... the texture for the road worked but not the texture ... But I then made the texture for the car a bit larger (I ... Or if you think the reason could be something else, ...
    (microsoft.public.win32.programmer.directx.graphics)

Loading