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.

Topics - kkl

Pages: [1] 2 3 4
Bones / Bones using jme library which does not support morph animation
« on: March 27, 2016, 05:13:20 am »

I'm using Blender2Ogre to export ogre mesh. It seems like the exporter uses morph animation instead of pose animation (morph animation is similar to pose animation as described by ogre

It prompts error when attempt to convert mesh.xml to bones
Code: [Select]
        Exception in thread "main" java.lang.IllegalArgumentException: jointIndex: -1
        at raft.jpct.bones.MeshChannel.<init>(
        at raft.jpct.bones.MeshChannel.<init>(
        at raft.jpct.bones.BonesImporter.convertJMEMeshChannel(
        at raft.jpct.bones.BonesImporter.importOgre(
        at raft.jpct.bones.util.JMEOgreImporter.loadGroup(
        at raft.jpct.bones.util.JMEOgreImporter.loadGroup(
        at raft.jpct.bones.util.JMEOgreImporter.main(

I backtracked the code and notice jme library in Bones does not support morph animation. Do we have a newer jme library which support for that? If we use latest version, does it break anything?

Support / NPOTTexture limitation?
« on: March 05, 2016, 05:51:15 pm »
Hi Egon,

I would like to make a depth of field effect by using post proccessing. It requires rendering the object z buffer in 1st render pass, then combine with main scene with a custom dof shader set to the framebuffer for post processing. To render the z buffer, we need to render the scene on a texture match with the screen width and height. I'm thinking of using NPOTTexture, but you mentioned in doc saying NPOTTexture is preferred to be in power of 2 as it's not supported in some devices. How should we do in this case? I worry if we create a power of 2 NPOTTexture and it does not match to screen width and height, we might have some texture size ratio problem. Please advise, thanks.

Projects / [3D Live Wallpaper] Betta Fish 3D
« on: December 07, 2015, 04:36:10 pm »
Betta Fish 3D

Inspired by 6S motion wallpaper, Betta Fish 3D is designed to refine the current 6S motion wallpaper, with outstanding and aesthetic graphics, finished with silky smooth animation.

Betta Fish 3D is a 3D live wallpaper that mimics the actual famous betta fish, the Siamese fighting fish. Betta Fish 3D is developed in a way that imitating exquisite photography of famous betta fish in aquarium tank. With 6 different betta fish variations and background color options for customizations, Betta Fish 3D is more lively and exciting for a live wallpaper. Betta Fish 3D is also designed to match fish color and background color, thus creating a phenomenal, state-of-art scene. In addition, Betta Fish 3D features silky smooth animation, while conversing your device battery at the same time.

Unlock all 6 different betta fish and background colors in Betta Fish 3D full version for more customizations. Try it out now!

Download Betta Fish 3D Now!

Betta Fish 3D demo on YouTube

Support / Texture virtualize delete
« on: November 07, 2015, 03:58:44 pm »
Hi egon,

Is it possible if you could add delete feature for texture that is virtualized to memory card? Or add delete when textureManager.unload() is called.

Reasons to have this:
1. In live wallpaper, there are occasions where only required textures are loaded, based on user settings in preference.  To avoid loading all textures during app startup (which can be slow),  only one required texture is loaded.
2. Virtualizer.cleanUp() can't be used as it will clean all other textures which are still in use. It also cleans up the shared texture from other Wallpaper instance too.
3. To save storage. Live Wallpaper context is always persistent and never close unless user select other live wallpaper. When new texture is virtualized, it seems like jpct will save another texture in memory card, even if the same texture id but different object is saved before, CMIIW.

Bones / "Number of vertices differ" for 2 meshes with one skeleton
« on: October 05, 2015, 05:06:29 pm »
Hi raft,

I got this error message when converting ogre xml to bones. The 2 objects in Blender and the objects are sharing the same skeleton. What actually caused this error, since 2 objects are suppose to be different in their number of vertices and sharing the same skeleton? Did I miss anything when i separate the object into 2 with sharing skeleton?

Projects / [3D Live Wallpaper] Ocean Blue 3D using JPCT-AE
« on: September 18, 2015, 04:12:35 pm »
Ocean Blue 3D

Dive into the beautiful and breathtaking deep blue ocean with a glimpse of lively underwater sea life. The sunlight high above from crystal clear ocean surface beams through the depth of the blue ocean, together with animated coral that swing along with the sea current, and a school of fish swimming past the plankton, creates a magnificent scene that you would never forget.

Ocean Blue 3D is a 3D live wallpaper that mimics the real life diving experience. Many customizations and options such as sea turtle, percula clown fish and the magnificent manta ray ,are available to make Ocean Blue 3D live wallpaper much lively and exciting. Ocean Blue 3D is also designed to adapt to your device background, so the tones of color match to your icons and homescreen. Thus, Ocean Blue 3D features silky smooth animation, while conserving your device battery at the same time.

Optional pack, Sea Life Pack, is also available for in-app purchase to make Ocean Blue 3D much more exciting with more sea life and customization such as butterfly fish, tomato clown fish, manta ray, sea turtle and many more. Try it out now!

Download Ocean Blue 3D Now!

Ocean Blue 3D demo on YouTube

Support / Object not shown and not rendered properly in some devices
« on: August 10, 2015, 02:56:41 pm »
Hi egon,

I tested my scene in Nexus 6 and some objects (opaque) do not show in the scene. The weirder part is, some objects (opaque) just disappear at a fixed position. Initially, I thought it's caused by other transparent objects overlapping them, but when I remove all transparent objects and render again with only opaque objects, and what I got is the objects are not render properly where they are cut off half way (see attachments). The cut off part only happen when another object is nearer to camera, overlapping it.

I checked from jpct log with debug mode, and it seems all normal. I do use custom shaders for those objects and some custom setSortOffset values. I tested on samsung s4, samsung note 10 and samsung trend plus, and they all work ok with no issue.

Do you have idea what might cause the issue?


I have one rotation matrix retrieved from Blender with the following coordinate system:
+Z is up
+X is right
-Y is forward

How do we map/convert that matrix with the coordinate system to JPCT's coordinate system?

Bones / Simple way to rotate entire skeleton permanently
« on: April 05, 2015, 10:30:39 am »
hi raft,

Is there any simple way to rotate the entire skeleton of an object permanently like rotateMesh() in jpct? I'm trying to map different coordination system from Blender to JPCT. Thanks.

Support / Light position transformation
« on: February 08, 2015, 09:19:16 am »
Hi egon,

How do we apply light position final transformation for shader? I tried use Camera.transform the the light position and the final result is incorrect. I need it for uploading custom light position to shader. Thanks n look forward to ur reply.

Support / Check vertex position after import .obj
« on: January 02, 2015, 11:41:39 am »
Hi Egon,

How can we check the final vertex position after importing .obj? I wanted to map it to jpct coordination. 

Support / Camera accelerate and decelerate with scroll
« on: December 15, 2014, 02:29:40 am »

Has anyone tried camera smooth scrolling before? Something like, the camera accelerates based on velocity and slows down(decelerate) when the touch event stops.

Support / GLSLShader usage same between jpct and jpct-ae?
« on: December 14, 2014, 10:22:52 am »
Hi egon,

R they the same? I tried using the same method from jpct-ae and it does nt work in jpct. Plus, it shows warning like
Code: [Select]
Matrix construction from matrix is not allowed in implicit GLSL version number 110

Support / Get modelViewMatrix from object
« on: November 16, 2014, 12:50:53 pm »
Hi Egon,

Is there anyway to get modelViewMatrix from object? I need it for multiple sub-meshes location and direction (crowd animation with hardware skinning), so I can animate the submesh by using only one object to reduce drawcall.

Support / Does setStaticUniform upload GPU every frame?
« on: November 12, 2014, 10:35:42 am »
Hi Egon,

Does setStaticUniform upload its value to GPU every frame? If yes, is it possible if we can make it upload only once and reuse afterwards, like texture?

Pages: [1] 2 3 4