Darwinbots Forum
General => Off Topic => Topic started by: Numsgil on March 12, 2005, 12:42:20 AM
-
I thought that I'd look into working on my old space game again once 3.0 is out and reasonably stable.
In my space game, I need a system for zooming around the universe of known stars easily.
A program I found that does this very well is Celestia (http://www.shatters.net/celestia/). I haven't tried to look at the source code yet for it though (yuck! there's like a trillion files).
I plan to use VB since it allows for faster development, which is what I'm really after, and most of my program isn't time sensitive at all anyway. Mostly menu driven.
I found this sample OpenGL space progam for VB (http://www.vbcode.com/code/OpenGL-VB_08052003.zip). Looks promising.
Anyone look into 3D programming in VB? Anyone want to give it a look?
-
I never did D3X or OpenGL, Lest time (and only time) I made a 3D game , I made my own Engine for 3D.
Worning: 2D circles (witch change size based on distance) for starts wont work well on close range orbits.
-
I think Celestia does not generate its own stars or planets, thats why there are so mutch files.
-
Gateway Timeout
The following error occurred:
[code=GATEWAY_TIMEOUT] A gateway timeout occurred. The server is unreachable. Retry the request.
--------------------------------------------------------------------------------
Please contact the administrator.
Thats the link with openGL code , I'll try later or somthing
-
Celestia uses all the known stars (that are in certain catalogues anyway), so it's not a good representation of psuedo random techniques.
However, it's logarithmic zooming ability is very nice. The whole navigation system is very easy. I'd like to mimic that for my game.
Sorry the link didn't work for the 3D visual stuff. Look here for the real thing (http://planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=47711).
-
Okay, anyone who wants to give OpenGL a look should check out NeHe's tutorials (http://nehe.gamedev.net/). They're on the left.
He goes through them in C++, but for those of you with a C++ phobia, there's visual basic code at the bottom of most of the tutorials.
-
wow , this is great! Now I can learn some c++ and OpenGL in one go.
The visual basic translations form c++ will really help.
-
OpenGL actually looks alot easier than I thought at first. I've already made a sphere and now I'm working on texturing it. Weeee.