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.

Topics - qjvictor

Pages: [1] 2
Bugs / FrameBuffer.getOutputBuffer() problem with new jpct version.
« on: May 07, 2007, 05:43:06 pm »
when I use FrameBuffer.getOutputBuffer(), I get the exception as following:
   at java.lang.System.arraycopy(Native Method)
   at com.threed.jpct.FrameBuffer.getOutputBuffer(Unknown Source)

While when I use the old version, it works.

is it a bug?

Support / any idea about creating video from jPCT?
« on: May 01, 2007, 06:48:37 pm »
    Could you give me some idea about converting the 3d game based on jPCT to a video?
    And in the new version of jPCT, does the FrameBuffer.getOutputBuffer() still return an Image?  I got a nullpointexception here, while in previous version, it works good.
    My way to generate a video is as following:
    1. get images from the framebuffer using getOutputBuffer();
    2. create a mov file from the images created.
    I think it is not a good way to create a video, could you give me some tips about this? Is there an existed way in OpenGL, Lwjgl to do such a job?
Thanks a lot.

Support / a problem about the new version of JPCT
« on: April 11, 2007, 11:01:07 pm »
I just upgraded my horse race game to Jpct new version, everything looks good, except:
  previous I used a canvas as the content of a JFrame, like following,
     canvas = buffer.enableGLCanvasRenderer(IRenderer.MODE_OPENGL);
   now, because the method "enableGLCanvasRenderer" is not supported anymore, so I have to change into:
     buffer.enableRenderer(IRenderer.RENDERER_OPENGL, IRenderer.MODE_OPENGL);
     so there is no canvas anymore.
   But the problem is that when I try to close this webstart window, the close button on the top-right of the window doesn't work!!!
And I accessed the bluethunder, the demo webstart, the close button doesn't work either, I have to use keyboard to close this webstart window, but this is not a good way, I think.

So has anybody ever met such a problem and how to figure it out, I mean use new version.

Support / 3d animation to movie?
« on: January 30, 2007, 06:26:48 pm »
is there a simple way to convert 3d animation to a movie?
I mean with Jpct, I've already developed a nice java 3d game, but it depends on the client's local hardware to show well, so I am wonderring that is it possible to convert the 3d game to a movie?

Support / a question about camera.lookat()
« on: January 11, 2007, 08:50:25 pm »
camera.lookat()  at an object,  it will put the object in the center of the screen.  Can the camera look at the object but the object is not in the center, ie, in the left or right part of the screen. notice that the object will keep on moving.

Support / Can I blit some part from texture, and set it transparent?
« on: January 09, 2007, 10:07:30 pm »
The thing is that:
      I need a transparent log on the left top of the jPCT world, and I also notice that  some words blitted from a texture look much better if they are in a transparent background.
     So Can I blit some parts from a texture( a picture, maybe GIF, JPG or PNG), and set the parts transparent?
     It is not the issue about FrameBuffer.TRANSPARENT_BLITTING or FrameBuffer.OPAQUE_BLITTING, when I set the  FrameBuffer.TRANSPARENT_BLITTING, the background will be missed if it is black, and if not black, the background will be there. But I need it is transparent.

Support / no lwjgl in java.library.path
« on: December 20, 2006, 06:18:34 pm »
I tried many methods, but still this error.

I try to put the lwjgl.dll to a specified folder, such as c:\temp, but how to specify the java.library.path to such a folder?  I used "System.setProperty("java.library.path","C:\\temp");" But doesn't work.

by the way, I am using webstart to show the 3d animation. So it is impossible to use commands such as "-Djava.library.path=path".

Anybody has a solution?


Support / JPCT eats so much CPU and Memory
« on: December 09, 2006, 12:58:28 am »
We developed a game with web start, the problem is that it seems the jPCT takes so much cpu and memory.
I think it is not the problem caused by my code. because I access and click some very simple demos,
it also takes much cup and memory.

Anybody has solution for this issue?


Support / texture transparent problem
« on: December 06, 2006, 03:48:51 pm »
2 Objects, I will merge them into one object.
Can I make one object's texture transparent, while the other one is normal?

Support / Does anybody has webstart example?
« on: December 01, 2006, 07:06:42 pm »
I need a web start example.
I try to convert my applet into web start.

Support / Applet OutOfMemoryError problem
« on: December 01, 2006, 04:51:05 pm »
Is there any way to solve such a problem?
If my 3ds and md2 files contains many objects (i.e. 1000), or my textures are big, the jPCT will cost much memory to load these resources. And when the program is compiled as Applet to use in client web browsers, the memory requested will greater than the default heap size of the JVM of client ( 64M), so any body has any solution about this issue?
Thanks a lot.

Support / How to solve opacity problem in jPCT
« on: November 29, 2006, 10:13:48 pm »
as topic, thanks.

Support / jPCT can't load instance objects in 3ds file?
« on: November 29, 2006, 04:01:02 pm »
in my 3ds file, some objects are instance objects, I found jPCT can't load this kind of objects by Loader.load3ds(), any way to load?

Support / 2 questions when using JPCT
« on: November 28, 2006, 09:17:07 pm »
1. will the Loader.load3DS() method load all the objects in a .3ds file? If the objects are the children objects of others.
    I find some objects in 3ds file are not loaded.
2. Some objects show sawtooth effect, how to solve it?


Support / I need the world looks like a real world.
« on: November 23, 2006, 11:10:17 pm »
if I want to my 3d world looks like a real world, is it correct that I set the light as following:
Code: [Select]
world.setAmbientLight(100, 100, 100);


Pages: [1] 2