Simple graphics engine questions
|
|||
|
Rank: ? (6)
Member #: 24718 |
I am very intrested in creating a small graphics engine just as a hobby, but i have some short questions- I would really apreciate anyone trying to answer them.
-When making wall through the process of polyfilling, lets say...a brick wall, is the entire polygon covered in one picture of a brick wall, or is it just tiles and they get replicated? If it is simply replicated can someone show me how using opengl in a c graphics engine? -Can someone show me a simple way of understanding and making a camera view than can move in and around an environment? |
||
|
|||
|
|||
|
Rank: ? (767)
Member #: 11085 |
for the texture thing, you can do it either way. the more memory efficient and more dynamic way would be to create a texture of a brick wall using a picture of a brick (as you could add bricks intead of stretching a picture of a wall), but it would be a bit slower to load than just having the texture be a brick wall, so you choose. (to replicate it, you would simply load the brick, create an array of the size of the wall, and then just copy bytes to the new wall from the brick in a loop)
the camera thing is harder. I have about 5 tutorials on it i got from gametutorials.com before they started charging people for them, so if you want them, email me at relpats_eht@yahoo.com and ill send them over.
- relpats_eht
|
||
|
Please login or register to post a reply.