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
|
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. 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.
|
|
|
|
|
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...
|
|
|
|
|
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....
|
|
|
|
|
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?
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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(); gl.glGetDoublev(GL.GL_PROJECTION_MATRIX, projection); glError = gl.glGetError(); 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. 
|
|
|
|
|
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()?
|
|
|
|
|
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, y, 1.0, 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
|
 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, y, 1.0, modelMatrix, projMatrix, viewport, rRay, rRay, rRay); |
|
|
|
|
|
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?
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|