Results 1 to 21 of 21

Thread: VB 2005, 3D Spheres

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    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.

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    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

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    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.

  4. #4
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: VB 2005, 3D Spheres

    They work with my 2005.....

    :-/

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    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.

  6. #6
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    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!

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    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.

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    Re: VB 2005, 3D Spheres

    Quote 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.

  10. #10
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    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.


    - ØØ -

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    Re: VB 2005, 3D Spheres

    Quote 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.

  12. #12
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    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..

  13. #13

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    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.

  14. #14
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    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.


    - ØØ -

  15. #15

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    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.

  16. #16
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    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.


    - ØØ -

  17. #17

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    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.

  18. #18
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: VB 2005, 3D Spheres

    No, only the .NET version.

  19. #19

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    Re: VB 2005, 3D Spheres

    Quote 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.

  20. #20
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: VB 2005, 3D Spheres


  21. #21

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    The Sea of Tranquility
    Posts
    252

    Re: VB 2005, 3D Spheres

    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
  •  



Click Here to Expand Forum to Full Width