Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (482)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (547)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java 3D / Re: Deloying the J3D extensions on: 2007-07-03 19:51:33
I am testing the JNLPAppletLauncher and I keep getting this error on my test machine:

"Fail to create reference rasterizer 3d device - d3derr_notavailable"

Old P2 Dell
128MB RAM
NVidia Riva TNT2 32MB graphics
NV4 V5.0 drivers

Any idea what is wrong?
2  Java Game APIs & Engines / JOGL Development / Re: Adding dimension lines? on: 2007-07-02 23:11:47
Is that for your Text? there's a StringMetrics interface that can mesure the Strings dimensions. Huh
Sorry for the vague responce, I had to run.
A basic example is I make a box and want dimension lines that visually show the length of X,Y,Z sides. This way a user can just glance and know what size to build a real life box.
3  Java Game APIs & Engines / JOGL Development / Re: Adding dimension lines? on: 2007-07-02 18:39:21
what do yo want to do? Huh

This:
http://www.engr.uvic.ca/~engr150/Graphics/Lab2/dim_anatomy.gif
4  Java Game APIs & Engines / JOGL Development / Re: Adding dimension lines? on: 2007-06-29 17:31:24
anybody?
looks like a DIY job
5  Java Game APIs & Engines / Java 3D / Re: Deloying the J3D extensions on: 2007-06-29 17:24:19
 Still didn't work. Keep getting can't find Seat2.jar.

Why is it looking for "Seat2/jar.class"Huh

1  
2  
network: Connecting http://<myurl>/3dtest/Seat2/jar.class with proxy=DIRECT
network: Connecting http://<myurl>/3dtest/Seat2/jar.class with cookie "lang=english"
6  Java Game APIs & Engines / JOGL Development / Adding dimension lines? on: 2007-06-28 23:45:23
I am making an Applet used to design a part in a CAD style. Linear Dimensions with labels and arrows, etc.

Are there any pre-made dimension classes?
If not, how would yo implement it?
7  Java Game APIs & Engines / Java 3D / Re: Deloying the J3D extensions on: 2007-06-28 23:39:46
I would simply include the libjar in the main jar file without changing the manifest. Of course URL is no more needed. Roll Eyes

So, you mean:
jar cvf myapp.jar mymain.class loader_signed.jar

Thats 3 nested JARs. That makes an bare manifest file right?

and *-Implementation-URL can be dropped in a general manifest?
8  Java Game APIs & Engines / Java 3D / Deloying the J3D extensions on: 2007-06-28 21:56:24
I'm tryng to use Java 3D in an applet.and have it load w/o users needing a manual install. I Referenced: http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/extensions.html
I guess I don't understand how to do it.

