Author Topic: Tutorials or Help  (Read 4470 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Tutorials or Help
« on: August 02, 2006, 11:58:55 pm »
Hello. I wanted to start writing programs with JPCT but I need some sort of getting started tutorial. Does anyone know of one.

I am a very good Java programmer, and I did write a program that draws an X-Wing with JPCT and moves the camera around by just reading tha API docs, but I'm not great at 3D graphics programming and a bunch of weird things are happening. The X-Wing isn't onscreen when I start the program, and it disappeard very fast as I zoom out. I've tried increasing FOV but that didn't help.

Also, I'm sure my code has some redundancies because, as I said, I wrote it by just reading the APIs.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Tutorials or Help
« Reply #1 on: August 03, 2006, 12:20:36 am »
Well, there is the "manual" (http://www.jpct.net/manual2/) but that's not exactly a tutorial...more like a brief overview about some basics without taking care of how to program the things mentioned.
Then there are the two examples that come with jPCT as well as some stuff done by Melssj5 (http://www.jpct.net/download.html). More complex stuff (i.e. a complete game written using jPCT) can be found here: http://www.jpct.net/download/paradroidz_src.zip
Maybe one of those is helpful?

Offline Melssj5

  • double
  • *****
  • Posts: 724
    • View Profile
Tutorials or Help
« Reply #2 on: August 03, 2006, 06:38:39 am »
Everyone who finds jpct want more basic examples or better help to begin, but they are give to no one. In fact jpct is quite easy when you began to understand how it tries to represent the world and the way it manipulate objects.

In fact once you have achieved on rendering a 3d model, aplying textures and moving a model by common events or a KeyMapper then you have already known the begginers facts of jpct and are ready to do more complex things.

The problem you got that the model disappears when going further can be fixed by adjusting the max amount of visible Polys in the Config class.

Everyone here will try to help you on your projects as we can, just ask more punctual question because the general are not oftenly well answered.
Nada por ahora

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Tutorials or Help
« Reply #3 on: August 04, 2006, 06:52:52 am »
Thank you both, particularly Melssj5 for pointing out the Config class. It helped a lot.