|
-
May 29th, 2006, 09:41 AM
#1
Thread Starter
Addicted Member
VB 2005, 3D Spheres
How would i go about using Direct X or something similar to draw spheres. I added the direct x type library but none of the direct X objects are avaliable, which is a slight spanner in the works.
ultimatly im looking at drawing this http://scicentr1.tc.cornell.edu/expl...ngifs/trip.gif
and rotatating it in all directions.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
May 30th, 2006, 07:12 AM
#2
Re: VB 2005, 3D Spheres
Downlaod the SDK,
http://msdn.microsoft.com/directx/sdk/
There are some good examples in there of starting an app loading meshes lighting etc,
Pino
-
May 30th, 2006, 03:08 PM
#3
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
Just installed it, seems none of the samples will work with VB 2005 . That settles it, C++ here I come. Great casting errors, hmm fixed that now I have a window YAY. great it can't find the include files. As if battling with C++ wasn't enough.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
May 30th, 2006, 03:24 PM
#4
Re: VB 2005, 3D Spheres
They work with my 2005.....
:-/
-
May 30th, 2006, 03:29 PM
#5
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
There is hope then ,
I get the error "make sure the application for the file type .csproj is installed."
well its VB 2005 Express edition if that makes a difference, got it a month ago
thanks
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
May 30th, 2006, 03:34 PM
#6
Re: VB 2005, 3D Spheres
.csproj
is a c# project file - you will have to download c# express as well. The code can be converted to Vb fairly easily!
-
May 30th, 2006, 03:39 PM
#7
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
quality i'll download it later, who would think all this software just to get some DX going. Clogging up the hard drive.
Thanks for your help.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
May 31st, 2006, 08:56 PM
#8
Re: VB 2005, 3D Spheres
Bleh. C# is better than VB anyway 
You'll get used to having tons of development apps - I have three Express Ed's at home, VS 2005 at work - which is nice
-
Jun 1st, 2006, 12:39 PM
#9
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
 Originally Posted by penagate
Bleh. C# is better than VB anyway
You'll get used to having tons of development apps - I have three Express Ed's at home, VS 2005 at work - which is nice 
I'm still in turnmoil as to which language I'm going to use, it will be something C based. The most likely route is going to be the winapi, then use the Direct X stuff through that.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
Jun 2nd, 2006, 03:55 AM
#10
Re: VB 2005, 3D Spheres
If you use C#, you don't have to clutter with the Win32API. Makes it a hell of a easier for prototyping and simple DX apps.
- ØØ -
-
Jun 2nd, 2006, 04:17 AM
#11
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
 Originally Posted by NoteMe
If you use C#, you don't have to clutter with the Win32API. Makes it a hell of a easier for prototyping and simple DX apps.
- ØØ -
This is the core of my problem i want it to be easy but C# is windows only, wheras if i use the winapi, I'll learn something about C++ at the same time.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
Jun 2nd, 2006, 05:01 AM
#12
Re: VB 2005, 3D Spheres
C# is not windows only. I am in Linux right now, and I am coding C#... I am the DoomSharp(); monster..
-
Jun 2nd, 2006, 05:08 AM
#13
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
linux, thats why i wanted to use C/C++ cause i want to do some developing in linux as some point. Turns out C# is also an option , What distro do you recomend for developing apps in? or compiler. i Have kubuntu at the minute.
Is doom sharp that game your making?
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
Jun 2nd, 2006, 06:37 AM
#14
Re: VB 2005, 3D Spheres
DoomSharp kind of died a bit, because of personal problems in the team. But it was started to show that C# and .NET could pull off cross platform 3D rendering from scratch without any graphics libraries like OpenGL or DirectX. We got pretty far.
Here is the DoomSharp section of VBF: http://vbforums.com/forumdisplay.php?f=75
You have to change the "from the" combobox to all to see all the threads. There is a few threads with screenshots there.
As to platform. It doesn't really matter. I use Debian at work, and Ubuntu at the moment home. Kubuntu should do just fine. If you want to do C# in Kubuntu, look at the mono project (google) and monodevelop to get your started.
- ØØ -
-
Jun 2nd, 2006, 07:33 AM
#15
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
It looks super decent for something not done in direct x or open GL. Loving the sketches they look like the ones i have for my current project. Covered in circles, trianges, lines with coords.
What would i use if i wanted to do it in C++?
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
Jun 2nd, 2006, 07:40 AM
#16
Re: VB 2005, 3D Spheres
gcc is the compiler, and you can use any IDE really. SInce you are in KDE I guess KDevelop(er?) is a good start.
- ØØ -
-
Jun 8th, 2006, 06:49 AM
#17
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
With C# is there a .net version as well as a normal version. Like VB6 is to VB.net.
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
Jun 8th, 2006, 06:50 AM
#18
Re: VB 2005, 3D Spheres
No, only the .NET version.
-
Jun 8th, 2006, 12:40 PM
#19
Thread Starter
Addicted Member
Re: VB 2005, 3D Spheres
 Originally Posted by penagate
No, only the .NET version.
Then how is it that you can use C# on linux if it requires the .net framework?
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

-
Jun 8th, 2006, 12:41 PM
#20
-
Jun 8th, 2006, 12:56 PM
#21
Thread Starter
Addicted Member
Rich
A)bort, R)etry, I)nfluence with large hammer.
Please take a moment to rate useful posts.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|