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

how to add object ?

Started by justinxnitsuj Feb 27, 2007 at 7:21 PM 1 replies 550+ views
Original Post
justinxnitsuj
justinxnitsuj
hi i'm new at OpenGL and i'm curious about how will add an object to my window. actually i want to make something which is a hexagon prism with wheels under it. will i draw it in OpenGL or build it in a 3D design program and export it there ? which method is better for my stuation ?
Palidine
Palidine
In a mature engine you will model it in an external application, export it through a plug-in to your engine's runtime format and either bake it into your level geometry in your custom editor or import it singly at runtime.

If you're just learning it's probably just easier to hardcode the vertices and such until you get the hang of the rendering. After that you can spend the time developing a model format or using a pre-existing one and learning to import the stuff in from files.

-me
Fimbulvetr
Fimbulvetr
Being in your state, new to OGL that is, i suggest u hardcode it so you will understand how the matrices move and rotate and transform and stuff....

Topic Locked

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

Sign in to reply to this topic.