Difference between revisions of "Main Page"

From JPCT
Jump to: navigation, search
(Code snippets)
(Code snippets and other tips)
 
(41 intermediate revisions by 8 users not shown)
Line 12: Line 12:
  
 
[http://www.jpct.net/forum2 The jPCT / jPCT-AE community]
 
[http://www.jpct.net/forum2 The jPCT / jPCT-AE community]
 +
 +
[http://jpct.de/download/files/md2.7z A collection of third party MD2 models]
  
 
=jPCT - a 3D engine for Java=
 
=jPCT - a 3D engine for Java=
Line 28: Line 30:
  
 
[[ Hello World ]]
 
[[ Hello World ]]
 
+
 
[[ Loading models ]]
 
[[ Loading models ]]
  
Line 38: Line 40:
  
 
[[ Using jPCT in Swing ]]
 
[[ Using jPCT in Swing ]]
 +
 +
[[ Thread safety ]]
  
 
== Advanced topics ==
 
== Advanced topics ==
Line 80: Line 84:
  
 
[[ Differences between jPCT and jPCT-AE ]]
 
[[ Differences between jPCT and jPCT-AE ]]
 +
 +
[[ Thread safety ]]
 +
 +
[https://youtu.be/6SLz7tMBA8k An introductory lecture by Prof. Giovanni Malnati]
  
 
==Advanced topics==
 
==Advanced topics==
Line 92: Line 100:
  
 
[[ GPU guide ]]
 
[[ GPU guide ]]
 
[[ jPCT-AE and libgdx ]]
 
  
 
[[ Collision detection ]]
 
[[ Collision detection ]]
  
=Code snippets=
+
[[ Integrating JPCT-AE with Vuforia ]]
 +
 
 +
[https://passospetits.wordpress.com/2015/12/28/augmented-reality-3d-with-jpct-ae-and-artoolkit/ Integrating jPCT-AE with ARToolkit]
 +
 
 +
[[Avoiding hiccups]]
 +
 
 +
=Code snippets and other tips=
 +
 
 +
[[ Software mode demo ]]
 +
 
 +
[[ MultiTouch camera controls ]]
  
 
[[ FPS-like camera controls ]]
 
[[ FPS-like camera controls ]]
Line 108: Line 124:
  
 
[[ Performance monitor ]]
 
[[ Performance monitor ]]
 +
 +
[[ Fake unlimited viewing distance ]]
 +
 +
[[ Distance based functions snippet ]]
 +
 +
[[ Terrain with foliage example ]]
 +
 +
[[ Particle effect example ]]
 +
 +
[[ Nicer GUI elements with NinePatches ]]
 +
 +
[[ Open sourced projects from Thomas ]]
 +
 +
[[ Mouse follow demo ]]
 +
 +
[[ Texture splatting on a terrain ]]
 +
 +
[[ Basic shadow mapping ]]
 +
 +
[[ Example for Google Cardboard ]]
 +
 +
[[ Basic algebra ]]
 +
 +
[[ Develop JPCT programs using Python language (Jython) ]]
  
 
=Bones for jPCT/jPCT-AE=
 
=Bones for jPCT/jPCT-AE=
  
 
[http://www.jpct.net/forum2/index.php/board,10.0.html Bones in the forum]
 
[http://www.jpct.net/forum2/index.php/board,10.0.html Bones in the forum]
 +
 +
[[ Links ]]
  
 
[[ Notes on Exporting from Maya/Max/Softimage with OgreMax ]]
 
[[ Notes on Exporting from Maya/Max/Softimage with OgreMax ]]
Line 118: Line 160:
  
 
[[ Animation Blending (combining vertex and bone animation) ]]
 
[[ Animation Blending (combining vertex and bone animation) ]]
 +
 +
[[ Bones Ninja demo android studio project ]]
 +
 +
[[ Tutorial: Creating models in 3dsMAX and Render via jPCT-Bones  ]]
 +
 +
[[ Hybrid GPU Shader Animations for Bones ]]
  
 
=Tools=
 
=Tools=
  
 
[[ Reducing high-poly models ]]
 
[[ Reducing high-poly models ]]
 +
 +
[https://github.com/andresjesse/jpctblend Blender scene exporter]
 +
 +
=Common mistakes=
 +
 +
[[No or wrong textures after loading a model]]
 +
 +
[[Nullpointer during rendering and/or collision detection]]
  
 
=Tips for Android=
 
=Tips for Android=

Latest revision as of 07:02, 21 September 2017

The jPCT / jPCT-AE wiki


jPCT is a free, small, fast and easy to learn 3D engine for Java and Android, Google's mobile platform. It offers support for software and hardware rendering. This Wiki should help people with tutorials, instructions and samples. If you think that you have something to contribute, contact info@jpct.net and ask for an account. Account creation has been disabled due to massive spam attacks.


jPCT resources

jPCT - 3D for Java

jPCT-AE - jPCT for Android

The jPCT / jPCT-AE community

A collection of third party MD2 models

jPCT - a 3D engine for Java

Installation

Requirements

How to install

How to start

First steps

Coordinate system

Hello World

Loading models

Lighting

Applets

Advanced example

Using jPCT in Swing

Thread safety

Advanced topics

The different renderers

Collision detection

Multithreading

Compiled objects

Picking

Shaders

Physics

Mip mapping


jPCT-AE - a 3D engine for Android

Installation

Requirements for jPCT-AE

Installation of jPCT-AE

How to start

Using the emulator

Hello World for Android

Coordinate system

Loading models

Simple Camera Movement

Differences between jPCT and jPCT-AE

Thread safety

An introductory lecture by Prof. Giovanni Malnati

Advanced topics

OpenGL ES 2.0 support

Reducing memory usage

Collision detection

Picking

GPU guide

Collision detection

Integrating JPCT-AE with Vuforia

Integrating jPCT-AE with ARToolkit

Avoiding hiccups

Code snippets and other tips

Software mode demo

MultiTouch camera controls

FPS-like camera controls

Heightmap

Create a cube

Getting Worldspace Bounds

Performance monitor

Fake unlimited viewing distance

Distance based functions snippet

Terrain with foliage example

Particle effect example

Nicer GUI elements with NinePatches

Open sourced projects from Thomas

Mouse follow demo

Texture splatting on a terrain

Basic shadow mapping

Example for Google Cardboard

Basic algebra

Develop JPCT programs using Python language (Jython)

Bones for jPCT/jPCT-AE

Bones in the forum

Links

Notes on Exporting from Maya/Max/Softimage with OgreMax

Exporting from Blender to Bones

Animation Blending (combining vertex and bone animation)

Bones Ninja demo android studio project

Tutorial: Creating models in 3dsMAX and Render via jPCT-Bones

Hybrid GPU Shader Animations for Bones

Tools

Reducing high-poly models

Blender scene exporter

Common mistakes

No or wrong textures after loading a model

Nullpointer during rendering and/or collision detection

Tips for Android

Performance tips for Android

Profiling Android Applications

Tips for Java Applets

Applet using the lwjgl joystick

Changing applet's heap size via HTML