jPCT - a 3d engine for Java > Projects

JPCT and Applets

(1/2) > >>

7on:
Hi!

I'm planning to make a little applet game using jpct.
Now at the very beginning, i'm lacking some examles.
Is there some examples/ source code available for
Applets using JPCT?
I'm thankful for every reply.

mfg 7on

EgonOlsen:
There are some examples in the API distribution. However, they is no applet example anymore since jPCT0.97, because i decided to remove it. It's code was rather outdated. If you want to, you can still grab 0.96, which contains an applet example, from here: http://www.jpct.net/download/jpctapi_096.zip
Anyway, using jPCT in an applet doesn't really differ from using it in an application...

Anonymous:
well thx!
it's just a little time since i've las programmed applets.
so i couldn't manage to convert your examples (fps...)
to applets.
thx for the sources.

7on:
just another thing...
does the engine support lightmaps?
and can i use animated 3ds models, or
are they just static?
mfg 7on

EgonOlsen:
No, it doesn't support lightmaps/multitexturing but vertex lighting. You can bake your static lighting into the textures if you want to, but you have to do this yourself. The reason for not supporting lightmaps/multitexturing is performance of the software renderer. It's the price you pay for the flexibility.
About the animation: You can do keyframed animations by either creating the animation in your code (by combining several meshes into an Animation) or by using the MD2-loader to load MD2-models. Using the animation out of a 3DS-file is not supported as it would require a completely different animation framework.

Hope this helps.

BTW: What kind of game are you planning to make?

Navigation

[0] Message Index

[#] Next page

Go to full version