Archived

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

CDeity

Texturing..

Recommended Posts

CDeity    122
Greetings. I''m a hardcore DirectX7 programmer learning both OpenGL and DirectX8 in a parallel fashion, and I have several questions for you OpenGL wizards. 1.) How exactly do OpenGL extensions work? How would I do something like multitexturing, and what headers (and libs) would I include (and link with)? 2.) (Direct3D8 question) How did Microsoft intend for me to get data into their new IDirect3DTexture8 interfaces? I''ve seen those cute little D3DX functions, but they don''t do what I want to do (I want to be able to create a texture and edit its contents (and load my own RGBA values)). The SDK docs seem a little sparse, and all of the samples make use of the D3DX utilities (perhaps you may know of a descent tutorial site as complete as this is for OpenGL). Thanks for the help.

Share this post


Link to post
Share on other sites
CDeity    122
(DirectX8) Yes, I figured that calling LockRect would work also. Lol. After creating the surface (and validating its creation), I call LockRect. At this point, an illegal operation occurs. I''m not sure why. That''s some issue.

Share this post


Link to post
Share on other sites