Skip to main content
GameDev.net gamedev.net
🔒 Locked

Engine implementation

Started by jlebrech Mar 17, 2003 at 6:54 AM 1 replies 750+ views
Original Post
jlebrech
jlebrech
I''m trying make an engine without Dirextx or Opengl using matrices, an up to now i imagine the rendering to be like that: you have a 3dpoint(x,y,z. color); You have a matrix that you apply rotation or whatever!! you apply the matrix to the 3d point; you copy the x and y values to the screen with the appropriate colors. Have i got it right?
technobot
technobot
Basically, yes. Although that will only give you the vertices. If you want a filled faces, you''ll need to do triangle setup from these points, break the triangles into scanlines, and then rasterize those to produce individual pixels...
For a full overview of the 3D rendering pipeline, go here.

Michael K.,
Designer and Graphics Programmer of "The Keepers"



We come in peace... surrender or die!
Michael K.
jlebrech
jlebrech
I''m thinking of making a 3d sprite engine with everything as a sprite. So each sprite that is behind the camera would have to be ignored and the ones that are visible would have to be scaled based on the distance.

Am i right?

Topic Locked

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

Sign in to reply to this topic.