www.jpct.net

jPCT - a 3d engine for Java => Projects => Topic started by: 7on on January 18, 2004, 11:54:21 pm

Title: JPCT and Applets
Post by: 7on on January 18, 2004, 11:54:21 pm
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
Title: JPCT and Applets
Post by: EgonOlsen on January 19, 2004, 12:12:43 am
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...
Title: JPCT and Applets
Post by: Anonymous on January 19, 2004, 12:22:28 am
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.
Title: JPCT and Applets
Post by: 7on on January 19, 2004, 12:26:26 am
just another thing...
does the engine support lightmaps?
and can i use animated 3ds models, or
are they just static?
mfg 7on
Title: JPCT and Applets
Post by: EgonOlsen on January 19, 2004, 03:45:17 pm
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?
Title: Type of game
Post by: 7on on January 19, 2004, 11:11:08 pm
I'm planning to do a kind of online rpg with social hierarchies, quests, items
and so on.
For two (to four) friends of mine will develop with me (one of them a 3d artist) i think there could be quite nice results.
But the main motivation is to practize java programming with servlets/applets. And i think gamedevelopment is the most exciting way.

mfg 7on