Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How do 3d graphics engines work?
Index -> Graphics and Design, Graphics -> 3D Graphics
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
bill_ion_boi




PostPosted: Tue Jul 12, 2005 7:41 pm   Post subject: How do 3d graphics engines work?

How do graphics engines work, where do APIs (like direct x and openGL) fit in, what do the APIs do? ALso where do programming languages like C fit in in a graphics engine
EDIT- do graphic engines controll an entire game, like does it include codeing such as " if player clicks button a then move man up..."
EDIT- also what is a particle engine?
LAST EDIT- how do physics engine (calculate collison detection, gravity) co-exist with graphics engines

**my edits werent bumps, nuthing cam ahead of my post Wink

Any help is apreciated
Sponsor
Sponsor
Sponsor
sponsor
Notoroge




PostPosted: Thu Jul 21, 2005 8:09 pm   Post subject: (No subject)

Graphic engines render models, textures, etc.
They work by rendering x, y, and z axis'.
You use programming language to write these (er, y'know, you code everything on computers, right?)
A graphics engine controls just that, the graphics.
A Particle engile controls, well, particles. dust, water-splashes, rain, smoke, etc.
Physics engines calculates coordinates and compare them to other objects to see if they're overlapping, or, touching. It also controls movement, speeds, gravity, etc. All with mathematical formulas.

You should really do a Google search on things like this.
Hikaru79




PostPosted: Sun Jul 31, 2005 7:01 pm   Post subject: (No subject)

Graphics engines make your life easier. They keep you from reinventing the wheel by providing a framework of API's to do things that are pretty universal. For example, if you're coding a 3D game, you shouldn't have to deal with calculating perspective of distant objects, etc. Its a law of physics, it will never change, and its something that every app needs. It would be extremely wasteful for every single programmer to have to come up with an algorithm for determining an object's perceived size at a distance. So that's where the 3D engine comes in. When you use an instance of one, you specify, for example, the DISTANCE to the object, and the SIZE of the object, and the engine can figure out how large it needs to be drawn. This is a basic example, but you get the idea.

Make sure you're quite well-versed in your language of choice before you tackle anything like this though.
Ninja




PostPosted: Sat Mar 11, 2006 10:52 am   Post subject: (No subject)

Hikaru79 wrote:
Graphics engines make your life easier. They keep you from reinventing the wheel by providing a framework of API's to do things that are pretty universal. For example, if you're coding a 3D game, you shouldn't have to deal with calculating perspective of distant objects, etc. Its a law of physics, it will never change, and its something that every app needs. It would be extremely wasteful for every single programmer to have to come up with an algorithm for determining an object's perceived size at a distance. So that's where the 3D engine comes in. When you use an instance of one, you specify, for example, the DISTANCE to the object, and the SIZE of the object, and the engine can figure out how large it needs to be drawn. This is a basic example, but you get the idea.

Make sure you're quite well-versed in your language of choice before you tackle anything like this though.


exactly.3d engines calculate things for u as they have a physics engine built into it.like for instance when i started learning maya i madea an animation clip of a cloth falling over a square box..u just define the path, collision object and how many frames u want the animation to be and it will calculate the whole thing frame by frame(hence the name frame by frame animation) and then when its done it will show u what it will look like in real life..once u texture it and add lights and such u can make an animation of a cloth falling over a table and how the light will react to its different parts and such
Andy




PostPosted: Sun Mar 12, 2006 7:34 pm   Post subject: (No subject)

and another cool thing about graphics engine is, this post is 8 months old, and people who joins the site should really read the rules.. isnt that like teh cool?
Al_




PostPosted: Tue Jan 27, 2009 10:49 pm   Post subject: (No subject)

Hikaru79 wrote:
Make sure you're quite well-versed in your language of choice before you tackle anything like this though.


Ok what is the best language for a 3D game? C++???


Ninja @ Sat Mar 11, 2006 wrote:
(hence the name frame by frame animation)


Its actually called Frame by frame animation because its like an old movie clip, with thousands of pictures, moving at high speeds.
Each frame is a picture, flashed before you at a high speed to simulate something that would happen in the real world.

Al
.
CodeMonkey2000




PostPosted: Tue Jan 27, 2009 11:27 pm   Post subject: Re: How do 3d graphics engines work?

Anything that supports openGL or directX is good. And please don't revive old threads. This thread is locked
Display posts from previous:   
   Index -> Graphics and Design, Graphics -> 3D Graphics
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: