Java-Gaming.org    
Featured games (78)
games approved by the League of Dukes
Games in Showcase (429)
Games in Android Showcase (89)
games submitted by our members
Games in WIP (466)
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 3
1  Discussions / Miscellaneous Topics / Re: 3D Game development laptop - any advice? on: 2004-06-02 05:47:18
i have been nvidia guy myself too, but when i started to look for good laptop with nvidia card on it,they where all too expensive or other parts where crap,then i found siemens and bought it with ati 9000 mobile card and never had a problems on linux,windows. with linux all the distros i have tryed has worked(with some minor problems on gfx card but nothing that couldn't fix).

i have always believed that ati has the worst gfx card and worst support at linux, but this has proven me wrong.
2  Discussions / General Discussions / Re: GTG Update - March 27 on: 2004-04-07 10:25:06
Quote
You can't please everyone every time.


true.but in this case, its nothing more than uploading iso image to server and linking it to somewhere.

but the reason for this is that they made too many copies for it and now they need to get rid of them.

Quote
Don't you have a mailing address where you are? Are you really moving around that much?


well i do travel quite a lot.....
3  Discussions / General Discussions / Re: GTG Update - March 27 on: 2004-04-05 08:06:49
what about people who travel a lot and it would be much easier to just download a cd image.

for example: i haven't been at home for 2 months now and probably wont be in another 3 months, due to work/school shit.
4  Java Game APIs & Engines / OpenGL Development / Re: Static import on: 2004-03-30 11:53:43
for example:
1  
import static org.lwjgl.opengl.GL11;

and compiling it with javac -source 1.5
5  Java Game APIs & Engines / OpenGL Development / Re: Static import on: 2004-03-29 14:08:11
shouldn't that be javac -source 1.5 Huh
6  Java Game APIs & Engines / Xith3D Forums / Re: TerrainTest pick mod on: 2004-02-26 13:16:46
currently i setted TerrainShape.setPickable(true) but when i try to view.pick(canvas, mouseX, mouseY, 3, 3);
it returns array size as 0.

i'm trying to port my *very* old SimCity clone to use xith but no luck with this...

so you remember those old SimCity's? where you select a tool(lets pick residential zone) and user moves mouse to cell and clicks and cell changes to residential cell...

that's my goal but no luck with it...
7  Java Game APIs & Engines / Xith3D Forums / TerrainTest pick mod on: 2004-02-26 09:17:07
what should be done to get picking work for TerrainTest?

i mean when mouse moves to some point and user clicks and Node of that terrain will change it's colour to highlight it's selected.
8  Java Game APIs & Engines / Xith3D Forums / Re: Xith.org is down ? on: 2004-02-26 09:13:20
hmm.thats wierd,it works for me
9  Java Game APIs & Engines / JOGL Development / Picking on: 2004-02-25 14:32:02
which is the best picking method?

i have seen using gluUnproject and using select render mode.

is there other methods as well? which is the fastest?

i have model on screen and i want to hilight portion of the model where mouse is....

for example:human model and when mouse is over legs,legs color changes to highlight mode,if mouse is over head,head changes to highlight mode,etc...

but i'm having difficulties porting awt mouse event position coordinates to comply opengl coordinates....



scene is actually quite huge and not a small one like the above example, so speed is issue here....
10  Java Game APIs & Engines / JOGL Development / Re: Problems with display modes on: 2004-02-25 12:28:30
Rectangle maxBounds = GraphicsEnvironment.getMaximumWindowBounds()

and check it against DisplayModes you get from GraphicsDevice
11  Discussions / Miscellaneous Topics / Re: OSI president asks Sun to opensource Java on: 2004-02-17 13:38:38
well my opinion is that if/when java is Open Source it only helps java to evolve, but it shouldnt be done if there isnt somekind consortium to watch interest of java.

there are lot of "big" projects that follow Open Source and make's big bucks for it but then again Sun isnt getting money from java this way either(?) so what whould be diffrent?
12  Discussions / General Discussions / Re: Trouble With CVS on: 2003-07-12 06:45:22
try with guest user
:pserver:guest@cvs.dev.java.net:/cvs
13  Discussions / General Discussions / Re: ALIEN FLUX reviewed! And they mentioned Java! on: 2003-07-07 07:57:55
GREAT review,hopefully this get's people's attention to alien flux as it deserve's.
14  Java Game APIs & Engines / JOGL Development / Re: jogl fps lock on: 2003-07-06 05:41:53
currently i run also own animator with sleep,hopefully they integrate GLAnimCanvas like in gl4java, this allow's FPS locking stuff..
15  Game Development / Networking & Multiplayer / Re: ICMP in java on: 2003-07-04 10:16:58
don't know, i have always used WSA_*

and never found POSIX style example for win
16  Game Development / Networking & Multiplayer / Re: ICMP in java on: 2003-07-04 05:51:25
i only wanted to know if the server is up,
so the ping program from website i posted earlier had all the needed values.

i thought also about using Runtime to execute ping but this seemed good solutions as i don't need to parse ping output(not difficult but still) and i have ready made component to do this.

but the ping jni only run's on win platform so if i ever needed it to be running on linux,i guess i need to use runtime and parse output.i'm not that great on c socket's.

ps.anyone know multiplatform socket api for c?

win and linux socket programming on c are quite diffrent.

17  Game Development / Networking & Multiplayer / Re: ICMP in java on: 2003-07-01 11:25:41
i thought so too,but i kept googling around and found ready made jni solution for this.

here's webpage if anyone interested http://www.geocities.com/SiliconValley/Bit/5716/ping/
18  Game Development / Networking & Multiplayer / ICMP in java on: 2003-06-30 07:02:10
how can i make ping(ICMP proto) program using java,
i know i must use jni to do this,but anyone got example c code to do this?

i haven't done much networking stuff in c, so example code or web site url would be helpfull.
19  Discussions / General Discussions / Re: 1.4.2 on: 2003-06-28 16:30:42
why's there no more update function in control panel???

beta did have that..
20  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-22 11:46:48
thanks,that was the problem.
21  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-22 10:17:12
some init stuff
1  
2  
3  
            double model_view[] = new double[16];;
            double projection[] = new double[16];
            int viewport[] = new int[4];


and the code to get the values
1  
2  
3  
4  
5  
6  
7  
8  
gl.glGetDoublev(GL.GL_MODELVIEW_MATRIX, model_view);
int glError = gl.glGetError();
//this gives iinvalid operation string when using gluErrorString
gl.glGetDoublev(GL.GL_PROJECTION_MATRIX, projection);
glError = gl.glGetError();
//this gives invalid operation string when using gluErrorString
gl.glGetIntegerv(GL.GL_VIEWPORT, viewport);
glError = gl.glGetError();
22  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-22 07:21:39
now i know the problem,it isn't gluUnProject that is failing,
it's glGetDoublev and glGetIntegerv.
those return's full of zero's array
for GL.GL_MODELVIEW_MATRIX,GL.GL_PROJECTION_MATRIX and GL.GL_VIEWPORT.


now i need to know why those fail's and how to fix this.  Smiley
23  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-22 06:57:37
and when i check error's with glError after gluUnProject
it give's invalid operation.


and when i put DebugGL to canvas it complain's about every gl.glEnd();
and when i remove them it work's but when i click on canvas
so that it call's to method that contains gluUnproject
it give's me out of memory exception.

this is bit odd why it give's error from glEnd()?
24  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-22 06:46:40
but it still return's values 0.0,0.0,0.0
and gluUnProject return's GL_FALSE
so that's the reason for returning zero's.
but why it can't project?

i'm calling this method every time mouse has been clicked
on canvas
25  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-22 06:22:15
so the last line becomes:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
 glu.gluUnProject(
 x,  //mouse x
y,  //mouse y
1.0,  //z but which is the correct value????
modelMatrix,
 projMatrix,
 viewport,
 rRay_x,
 rRay_y,
 rRay_z);


right?

with rRay_x,y,z being array of size 3.

why's that? i'm used to have command like this(c):
1  
2  
gluUnProject ((GLfloat)x,(GLfloat)y, 1.0, modelMatrix, 
projMatrix, viewport, &rRay[0], rRay[1], &rRay[2]);


so this is becose of pointers?
anything else in jogl has this kind of tricks?


26  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-21 19:33:28
Grin

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
float camx = posV.x;
float camy = posV.y;
float camz = posV.z;
int viewport[] = new int[4];
double modelMatrix[] = new double[16];
double projMatrix[]=new double[16];
double rRay[]=new double[3];
gl.glGetIntegerv(GL.GL_VIEWPORT, viewport);
gl.glGetDoublev(GL.GL_MODELVIEW_MATRIX, modelMatrix);
gl.glGetDoublev(GL.GL_PROJECTION_MATRIX, projMatrix);
glu.gluUnProject(
      x,            //mouse x
     y,            //mouse y
     1.0,            //z but which is the correct value????
     modelMatrix,
      projMatrix,
      viewport,
      rRay,
      rRay,
      rRay);
27  Java Game APIs & Engines / JOGL Development / Re: window pos to gl pos on: 2003-06-21 17:28:58
doesn't return "good" value mean's that it alway's return's

x:0.0
y:0.0
z:0.0

sorry for not mention it.
28  Java Game APIs & Engines / JOGL Development / window pos to gl pos on: 2003-06-21 17:09:41
how can i convert my window position(mouse pos from mouse event) to my "world" position.

i googled an example using gluUnProject but it doesn't return "good" values.

so what i need is to convert my current mouse pos to scene pos so i can cast a ray to pick object under my mouse.

any pointer's to tutorial or example code would be helpfull.
29  Java Game APIs & Engines / JInput / jinput plugin error on: 2003-06-21 13:52:28
i'm using mind2machine compiled binary of jinput.

i get error with following code
1  
2  
3  
4  
5  
6  
7  
8  
ControllerEnvironment ce =
                  ControllerEnvironment.getDefaultEnvironment();
            Controller[] ca = ce.getControllers();
            for (int i = 0; i < ca.length; i++)
            {
                  Controller cont = ca[i];
                  System.out.println(cont.getName());
            }

and error is
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
java.lang.NullPointerException
        at net.java.games.util.plugins.Plugins.scanPlugins(Plugins.java:78)
        at net.java.games.util.plugins.Plugins.<init>(Plugins.java:73)
        at net.java.games.input.DefaultControllerEnvironment.scanControllersAt(D
efaultControllerEnvironment.java:170)
        at net.java.games.input.DefaultControllerEnvironment.scanControllers(Def
aultControllerEnvironment.java:162)
        at net.java.games.input.DefaultControllerEnvironment.access$000(DefaultC
ontrollerEnvironment.java:57)
        at net.java.games.input.DefaultControllerEnvironment$1.run(DefaultContro
llerEnvironment.java:108)
        at java.security.AccessController.doPrivileged(Native Method)
        at net.java.games.input.DefaultControllerEnvironment.getControllers(Defa
ultControllerEnvironment.java:106)


what's causing this?

i'm currently trying to build jinput with mingw but the project main page say's that i need dx8lib's but doesn't say where to put them,also i'm quite lost how to get the native code to build,root ant build file doesn't do that.
30  Java Game APIs & Engines / JOGL Development / Re: JOGL ant build on: 2003-06-21 07:24:20
what's the diffrence between cygwin and mingw?

i have alway's thought that cygwin is more closer to linux build env than mingw.

i got lot's of warning when running build.xml,emission warning's from antlr that is,should it build cleanly in antlr stage or is this know'n issue?
Pages: [1] 2 3
 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (81 views)
2014-04-15 18:08:23

BurntPizza (73 views)
2014-04-15 03:46:01

UprightPath (84 views)
2014-04-14 17:39:50

UprightPath (67 views)
2014-04-14 17:35:47

Porlus (83 views)
2014-04-14 15:48:38

tom_mai78101 (107 views)
2014-04-10 04:04:31

BurntPizza (167 views)
2014-04-08 23:06:04

tom_mai78101 (263 views)
2014-04-05 13:34:39

trollwarrior1 (213 views)
2014-04-04 12:06:45

CJLetsGame (223 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!