Advertisement

Few simple Direct3D Q's..

Started by July 15, 2000 01:38 PM
1 comment, last by Zimans 24 years, 5 months ago
These may seem like simple questions but I haven''t dealt that much yet with 3d. (or any, really, for that matter). Up to now everything I''ve done has been 2D and Winows (no dumb MFC though.. ) 1) Do textures have to be in powers of 2? such as 64x64, 128x128? If so, what cards require these textures and wich do not. Also what cards can handle non-square textures? 2) Vertex lighting is done by hardware right? If anyone could answer these questions or point me in the diurection of a good read that would inform me on such items as this I would be greatly apreciative.. Thx.

2. Presently vertex lighting is mostly done in software. There are however the new TnL (Texture & Lighting) cards that can do hardware vertex lighting.
Advertisement
They''re not really D3D Q''s. If you don''t have any experience in the 3d field, i would recommend OpenGL. see www.opengl.org and nehe.gamedev.net for more. i think (not sure) it can use non-2power textures, but sized to one that is. for non-square tex''s, in OGL you specify the points in the texture for every vertex of the poly. then you can use a square tex, and only show a rectangular part of it, or a star-like part of it, etc.

"Everything is relative." -- Even in the world of computers.
everything is relative. -- even in the world of computers... so PUSH BEYOND THE LIMITS OF SANITY!

This topic is closed to new replies.

Advertisement