Re: RenderToSurface.. my texture seems backwards
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
[Please do not mail me a copy of your followup]
=?Utf-8?B?U0g=?= <SH@xxxxxxxxxxxxxxxxxxxxxxxxx> spake the secret code
<FBF3B469-9706-4BB3-B1D3-841B4145B179@xxxxxxxxxxxxx> thusly:
I don't really want the sprite in the world I'm creating, I just have it
there right now to verify that the texture was working. What I really want is
for the texture to be applied to the cube so it reads correctly.
Sounds like your texture is fine, but your geometry's texture
coordinates are wrong.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<
http://www.xmission.com/~legalize/book/download/index.html>
.
Relevant Pages
- Re: Set texture from float array in DX9?
... [Please do not mail me a copy of your followup] ... Fundamentally, this is a lock operation on the texture surface, ... followed by a data conversion/copy step, ... (microsoft.public.win32.programmer.directx.graphics) - Re: Alpha Blending with DrawText
... [Please do not mail me a copy of your followup] ... color associated with it and vary the alpha component, ... that are blitted onto the texture or something? ... (microsoft.public.win32.programmer.directx.graphics) - Re: color lookup table
... [Please do not mail me a copy of your followup] ... that says "dependent texture read" AFAIK, it just uses a value from ... So look at the pixel shader source in the SDK. ... Prev by Date: ... (microsoft.public.win32.programmer.directx.graphics) - Re: renderingto texture while using same texture for lookup
... [Please do not mail me a copy of your followup] ... Render to one texture while sampling from a ... Legalize Adulthood! ... (microsoft.public.win32.programmer.directx.graphics) - Re: Read from a texture3d
... [Please do not mail me a copy of your followup] ... texture, always taking the highest .x out of a block oder 8, and at the end ... Call Map on the texture to access the data. ... (microsoft.public.win32.programmer.directx.graphics) |
|