Author Topic: 3D Visual Basic Programming  (Read 5545 times)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
3D Visual Basic Programming
« 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.  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.  Looks promising.

Anyone look into 3D programming in VB?  Anyone want to give it a look?

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
3D Visual Basic Programming
« Reply #1 on: March 12, 2005, 11:47:06 AM »
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.
« Last Edit: March 12, 2005, 12:00:34 PM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
3D Visual Basic Programming
« Reply #2 on: March 12, 2005, 11:50:32 AM »
I think Celestia does not generate its own stars or planets, thats why there are so mutch files.
« Last Edit: March 12, 2005, 11:57:46 AM by Botsareus »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
3D Visual Basic Programming
« Reply #3 on: March 12, 2005, 11:56:18 AM »
Quote
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

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
3D Visual Basic Programming
« Reply #4 on: March 12, 2005, 03:51:10 PM »
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.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
3D Visual Basic Programming
« Reply #5 on: March 16, 2005, 07:34:59 AM »
Okay, anyone who wants to give OpenGL a look should check out NeHe's tutorials.  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.
« Last Edit: March 16, 2005, 07:35:16 AM by Numsgil »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
3D Visual Basic Programming
« Reply #6 on: March 16, 2005, 12:03:07 PM »
wow , this is great! Now I can learn some c++ and OpenGL in one go.
The visual basic translations form c++ will really help.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
3D Visual Basic Programming
« Reply #7 on: March 16, 2005, 12:04:52 PM »
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.