Jump to content

  • Log In with Google      Sign In   
  • Create Account

TOWGPG Chapter 8 Question?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 brewknowc   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 January 2002 - 01:39 PM

Hi, I''m about half way through chapter 8 and a question keeps pounding me in the head... Why are we going through how to make a line using pixels, then how to manually clip a line, then how to make a polygon using our line function, then how to make a filled shape and etc.? Doesn''t DirectX have it''s own line,triangle,poly drawing functions? Is he going through this to make 3d seem easier later? or does directX really not have functions for these things? Any help with this would be great. Thanks BC

Sponsor:

#2 mnansgar   Members   -  Reputation: 421

Like
Likes
Like

Posted 15 January 2002 - 03:14 PM

DirectX does have functions to draw lines and triangles. The only problem is that they''re all 3D-only functions, and LaMothe is only teaching you the 2D realm of DirectX. If you''re interested, there were articles on Gamedev and Gamasutra on how to do 2D graphics using Direct3D (or rather, 2D graphics in a 3D drawing mode). Direct3D is quite a bit more advanced though. You''d probably want to stick with LaMothe''s teachings for now ... it''s important to know how it all works.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS