Results 1 to 9 of 9

Thread: Talk to me about... Java 3D

  1. #1
    Guild Adept Notsonoble's Avatar
    Join Date
    Sep 2008
    Location
    Lubbock
    Posts
    333

    Question Talk to me about... Java 3D

    I know its an API and not a particular piece of software... but does anybody have any idea how hard it is to move a java written VTT (like maptool, or the battletech focused megamek) to support it. I realize it's most definitely a code thing, but are we talking little additions? Or are we talking re-write of the software?

  2. #2
    Guild Journeyer
    Join Date
    May 2008
    Location
    PEI, Canada
    Posts
    213

    Default

    I'm not really sure what you are asking. Are you wanting to learn to program so you can help expand on an opensource program? Or do you want to make your own from scratch?

    But as far as Java3D, it is old, and not supported last I heard. Look at JavaOpenGL, or the other main one, Lightweight Java Game Library (LWJGL).

  3. #3
    Guild Adept Notsonoble's Avatar
    Join Date
    Sep 2008
    Location
    Lubbock
    Posts
    333

    Post

    Figures, Megamek just added 3D boardview option using Java3D... I was thinking about messing with maptool 1.3... I have some programing classes and experience outside of the classes behind me (admittedly though, all with C++ and C# (more so with C++)).

    On that note... I think I'll poke around CBT and MM's project page and see if there was a reason they didn't use one of the newer options.

  4. #4
    Guild Journeyer
    Join Date
    May 2008
    Location
    PEI, Canada
    Posts
    213

    Default

    Hummm, actually it looks like Java3D has been picked up again, and is open source community supported. It does have some advantages over lower level options like LWJGL or JOGL.


    Picking up Java isn't all that hard, especially if you don't mind working in C#.

  5. #5
    Software Dev/Rep
    Join Date
    Sep 2007
    Posts
    35

    Post

    That's an interesting question. I've been contemplating switching over to a 3d engine for MT, starting off by rendering the current map onto a 3d plane, then add in models over time.

    The engine that I was looking at is Java Monkey Engine (jme for short) It's more game oriented, but it abstracts a lot of the tricky parts. The demos are pretty easy to get up and running in eclipse.

    One reason I'm hesitant to migrate to a 3d engine though is support for old laptops, which seem to be a common factor when getting a group together.

  6. #6
    Community Leader Facebook Connected torstan's Avatar
    Join Date
    Jul 2007
    Posts
    4,199

    Post

    Would there be a way of running the standard 2D maps that are currently used in a 3D engine?

    So for example, you have a lovely 3D environment that the GM runs and some players have the horsepower to keep up, but one does not. He gets sent a topdown shot of the map as a 2D map instead? That might well get around the old laptop issue.

    Nice to see you over here trevor.

  7. #7
    Guild Adept Notsonoble's Avatar
    Join Date
    Sep 2008
    Location
    Lubbock
    Posts
    333

    Post

    The megamek folks seem to have managed it. Here's an image of one instance of MM running 3d and hosting a game, and another instance on the same machine connected as a client without the 3d setup running. I was able to play just fine.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mmexample.png 
Views:	164 
Size:	971.4 KB 
ID:	8344  

  8. #8

  9. #9
    Guild Adept Notsonoble's Avatar
    Join Date
    Sep 2008
    Location
    Lubbock
    Posts
    333

    Post

    Yeah, I'd thought that your style would have made a fairly nice CBT map at the time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •