Skip to main content
gamedev.net
🔒 Locked

Texturing..

Started by CDeity Aug 4, 2001 at 8:28 PM 1 replies 350+ views
Original Post
CDeity
CDeity
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.
CDeity
CDeity
(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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.