(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
10-31-24 11:46 PM
0 users currently in Programming.
Acmlm's Board - I3 Archive - Programming - how hard is 3d with SDL/OpenGL New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
spiroth10

Paratroopa


 





Since: 01-28-06
From: USA

Last post: 6465 days
Last view: 6465 days
Posted on 08-16-06 07:36 AM Link | Quote
I was thinking that I want to try making some stuff in 3D (basic games and apps)
but I've never touched on the subject of 3D before. Heck, I dont even know how to use modeling software correctly .

but how hard is it, exacly, to go through teh mechanics of making stuff with OGL? Stuff like collisions: do I have to implement my own collision detection system? I'd imagine it would be a bit easier than a 2d collision system. what about camera angles?

how about animations? making the models/textures? and how complex is the code going to be?

Im pretty much clueless to all this stuff.
niteice

Gator


 





Since: 08-15-06
From: Connecticut

Last post: 6465 days
Last view: 6465 days
Posted on 08-16-06 01:52 PM Link | Quote
OpenGL just draws stuff where you tell it to - it's up to you to make sure that it all makes sense. So yes, you need to do your own collision (though you may find it easier to collide along bounding boxes or a similar system instead of individual polygons).

Cameras are easy, just glRotate() appropriately.

Animations, models, and textures don't have much to do with OpenGL. You'll have to figure out how to get them in a state so that you can render them.

OpenGL isn't terribly complex to code, but some features (i.e. having multiple screens - mirrors, portals, etc.) can be a pain to pull off.

I recommend looking at NeHe (http://nehe.gamedev.net/), they're generally considered to be excellent OpenGL tutorials.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6554 days
Last view: 6491 days
Posted on 08-16-06 02:44 PM Link | Quote
Originally posted by spiroth10
I was thinking that I want to try making some stuff in 3D (basic games and apps)
but I've never touched on the subject of 3D before. Heck, I dont even know how to use modeling software correctly .



If you have programmed in 2d, you have the *basic* idea of what needs to be done. Else, just start with blender. For real.

Originally posted by spiroth10
but how hard is it, exacly, to go through teh mechanics of making stuff with OGL? Stuff like collisions: do I have to implement my own collision detection system? I'd imagine it would be a bit easier than a 2d collision system. what about camera angles?



OpenGL just draws stuff for you on the screen. Making a collision engine is up to the programmer in its entirety. And if you think making a proper collision engine in 3d is easier than at 2d, you are doomed ;P

Cameras I don't recall much.

Originally posted by spiroth10
how about animations? making the models/textures? and how complex is the code going to be?


The process of making the models and such, any modelling program will help you. You just need to know a 3d file format (or make your own) to translate it correctly to the ogl drawing emthods.
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6465 days
Last view: 6465 days
Posted on 08-16-06 11:18 PM Link | Quote
I'll tell you right now, nothing is easier in 3D than in 2D.
jeb
Newcomer


 





Since: 08-15-06
From: Switzerland

Last post: 6648 days
Last view: 6648 days
Posted on 08-17-06 04:12 PM Link | Quote
Hi!

I think SDL and OGL is a great!! choice to make 3D-Games because it works on nearly every plattform. But if you've never done anything in 3D, you have to decide, what you really want to do: creating a game or coding an engine. OGL only draws primitives. Everything else has to be done by hand or using an other library. A good, complex and not to complicated animation library for 3D programs (doesn't matter which renderer, works with DX too) is https://gna.org/projects/cal3d/. If you prefer to go on to your game, you can choose a graphic library like http://www.ogre3d.org. This library does everything for drawing, animating and translating for you. But collision is not included. You could use a physics engine for it, so you have nice behaviour in your world, too, for example "Newton" or "ODE". There is an engine I really like. It does loading, animating, collision, userinput and everything for you, C++ or .NET. Its called Irrlicht -> http://irrlicht.sourceforge.net/. Many people say, that this engine gives you very small control to the engine. But it's very very easy to use and to create a simple game. So dicide what you want to do. If you stay at OGL, the nehe Tutorials are great.

jeb

EDIT: If you're searching for a 3D-Modeller. I prefer http://wings3d.com to Blender.


(edited by jeb on 08-17-06 03:19 PM)
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6554 days
Last view: 6491 days
Posted on 08-17-06 08:14 PM Link | Quote
Originally posted by jeb
EDIT: If you're searching for a 3D-Modeller. I prefer http://wings3d.com to Blender.

Blender lets you make your own games too. http://www.tigsource.com/articles/2006/08/14/blender-bullet-physics-2006-contest
HyperHacker

Star Mario
Finally being paid to code in VB! If only I still enjoyed that. <_<
Wii #7182 6487 4198 1828


 





Since: 11-18-05
From: Canada, w00t!
My computer's specs, if anyone gives a damn.
STOP TRUNCATING THIS >8^(

Last post: 6465 days
Last view: 6465 days
Posted on 08-18-06 12:17 AM Link | Quote
You might even design a prototype using one of those game maker programs or a pre-written engine, then if you want, make a new engine and port your resources to work with it (or just make it compatible with the same formats).
jeb
Newcomer


 





Since: 08-15-06
From: Switzerland

Last post: 6648 days
Last view: 6648 days
Posted on 08-19-06 08:57 AM Link | Quote
Originally posted by MisterJones
Originally posted by jeb
EDIT: If you're searching for a 3D-Modeller. I prefer http://wings3d.com to Blender.

Blender lets you make your own games too. http://www.tigsource.com/articles/2006/08/14/blender-bullet-physics-2006-contest


Using a prebuilt Engine, Editor and Coding IDE, there is also http://3dgamestudio.com/. I've never used it, but a friend of mine is working with it for a few years now. I guess he worked on an MMORPG but it was never released.
1337_Ac3

Shyguy


 





Since: 04-22-06
From: sweden

Last post: 6474 days
Last view: 6466 days
Posted on 09-04-06 07:27 PM Link | Quote
If you are totaly new to 3D i suggest you try out blitz 3D to get the hang of it. It is a BASIC tweak for 3D games (and 2D games) that is easy to use. http://www.blitzbasic.com/file/get.php?file=/Products/demos/Blitz3DDemo183.exe

But if you dont want to use it just go with SDL or OGL.
rubixcuber

Mole








Since: 09-08-06
From: St. Louis, MO

Last post: 6574 days
Last view: 6574 days
Posted on 09-19-06 01:33 AM Link | Quote
If you want to look into OpenGl, I would suggest looking at some of the tutorials here: http://nehe.gamedev.net/lesson.asp?index=01. If you're experienced with programming, and just haven't done much with 3D, it's not that big of a transition. OpenGL can seem pretty daunting at first, but there's a lot of resources out there. Good luck with whatever you decide to do!
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - Programming - how hard is 3d with SDL/OpenGL |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.016 seconds; used 394.02 kB (max 488.59 kB)