Skip to main content
GameDev.net gamedev.net
šŸ”’ Locked

Direct3D effectiveness

Started by Baltzar Jan 8, 2003 at 9:21 PM 0 replies 150+ views
Original Post
Baltzar
Baltzar
Hello, I`m just started to write dx code. At first I translated my objects into space through: D3D_Device->SetTransform(D3DTS_WORLD, &mWorld ) always setting new mWorld matrix for each object. Then for more control over the object i used: D3DXVec3TransformCoord() for each vertex in each object (that has to change) and "SetTransform" left for camera. What is the right way from those two, or more effective coz tranforming my self all the vertex seem inefficient. Thanks Baltzar.

Topic Locked

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

Sign in to reply to this topic.