Click here to Skip to main content
15,901,122 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Game Programming Pin
amagitech8-Jan-16 4:35
amagitech8-Jan-16 4:35 
GeneralRe: Game Programming Pin
RUs1238-Jan-16 4:37
RUs1238-Jan-16 4:37 
GeneralRe: Game Programming Pin
User 48350478-Jan-16 5:47
User 48350478-Jan-16 5:47 
JokeRe: Game Programming Pin
Duncan Edwards Jones8-Jan-16 4:46
professionalDuncan Edwards Jones8-Jan-16 4:46 
GeneralRe: Game Programming Pin
amagitech8-Jan-16 4:57
amagitech8-Jan-16 4:57 
GeneralRe: Game Programming Pin
GStrad8-Jan-16 5:14
professionalGStrad8-Jan-16 5:14 
GeneralRe: Game Programming Pin
H.Brydon8-Jan-16 4:48
professionalH.Brydon8-Jan-16 4:48 
GeneralRe: Game Programming Pin
F-ES Sitecore8-Jan-16 4:52
professionalF-ES Sitecore8-Jan-16 4:52 
They were probably talking mainly about graphics, which is a large part maths. You're best getting a book on these things, or seeing if you can find tutorials, but the gist of it is that your "world" is made up of points in space that map out the objects in it. Think of a wireframe of a cube as a simple example. You will need to "move" the object around the world in such a way that if you make it bigger, or smaller, or move it left or right, or rotate it on a certain axis, that the object still looks like a cube...just a bit bigger\smallera\rotated\etc.

The other thing you need to do is convert your 3d object (you will be mapping the points in 3d, they will have x, y and z axis) into a 2d object as a screen is 2d. So how do you get a 2d representation of a 3d object?

The answer to all of these things is matrix multiplication. As you "graduated math" I hope I don't need to tell you what that is. Each operation you want to do on the points of an object (be it rotating, changing the size, moving it etc) has a aspecific matrix associated. So if you want to rotate something 10 degrees around the x axis you work out the correct matrix to do this, then apply it to the points and you get new points that represent the same object only rotated. There is similarly a matrix that turns a 3d point into a 2d point...so when you are done manipulating the objects in your world and you want to see what it looks like you convert the view to 2d and plot those points on screen.

That's just the very very basics...that doesn't cover adding textures or filling the polygons, working out what aspects should be rendered and which aspects are hidden behind others and so on, it all gets very complicated indeed which is why people use established game engines like Unity etc to develop their games, alloying them to focus on the non-math side of things.
GeneralRe: Game Programming Pin
amagitech8-Jan-16 4:57
amagitech8-Jan-16 4:57 
GeneralRe: Game Programming Pin
jschell8-Jan-16 14:11
jschell8-Jan-16 14:11 
GeneralFSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Brittle16187-Jan-16 23:28
Brittle16187-Jan-16 23:28 
GeneralRe: FSOW OTD - 8th Jan 2016 Pin
Rich.Edwards7-Jan-16 23:59
Rich.Edwards7-Jan-16 23:59 
GeneralRe: FSOW OTD - 8th Jan 2016 Pin
Brittle16188-Jan-16 0:02
Brittle16188-Jan-16 0:02 
GeneralRe: FSOW OTD - 8th Jan 2016 - Hint 0 Added Pin
Rage8-Jan-16 0:27
professionalRage8-Jan-16 0:27 
GeneralRe: FSOW OTD - 8th Jan 2016 - Hint 0 Added Pin
Brittle16188-Jan-16 0:55
Brittle16188-Jan-16 0:55 
GeneralRe: FSOW OTD - 8th Jan 2016 - Hint 0 Added Pin
Bassam Abdul-Baki8-Jan-16 1:37
professionalBassam Abdul-Baki8-Jan-16 1:37 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Raje_8-Jan-16 1:26
Raje_8-Jan-16 1:26 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Brittle16188-Jan-16 1:28
Brittle16188-Jan-16 1:28 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Raje_8-Jan-16 1:32
Raje_8-Jan-16 1:32 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Brittle16188-Jan-16 1:37
Brittle16188-Jan-16 1:37 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Raje_8-Jan-16 1:39
Raje_8-Jan-16 1:39 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
OriginalGriff8-Jan-16 1:46
mveOriginalGriff8-Jan-16 1:46 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Brittle16188-Jan-16 1:51
Brittle16188-Jan-16 1:51 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Raje_8-Jan-16 1:53
Raje_8-Jan-16 1:53 
GeneralRe: FSOW OTD - 8th Jan 2016 - 2nd Hint Added Pin
Brittle16188-Jan-16 1:50
Brittle16188-Jan-16 1:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   501 votes