Re: problem in texturing with direct3d mobile



[Please do not mail me a copy of your followup]

karthik.rangaswamy@xxxxxxxxx spake the secret code
<1156477367.464261.176630@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> thusly:

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?

It sounds like you have a state problem. Make sure that all the
necessary rendering and texturing state is properly set (including the
textures themselves) when you draw each object.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Pilgrimage 2006, Saturday September 23rd: <http://pilgrimage.scene.org>
North America's Longest Running Demoparty
.



Relevant Pages

  • problem in texturing with direct3d mobile
    ... I wanted to texture a surface. ... appearing for the first frame being rendered but dissappears from the ... I draw a 'car' and wish to apply texture to the car. ... But the road texture appears intact. ...
    (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)
  • Re: How to use GDI and DirectX together?
    ... // Draw GDI stuff on surface ... This does not work for me, it must be something im missing! ... D3DXLoadSurfaceFromFileEx and loaded the texture. ... >> I managed to draw some GDI stuff on a surface, using the GetDC funcion, ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: OpenGL and SwapBuffers behavior
    ... Then when you want to draw this texture, ... that is not square and a power of 2. ... I have downloaded the current drivers from NVIDIA which do support ...
    (comp.graphics.api.opengl)
  • Re: Drawing Textures and Primitives.
    ... However if I draw my primitives first I can't see any texture ...
    (comp.graphics.api.opengl)