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.


Messages - qjvictor

Pages: 1 [2] 3 4 ... 6
16
Support / 3d animation to movie?
« on: January 31, 2007, 05:41:13 pm »
I need to convert the 3d game to movie because of following reasons:
  1) every client should have the same view experience of this game.
      but if I use webstart or applet, this will depend on the client's pc, such as what kind of graphic card he uses.
  2) It is a horse race game, so the time is top important, if running in a slower pc, the horses look like slower and floating when racing.

  on word, the game should depend on the client hardware. So I think if I can convert the 3d game to a movie constantly, that will be great.

17
Support / 3d animation to movie?
« on: January 30, 2007, 11:14:44 pm »
thanks for reply.
I have to use OpenGL, so this way can't be the right solution.

could you give me some suggestion about this issue?

18
Support / 3d animation to movie?
« on: January 30, 2007, 11:07:00 pm »
now, it is hardware render(OpenGL), should I change it?

But if using software render, the performace is not good.

19
Support / 3d animation to movie?
« on: January 30, 2007, 08:50:54 pm »
I just found that when I call FrameBuffer.getOutputBuffer() to get an image, there has to a screen to be created on the server.
Is it possible to get the image with a backend program.  I mean I needn't show the screen.

20
Support / 3d animation to movie?
« on: January 30, 2007, 07:29:31 pm »
Thanks for reply.
I notice that in FrameBuffer class, there is a method called getOutputBuffer()
it will return an image. So is it possible to solve the problem using following way:
   1. in server side,  always create image files using getOutputBuffer()  method.
   2. in client side, always download the image files, and use JMF to render the image with media player.

with fraps, because there is no screen running at server side, how could it create a movie?

21
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?

22
Support / a question about camera.lookat()
« on: January 11, 2007, 10:08:59 pm »
Thanks for the reply.

Can I get the rotate angle of the camera comparied with the init position?

The problem is that how I know the angle's value?

23
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.

24
Support / Can I blit some part from texture, and set it transparent?
« on: January 10, 2007, 04:00:49 pm »
Thanks.
I will try.

And I want to thank EgonOlsen and all the guys in the forum. You all really help me a lot.

And I will help out to others if I can about this excellent engine.

:)

25
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.

26
Support / Error with webstart
« on: December 20, 2006, 10:02:31 pm »
ok, I will have a try.
tell you the result.

Could you give me a code slip which use java.library.path at the starting?

27
Support / Error with webstart
« on: December 20, 2006, 09:53:45 pm »
Yes, it works.
what's the code of the transferring the dll to local machine?
following is my code:
Code: [Select]
String home="C:/ampm/player";
     try {
         String base=servletPath+"/client/player/";
         byte[] dll=new Transferer(base+"lwjgl.dll").transfer();
         File file=new File(home);
         file.mkdirs();
         file=new File(home+"/lwjgl.dll");
         OutputStream out=new FileOutputStream(file);
         out.write(dll,0,dll.length);
         out.close();
      } catch(Exception e) {
         e.printStackTrace();
      }

Should I use System.load or something else to load the dll?

The Paradroidz  will pass the dll to the client, right?

28
Support / Error with webstart
« on: December 20, 2006, 09:44:58 pm »
already tried. doesn't work in jdk1.4, even remove the property line

Code: [Select]
  <resources>
      <j2se version="1.4+" initial-heap-size="128m" max-heap-size="300m"/>
      <jar href="horseracing.jar" main="true"/>
      <jar href="lib/lwjgl.jar"/>
      <jar href="lib/lwjgl_util.jar"/>
   </resources>
   <resources os="Windows">
      <j2se version="1.4+"/>
      <nativelib href="lib/lwjgl_win.jar"/>
      <property name="java.library.path" value="." />
   </resources>

29
Support / Error with webstart
« on: December 20, 2006, 09:31:32 pm »
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://......" href=".....jnlp">
<application-desc main-class="com.horse.HorseRunnerMain"/>
<information>
<title>...</title>
<vendor>...</vendor>
<homepage href="http://......"/>
<description>...</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+" initial-heap-size="128m" max-heap-size="300m"/>
<jar href="horseracing.jar" main="true"/>
</resources>
<resources os="Windows">
<j2se version="1.4+"/>
<nativelib href="lib/lwjgl_win.jar"/>
</resources>
</jnlp>

30
Support / Error with webstart
« on: December 20, 2006, 09:27:36 pm »
after remove that line, it is still not working in jdk1.4

I am crazy about this issue.

Pages: 1 [2] 3 4 ... 6