Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Melssj5

#21
Hi I ran my Flier Match and fixed some bugs when I tested it:

Machine 1: Server
Machine 1: Client 1
Machine 1: Client 2

I had the ran well, but when I press alt+tab and changed from one OpenGL fullscreen client to the other I got an exceptio that it runs out of memory. I cant post the exception now becausse I forgot my pen drive at home.  :-[

It seems to be out of video memory becausse is not the typical message when running of of ram memory. I will post the exception tomorrow but I post this today becausse maybe someone has an idea anout how to fix it.
#22
Support / Problem loading applet
August 29, 2008, 06:57:39 AM
Hi I made an applet and signed it, I extractes the class folder from lwjgl.jar, lwjgl-util.jar and jpct.jar and put the in the classpath. I coipied the lwjgl.dll in the system32. and I am getting tis:


Java version is: 1.5.0_07
-> support for BufferedImage
Version helper for 1.2+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Software renderer disposed
java.lang.LinkageError: Version mismatch: jar version is '12', native libary version is '11'
   at org.lwjgl.Sys.<clinit>(Sys.java:105)
   at org.lwjgl.opengl.AWTGLCanvas.<clinit>(AWTGLCanvas.java:88)
   at com.threed.jpct.AWTGLRenderer.init(Unknown Source)
   at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
   at com.threed.jpct.FrameBuffer.enableGLCanvasRenderer(Unknown Source)
   at visor.Visor.<init>(Visor.java:55)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
   at java.lang.reflect.Constructor.newInstance(Unknown Source)
   at java.lang.Class.newInstance0(Unknown Source)
   at java.lang.Class.newInstance(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)



Any idea?
#23
Support / How to set or change tiling on an object
August 28, 2008, 08:07:48 PM
Hi, i am working on a app to view some houses from inside and outside, the idea is that the user is able to change dinamicly the texture of floor, walls, etc.

Now my problem is:
- When I use a texture like wood, it has to be applies on some way, but if I use another one like

or




then I must adjust the tiling on somehow to make fit a determined amount of those textures in a squared meter.

The first pic may be displayed in a distribution from 2x2

but the second one may be only one of those for each squared meter.

Any ideas, any suggestion about how to work with this kind of project.
#24
Support / Question about textures
July 21, 2008, 08:17:44 PM
Hi, here is my question. Can I load a TextureManager from an object without having the files on my disc, for example lets say I use an ObjectOutputStream to save the TextureManager, can I restore it fro mthat file eve withput having the jpg files on my disc? will it work?
#25
Support / Object3d got from a database
July 12, 2008, 01:38:29 AM
Hi, Can I make an Object3D from a database information, I mean, I want to save all the 3ds files and textures on a database as blob and reconstruct them to use them in jpct. I have no idea about this, any clues?
#26
Support / when a collisionEvent is fired
May 20, 2008, 11:39:08 PM
Hi, I want to know when the collisionListener recognizes a collision. Do I need to do use a chekCollision.. method to make this happens or it will be recognized just by moving the object arround my world without calling to a check collision method for that object3d?
#27
Feedback / How to use ogl on an applet
May 15, 2008, 07:25:37 PM
Hi, I have already done applets with opengl by signing them, but I dont know how to distribute them, because of the dll file needed. My question is? How to pack, join, merge, or whatever, all the dlls needed for running an applet that use dlls!!!!!
#28
Support / how to know the target of a collision.
May 12, 2008, 07:34:04 PM
Hi, I want to know the target of a collision but the CollisionEvent only has getSource () and getObject () that are the same object inmost cases, but a method getTarget () is missing. Is there any way to get the target of a collision is my CollisionListener is on the source of the collision.....?  >:(

I want to put the collisionListener on the bullets to be fired and when they collide with something do something, but on this situation theObject and getSource returns the same object that is the bullet.
#29
Hi, I think there is a bug in CollisionListener or addCollisionListener or something. This is the problem :o

I have a class (on the server side) wich implements the CollisionListener, when I do:

first: Object3D.addCollisionListener (this);
then: ObjectOutputStream.writeObject (Object3D);

I am getting a not Serializable exception. I dont know why.

But if instead I try to do this:

first: ObjectOutputStream.writeObject (Object3D);
inmediatly: Object3D.addCollisionListener (this);


I got an OptionalDataException with EOF=true.


I guess that there is some kind of problem with serialization and the collision listening.
#30
Support / Coloring everything
April 15, 2008, 08:00:05 PM
Hi, Is there (or will be) anyway to colour all the FrameBuffer, for example to see everything with a red tint filter or something.

I want to use this to colour everything a few milliseconds when receiving a shot.
#31
Support / Loading X Files
April 11, 2008, 08:46:02 PM
Will there (anyday) be support for loading .x files???? Especially for animations.
#32
Support / a texture is arbitrary being applied
March 20, 2008, 02:20:08 AM
Hi, I made an object without a pic texture on 3ds max 8, when I exported it into jpct a texture is being applied but it shoulkd have the dummy tecture. I mean that a texture is arbitrary being applied on objects without an especific texture.
#33
Support / Any GOOD md2 exporter
March 14, 2008, 02:49:54 AM
Hi, Is there any good md2 exporter for max, I tried qtip but it sucks, it changes the texture and object coordinates, and also supports only 20 frames and when exporting from 3ds max 8 jpct doesnt load the object.

Is it possible to have animation with 3ds files. 3ds file format support animation, is there anyway to have this. It will be very helpfull. for exporting, and texturing.

I know that the 3ds loader algorythm was taken from the internet but can you Egon ty to implement this.
#34
Support / Any java 3d sound api instead of OpenAL
March 04, 2008, 11:31:37 PM
Hi, I sthere any good 3d sound api for java, I dont want to use openAL becausse is tooooooooooo complicated, even for simple things like playing a FIle, I found a sound API for java that requires only 2 lines of code to play a file (almost 30 or more with open AL) but is not 3d and its useless for he game I am developing.
#35
Hi, I am getting a NullPointerException when calling to renderScene (buffer)

I am sure than neither the world nor the FrameBufer is null, so the problem must be a bug os something becausse it happens sometimes. not always.

I have tested the app on 2 machines. and this happens mostly on my P3 laptop with a GForce 2. on my P4 qith a fx 5600 almost never happens this.

this is the stackTrace:

Java version is: 1.6.0
-> support for BufferedImage
Version helper for 1.2+ initialized!
-> using BufferedImage
Software renderer (OpenGL mode) initialized
Current mode:800 x 600 x 32 @60Hz
Driver is: nv4_disp/5.13.1.1533 on NVIDIA Corporation / GeForce2 MX/AGP/SSE
FBO not supported or disabled!
OpenGL renderer initialized (using 2 texture stages)
Software renderer disposed
Exception in thread "Thread-3" java.lang.NullPointerException
        at com.threed.jpct.Object3D.render(Unknown Source)
        at com.threed.jpct.World.renderScene(Unknown Source)
        at Flier_Match.FMCliente.video.RenderThread.mostrarImagen(RenderThread.j
ava:175)
        at Flier_Match.FMCliente.video.RenderThread.run(RenderThread.java:148)
Conexion establecida con: lrocha en el puerto: 8888
Recibiendo identificador del jugador y su nave
Identificador recibido: 2

Basicly this happens when I want to switch Worlds for rendering.
#36
Hi, Is there anyway to remove the windows mouse pointer?????
#37
Support / How to blit a pic into a diferent size
March 03, 2008, 06:01:33 PM
Hi, how can I blit an image in a diferent size than the original pic.

I have a pic of 800x600 and I want it to be blitted on all the screen but the resolution is not always of 800x600 so I need it to be resized on somehow.

Is there anyway to change the size of the original pic?

Is there anyway of changing the size of the texture used for blitting?
#38
Support / Re: Possible downtimes!
July 18, 2007, 01:36:46 AM
Hey Egon, I forgot to report something about the enviroment map on the second layer. On many machines the enviroment map is not being applied, I thought it was due a bad quality video card such as the s3 on mainboards like biostar or asrock, but I tested more and on a intel 128MB and on a Nvidia 256 MB the reflection efect didnt appeared!
#39
Feedback / distance from a point to an Object3D?
July 13, 2007, 06:23:29 PM
Can I get the distance from a point to an Object3D?, not just getting the difference from its centers, but calculating a perpendicular projection from a point to the body?. I will post images later

#40
Feedback / using JPCT for cartography!
July 10, 2007, 02:30:47 AM
Hi, I  must do an own "google maps" system from 0, no maps, no tools, no nothing.  >:( >:( >:(

I was thinking on using jpct for loading the maps but I am worried about the memory becausse they would be huge (a city map) but I could use many of their advantages like getting names from the objects, rendering, the interact2D methods, being able to mark points, java based and trace a route. I guess I might use jpct for this but I am afraid becausse I must do it fast and well, but I got too many requirement and 0 resources for that. I have been looking for GIS tools but I have had not luck with it.

If anyone knows how can I do a mini google maps for tracking vehicles, tracing routes, showing address info, etc etc etc, please tell me becausse I really really need it!  :'( :'( :'(