Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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] 2
1  Java Game APIs & Engines / Java 3D / RasterTextLabels not working on: 2005-11-06 23:00:47
Has anyone been using J3D.org's RasterTextLabel class in there application recently? I have started to incorporate them in my application to no avail. They are not being displayed for some reason. I have attempted all the advice from previous posts and nothing resolves the problem.

If anyone has any suggestions on using this class, or using another way to get nice 2d text in my 3D scene would be a great help.

Much appreciated,

Zak
2  Java Game APIs & Engines / Java 3D / Disabled behavior keeps old AWTEvents on: 2005-08-24 10:00:21
I have X number of behaviors that I add to my
universe, and only enable the one currently being
used, via the setEnable() method.

All behaviors are woke up on AWTEvents.

Whenever I switch the behaviors, and do my processing (i.e. picking),
it keeps the AWT events that were processed in the other behavior. Is there
anyway to clear out the buffer of AWT events given to me in the processStimulus
method ?

Thanks

Zak Huh
3  Java Game APIs & Engines / Java 3D / Canvas3D in a SpringLayout on: 2005-08-20 16:19:37
Hello all,

I am attempting to use my Canvas3D in a SpringLayout.
I have it appearing by itself in the SpringLayout, but when I add
more components, it seems like the canvas' size gets set to 0,0.
I can explictly set the preffered size to (w,h), and it appears. (No rescaling though).

Any suggestions?

Thanks
Zak Huh Huh Huh
4  Java Game APIs & Engines / Java 3D / Drag and Drop Support with Canvas3D/Java3D on: 2005-07-19 13:36:27
Does anyone know if the Canvas3D or Java3D handles
drag and drop actions ?
I am needing to drag Swing icons on the canvas, and drop
them in the 3D world.

Thanks,

Zak Nixon
5  Java Game APIs & Engines / JOGL Development / Re: JOGL Overlays on: 2005-03-23 11:23:32
Another question:
Using 2D, you have specified the 2D box in 3D space. If I perform transformations upon that geometry, how would you specify it, in 2D or 3D? I have tried rotations and scales on the box, yet I get very strange results.

Thanks

Zak
6  Java Game APIs & Engines / JOGL Development / Re: JOGL Overlays on: 2005-03-23 10:44:35
Thanks, I figured out my problem. I was setting the
alpha value of my overlays, which produced the illusion of the 3D being placed on top of my 2D lines (only where they intersected).

Thanks for all the help.  Roll Eyes Grin

Zak
7  Java Game APIs & Engines / JOGL Development / Re: JOGL Overlays on: 2005-03-22 15:52:59
Thanks for the code, works beautifully.

Quick question. Once I draw a 2D box, and I put 3D objects in the scene, the 2D should always be "on top" of the 3D objects in the depth buffer. For some reason, this effect is not doing it.
Is there anyway to acheive this effect?

Thanks

Zak
8  Java Game APIs & Engines / Xith3D Forums / Re: IndexedQuadArray in Xith3D on: 2005-03-19 21:17:32
I am trying to draw a wireframe model of a sphere, like lat/lon lines. I already have the geometry defined as Indexed Quads. I could define them as individual lines, but that changes all of my algorithms and data structs.

Just trying to find a one-to-one correspondance between J3D and Xith.

Zak
9  Java Game APIs & Engines / Xith3D Forums / Re: IndexedQuadArray in Xith3D on: 2005-03-18 13:49:55
Well, unfourtunately, these classes do not support Quad geometry, just Triangle Strips.
There has to be a way to build simple quad geometry....

Any suggestions?

Zak
10  Java Game APIs & Engines / JOGL Development / Re: JOGL Overlays on: 2005-03-17 18:34:19
Yes.
Like a dashboard, or scene information...

Something simple, just 2D text. No 3D.

Zak
11  Java Game APIs & Engines / Xith3D Forums / Re: Xith3D problem on: 2005-03-17 16:54:37
I get the same thing.

Huh I personally don't know the fix,
but it is not uncommon.

Zak
12  Java Game APIs & Engines / Xith3D Forums / Comment on Xith on: 2005-03-16 16:19:47
Just a statement.
Even though Xith looks nice, how can anyone understand how to work it without accompanying Javadocs and documentation?
I have looked at the "tutorials" and have been anything but .....good.
Is there any effort to go back and document the base classes before adding more functionality to this API? If not, it would be a shame.

I can see the potential if it is usable.

My 2$

Zak Huh
13  Java Game APIs & Engines / JOGL Development / JOGL Overlays on: 2005-03-15 11:38:17
Is there any tutorials/samples of producing overlays in OpenGL / JOGL that someone can point me too?

Regards,