I tried using a manifest file in my programs unsigned JAR, but it says it can't find my jar.
My error message:
Quote
network: Cache entry not found [url: http://<myurl>/3dtest/Seat2/jar.class, version: null]
network: Connecting http://<myurl>/3dtest/Seat2/jar.class with proxy=DIRECT
network: Connecting http://<myurl>/3dtest/Seat2/jar.class with cookie "lang=english"
network: Cache entry not found [url: http://<myurl>/3dtest/Seat2/jar.class, version: null]
network: Connecting http://<myurl>/3dtest/Seat2/jar.class with proxy=DIRECT
network: Connecting http://<myurl>/3dtest/Seat2/jar.class with cookie "lang=english"
load: class Seat2.jar not found.
java.lang.ClassNotFoundException: Seat2.jar
   at sun.applet.AppletClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.applet.AppletClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.applet.AppletClassLoader.loadCode(Unknown Source)
   at sun.applet.AppletPanel.createApplet(Unknown Source)
   at sun.plugin.AppletViewer.createApplet(Unknown Source)
   at sun.applet.AppletPanel.runLoader(Unknown Source)
   at sun.applet.AppletPanel.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
   at sun.applet.AppletClassLoader.getBytes(Unknown Source)
   at sun.applet.AppletClassLoader.access$100(Unknown Source)
   at sun.applet.AppletClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   ... 10 more
basic: Exception: java.lang.ClassNotFoundException: Seat2.jar
java.lang.ClassNotFoundException: Seat2.jar
   at sun.applet.AppletClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.applet.AppletClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.applet.AppletClassLoader.loadCode(Unknown Source)
   at sun.applet.AppletPanel.createApplet(Unknown Source)
   at sun.plugin.AppletViewer.createApplet(Unknown Source)
   at sun.applet.AppletPanel.runLoader(Unknown Source)
   at sun.applet.AppletPanel.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
   at sun.applet.AppletClassLoader.getBytes(Unknown Source)
   at sun.applet.AppletClassLoader.access$100(Unknown Source)
   at sun.applet.AppletClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   ... 10 more

My manifest file:
Quote
Manifest-Version: 1.0
Extension-List: j3dcore
j3dcore-Extension-Name: javax.media.j3d
j3dcore-Implementation-Vendor-Id: com.sun
j3dcore-Implementation-Version: 1.5.0
j3dcore-Implementation-Title: Java 3D Core Runtime Environment
j3dcore-Specification-Title: Java 3D API Specification
j3dcore-Specification-Version: 1.5
j3dcore-Specification-Vendor: Sun Microsystems, Inc.
j3dcore-Implementation-URL: http://<myurl>/3dtest/loader_signed.jar
I tried j3dcore.jar instead of loader_signed.jar, but it still can't find my Jar

loader_signed.jar is from this PDF and site and contains all the j3d jars and dlls plus a loader.class
http://atlas.dsv.su.se/~pierre/a/papers/nativelibs.pdf
http://www.tranexp.com:2000/InterTran?type=url&url=http%3A%2F%2Fpeople.dsv.su.se%2F%7Epierre%2Fos%2Fnativelibs%2F&text=&from=swe&to=eng (Swedish translation)

my html file is basic
Quote
<APPLET
   code   = "Seat2.jar"    width   = "670"   height   = "500"   >
</APPLET>

Any ideas or easier ways?

I found this but it says experimental: https://java3d.dev.java.net/applet-launcher.html

Also, do all 3 J3D JARs work in Apples OSs too?
9  Java Game APIs & Engines / Java 3D / Re: Problem drawing a Box on: 2007-06-06 17:33:25
Thanks. It was the set appearance that i lacked.

I'm not use to needing soo many setters per object. Undecided
10  Java Game APIs & Engines / Java 3D / Re: Problem drawing a Box on: 2007-06-05 21:56:46
I am sure it is a simple mistake... Huh
11  Java Game APIs & Engines / Java 3D / Problem drawing a Box on: 2007-06-05 00:25:29
I am new to J3D and cant get a basic Box drawn.
Right now I am just play with sample code and replacing the ColorCube constructor with the Box constructor wih no success.
It compiles and shows a black canvas, I made sure to add import com.sun.j3d.utils.geometry.Box;

Please set me right. What is wrong?

Here the code I am focusing on:
//Commented out-- //objRoot.addChild(new ColorCube(0.4));
       //My Box code
      objRoot.addChild(new Box());


1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
public class HelloJava3Da extends Applet {
    public HelloJava3Da() {
        setLayout(new BorderLayout());
        GraphicsConfiguration config =
           SimpleUniverse.getPreferredConfiguration();

        Canvas3D canvas3D = new Canvas3D(config);
        add("Center", canvas3D);

        BranchGroup scene = createSceneGraph();

        // SimpleUniverse is a Convenience Utility class
       SimpleUniverse simpleU = new SimpleUniverse(canvas3D);

   // This will move the ViewPlatform back a bit so the
  // objects in the scene can be viewed.
       simpleU.getViewingPlatform().setNominalViewingTransform();

        simpleU.addBranchGraph(scene);
    } // end of HelloJava3Da (constructor)

     public BranchGroup createSceneGraph() {
   // Create the root of the branch graph
  BranchGroup objRoot = new BranchGroup();

       //Commented out-- //objRoot.addChild(new ColorCube(0.4));
      //My Box code
     objRoot.addChild(new Box());

   return objRoot;
    } // end of CreateSceneGraph method of HelloJava3Da
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

atombrot (26 views)
2014-08-19 09:29:53

Tekkerue (24 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (13 views)
2014-08-16 06:20:21

Tekkerue (20 views)
2014-08-16 06:12:11

Rayexar (59 views)
2014-08-11 02:49:23

BurntPizza (38 views)
2014-08-09 21:09:32

BurntPizza (30 views)
2014-08-08 02:01:56

Norakomi (37 views)
2014-08-06 19:49:38

BurntPizza (67 views)
2014-08-03 02:57:17
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!