Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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 2D / Re: Polygon question on: 2004-09-03 13:57:05
I can live with it.. I can actually live with integers, I just thought it was really stupid.
2  Java Game APIs & Engines / Java 2D / Re: Polygon question on: 2004-09-03 13:31:09
I need it for offscreen "math"-purposes. I have a polygon (triangle) and I want to check if it intersects a rectangle.
3  Java Game APIs & Engines / Java 2D / Polygon question on: 2004-09-03 06:04:24
Why is the Polygon class based on ints and not on, say, doubles?
4  Java Game APIs & Engines / Java 3D / GPU vs CPU on: 2004-08-27 06:42:57
Is rotation/translation (and other vecmath stuff) of 3d geometry done by GPU or CPU?
5  Java Game APIs & Engines / Java 3D / Re: move/lookat - need to pause renderer on: 2004-08-24 05:11:24
knew I had to learn behaivours sometime. I'm afraid of them! =)  Are they hard to learn?
6  Java Game APIs & Engines / Java 3D / move/lookat - need to pause renderer on: 2004-08-24 04:34:33
I move my object, and then I set the view to look at it, and then I do it all over again.

move-lookat-move-lookat-move-.....

My problem is that the render thread manages to render the scene between move and lookat

move-render-lookat-render-move-render-lookat-.....

This gives the effect of that the object is shaking.

How do I solve this? Is there any pause/unpause on the render thread??


-- Edit --
View.setMinimumFrameCycleTime()  seem to have done the trick, is there any more sofisticated way?
7  Game Development / Newbie & Debugging Questions / javac question on: 2004-08-19 08:29:27
Look at this.

c:\javactest contains only a directory called "src"

c:\javactest\src contains only a valid Test.java source file.

Now, why can't I compile with

c:\javactest>javac -sourcepath src Test.java

(It works with c:\javatest\source>javac Test.java)
8  Java Game APIs & Engines / Java 3D / over 60000 trangles? on: 2004-08-17 08:45:25
My program does not seem to like too many triangles. Is there any limit on the number of triangles one can add to a triangle array / shape3d?

My program seems to refuse to show the object if it has more than 60000 triangles.
9  Java Game APIs & Engines / Java 3D / Re: Chopper altitude and a TriangularArray on: 2004-08-11 08:07:26
The terrain I'm loading happens to be in a grid, but the code could take any load of (x,y,z)-data and produce a nice terrain.

I would like to keep the code this general for future weird map-file-support. But if you think this makes it very much harder to implement the height-thing a can assume the terrain is in a grid.
Whats your recommenadion.

You must admit that its nice not to require the terrain-samples to be in a grid.
10  Java Game APIs & Engines / Java 3D / Chopper altitude and a TriangularArray on: 2004-08-11 07:00:56
Hi

I have a chopper flying above a terrain. The terrain is loaded "manually" with a TriangleArray.

I have chosen (0, 0, 1) as up-direction.

What I want: Given the (choppers) x,y coords, what is the altitude?

In hope of getting any hints I read a tutorial on terrain-following. It used a "picking" approach. Is this what I need?

I could handle it myself if I knew what triangle the chopper was above.

I'm not very experianced with java3d so please be careful with explanation-shorcuts. Smiley
11  Java Game APIs & Engines / Java 3D / Re: range of sight/lightening on: 2004-08-04 11:08:04
great! thanks for your rapid response
12  Java Game APIs & Engines / Java 3D / range of sight/lightening on: 2004-08-04 09:29:09
After getting such good help an my last topic I figured you might be able to help me again.

In my "game" I can now fly around with a chopper. I've placed an ambient and a specular light in origo with _big_ bounding shperes, and I guess this is a bad approach.

It's more "correct" to let the light alway be in the center of the chopper, right?

However my problem is that I can't see very long! My terrain gets cut of just a few meters in front of me. Why? (I figured it can't be the lightening-bounds since its always is the same distance from "me")
13  Java Game APIs & Engines / Java 3D / Re: adding / removing objects from the scene-graph on: 2004-08-03 11:17:47
thanks!

I probably won't have this problem but I'm curious... What if I need to rotate offscreen many-polygon objects? This will still take time, right?

hmm.. or does it merely store/append the transformation and apply it when the object is visible?
14  Java Game APIs & Engines / Java 3D / adding / removing objects from the scene-graph on: 2004-08-03 08:43:24
Hi, using java3d

I wonder if I should bother adding / removing objects from the scene-graph when they are out of sight. (I'm talking about a lot of polygons offscreen.)
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.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (45 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (63 views)
2014-09-21 02:42:18

BurntPizza (33 views)
2014-09-21 01:30:30

moogie (41 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
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!