Zak Nixon
14  Java Game APIs & Engines / Xith3D Forums / Re: Text labels on: 2005-03-08 12:02:32
Can you reference me to a tutorial about textured transparent faces?

Thanks

Zak
15  Java Game APIs & Engines / Xith3D Forums / Re: Text labels on: 2005-03-07 16:09:01
So, Xith3D has no support for bitmapped fonts?

16  Java Game APIs & Engines / Xith3D Forums / Re: Text labels on: 2005-03-07 15:40:59
I don't know if that what I was looking for.

I am needing to place text labels as a part of naming things in my 3D universe, that would move along with the object as it is being updated.

In java3D, there was a RasterTextLabel class that did the type of functionality I needed. Also, if you look at the application called Freefall (on mac) the labels shown following the satellites is what I am trying to reproduce.

Thanks
Zak Huh
17  Java Game APIs & Engines / Xith3D Forums / Text labels on: 2005-03-07 11:33:41
Is there any way to place text labels by my 3D objects in my universe?

Does Xith3d provide any utils for this?


Thanks
Zak
18  Java Game APIs & Engines / Xith3D Forums / Re: IndexedQuadArray in Xith3D on: 2005-03-04 12:56:47
I have tried adding a quad using the IndexedQuadArray and a triangle using the IndexedTriangleArray. The quad does not display, but the triangle will. Below is my code.

The quad:
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  
      public Shape3D getGrid(){
            int numIndexes = 4;
            int[] indexes = new int[]{0,1,2,3};
            // Vector3f[] normals = new Vector3f[]{ new Vector3f(0.0f,0.0f,1.0f),new Vector3f(0.0f,0.0f,1.0f),new Vector3f(0.0f,0.0f,1.0f),new Vector3f(0.0f,0.0f,1.0f)};
           
            IndexedQuadArray a = new IndexedQuadArray(4,IndexedTriangleArray.COORDINATES,numIndexes);
           
            Point3f[] coords = new Point3f[]{ new Point3f(1.0f,1.0f,0.0f), new Point3f(-1.0f,1.0f,0.0f),new Point3f(-1.0f,-1.0f,0.0f),new Point3f(1.0f,-1.0f,0.0f)};
     
            a.setValidIndexCount(4);
            a.setCoordinates(0,coords);
            //a.setNormals(0,normals);
            a.setIndex(indexes);
           
            Appearance app = new Appearance();
          Material material = new Material();
          material.setAmbientColor(.6f,.6f,.6f);
          material.setLightingEnable(true);

            app.setColoringAttributes(new ColoringAttributes(new Color3f(1.0f,0.0f,0.0f),ColoringAttributes.FASTEST));
            app.setPolygonAttributes(new PolygonAttributes(PolygonAttributes.POLYGON_LINE,PolygonAttributes.CULL_NONE,0f));
            // app.setMaterial(material);
           
            Shape3D s = new Shape3D(a,app);
            return s;
      }




The triangle:
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  
      public Shape3D getTriangle(){
            int numIndexes = 3;
            int[] indexes = new int[]{0,1,2};
            // Vector3f[] normals = new Vector3f[]{ new Vector3f(0.0f,0.0f,1.0f),new Vector3f(0.0f,0.0f,1.0f),new Vector3f(0.0f,0.0f,1.0f),new Vector3f(0.0f,0.0f,1.0f)};
           
            IndexedTriangleArray a = new IndexedTriangleArray(3,IndexedTriangleArray.COORDINATES,numIndexes);
           
            Point3f[] coords = new Point3f[]{ new Point3f(1.0f,1.0f,0.0f), new Point3f(-1.0f,1.0f,0.0f),new Point3f(-1.0f,-1.0f,0.0f)};
     
            a.setValidIndexCount(3);
            a.setCoordinates(0,coords);
            //a.setNormals(0,normals);
            a.setIndex(indexes);
           
            Appearance app = new Appearance();
          Material material = new Material();
          material.setAmbientColor(.6f,.6f,.6f);
          material.setLightingEnable(true);

            app.setColoringAttributes(new ColoringAttributes(new Color3f(1.0f,0.0f,0.0f),ColoringAttributes.FASTEST));
            app.setPolygonAttributes(new PolygonAttributes(PolygonAttributes.POLYGON_LINE,PolygonAttributes.CULL_NONE,0f));
            // app.setMaterial(material);
           
            Shape3D s = new Shape3D(a,app);
            return s;
      }


Any thing I am doing wrong?

Thanks
Zak
19  Java Game APIs & Engines / Xith3D Forums / Correlation of OrbitBehavior (J3D) in Xith3D. on: 2005-03-04 09:56:24
Is there any UI movement functionality in Xith3D that mimics the OrbitBehavior class in J3D? Or is there any mouse movement functionality already built?

Thanks

Zak Nixon
20  Java Game APIs & Engines / Xith3D Forums / Re: IndexedQuadArray in Xith3D on: 2005-03-04 09:54:48
Thanks for your reply, ewillis.
Is there also a way to set the color indicies as well?

So far, I can use a PointArray for my points and my geometry shows up (also QuadArray), but with the IndexedQuadArray, I am not seeing anything.

I have used the setIndex(int[] indicies) for the coordinates, and set my Shape3D's coloring attributes.

Anyone have examples of working with the IndexedQuadArray?

Thanks  :-/

Zak Nixon
21  Java Game APIs & Engines / Xith3D Forums / IndexedQuadArray in Xith3D on: 2005-03-03 14:20:10
I am trying to refactor my J3D code to semi-match the Xith3D api.
I am trying to use the IndexedQuadArray node, but whenever I need to set my indicies ( setCoordinateIndices(0,indicies) in J3D), I have no equivalent in Xith3D...

Is there an alternate way of doing this?

Thanks

Zak Nixon

Huh
22  Java Game APIs & Engines / Java 3D / OpenGL/JOGL/J3D position on: 2003-10-27 16:11:07
Please look at the Jobs forum for a newly posted
job posting.

Thanks,

Zak Nixon
23  Java Game APIs & Engines / JOGL Development / OpenGL/JOGL/J3D position on: 2003-10-27 16:10:50
Please look at the Jobs forum for a newly posted
job posting.

Thanks,

Zak Nixon
24  Discussions / Jobs and Resumes / OpenGL/JOGL/J3D position on: 2003-10-27 16:09:42
Hello all,

We are looking for a experienced Opengl/jogl/java3d programmer ASAP that will work on 3d graphics in the
US Military simulation arena.

Sorry about the lack of information here, but please
email me with questions. I can't post too much information here on a forum.

If you have questions, please send them to my email:
zaknixon@davidson-tech.com

Thanks

Zak Nixon
25  Java Game APIs & Engines / Java 3D / Reading USGS SDTS DEMs in Java3D on: 2003-09-29 11:24:47
Does anyone have any experience of reading the SDTS DEM files off of the USGS website?

Thanks

zak
26  Discussions / Jobs and Resumes / Possible JOGL/J3D/OpenGL Job Position on: 2003-09-19 12:43:32
My company is (possibly) looking for an experienced OpenGL/Java3D/JOGL programmer to work on our graphics packages. We mainly do DoD defense simulations, and need some fancy 3D displays to show off our capabilities.

If interested, please email me at:

zaknixon@davidson-tech.com

Thanks

Zak Nixon
Software Engineer
Davidson Technologies Inc.
27  Java Game APIs & Engines / JOGL Development / Re: Possible JOGL/J3D/OpenGL Job Position on: 2003-09-19 12:39:30
US Citizenship is required.
28  Java Game APIs & Engines / JOGL Development / Possible JOGL/J3D/OpenGL Job Position on: 2003-09-19 12:21:06
My company is (possibly) looking for an experience verteran in the graphics community who is well versed in Java and has alot of experience with OpenGL (5+years, maybe more). You also need to have an understanding of Java/Java3D/Jogl since our existing code is in Java3D, and we want to go the OpenGL/JOGL route.

If interested, please send me an email and/or resume to:

zaknixon@davidson-tech.com
Subject: Resume

Thanks
Zak
29  Java Game APIs & Engines / Java 3D / J3D.org DEM Terrain Loaders on: 2003-09-17 16:19:20
Does anyone use the DEM loaders in the j3d-org package, and if so, can someone send me a file that works with it?

Also send a sample of the code to do it if you can.

thanks everyone for your help.

Zak
30  Java Game APIs & Engines / JOGL Development / Re: Xith3D progress on: 2003-07-29 11:32:38
David,

I was wondering if the normal behavior structure is maintained, ie. by using OrbitBehavior in my program, is there a way to just "plug-and-play" my J3D with Xith3D ported code and it run?

Thanks,

Zak
Pages: [1] 2
 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (28 views)
2014-12-15 09:26:44

Mr.CodeIt (19 views)
2014-12-14 19:50:38

BurntPizza (39 views)
2014-12-09 22:41:13

BurntPizza (74 views)
2014-12-08 04:46:31

JscottyBieshaar (36 views)
2014-12-05 12:39:02

SHC (49 views)
2014-12-03 16:27:13

CopyableCougar4 (44 views)
2014-11-29 21:32:03

toopeicgaming1999 (112 views)
2014-11-26 15:22:04

toopeicgaming1999 (98 views)
2014-11-26 15:20:36

toopeicgaming1999 (29 views)
2014-11-26 15:20:08
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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