Main Menu
Menu

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.

Show posts Menu

Messages - hayden621

#1
Support / Re: Camera Matrix
February 17, 2012, 05:53:12 AM
Thanks for your prompt reply!
#2
Support / Re: Camera Matrix
February 16, 2012, 06:15:47 AM
Thanks a lot!

As we are going make an android version of an iOS app, but we are not sure if JPCT can provide such support for that, I have sent you an email about the issue.

Thanks again!
#3
Support / Re: Camera Matrix
February 15, 2012, 11:17:07 AM
Hi,

But when I project the 3D world space to screen co-ordinate, I can only get the position but not the size. Is there a way to do so?

Hayden
#4
Support / Re: Camera Matrix
February 15, 2012, 08:03:16 AM
Hi,

By the way, mind asking is there any particle system that can be used with jpct?

Thanks!
#5
Support / Re: Camera Matrix
February 15, 2012, 04:13:16 AM
Hi,

We would like to get the screen co-ordinate of the 3d object as well the projected size. Is there any way we can get this?

P.S. I am from the same company as Russell, mind asking your something through email?

Hayden
#6
Support / Camera Matrix
February 10, 2012, 11:14:58 AM
Hi there,

Mind asking is there a way to get the camera view matrix and projection matrix?

Thanks a lot!

Hayden
#7
Support / Re: Overlay with NVidia Tegra II GPU
January 20, 2012, 05:13:09 AM
Quote from: EgonOlsen on January 16, 2012, 09:39:32 PM
Cool. I've no idea what i might have changed to make this work, but if it works now, all is fine...

Thanks so much for the update!
#8
Support / Re: Overlay with NVidia Tegra II GPU
January 20, 2012, 05:12:23 AM
Quote from: K24A3 on January 17, 2012, 08:38:29 AM
Maybe the eclipse project just needed to be cleaned. Often happens to me when I can't figure out strange glitches and problems.

Not likely, as this is the first thing I have done when I hit the issue.  ;)
#9
Support / Re: Overlay with NVidia Tegra II GPU
January 16, 2012, 12:24:27 PM
Hi guys, sorry for the trouble.

I just updated the JPCT-AE version from 1.23 to 1.24 and the overlay works fine!
#10
Support / Re: Overlay with NVidia Tegra II GPU
January 16, 2012, 09:41:19 AM
Textures are all placed in res/raw.

The warning is due to the 3D model used in the scene which should not have anything to do with the overlay.

I have also tried changing the color and format of the overlay image, but seems there is not much help.

All your help would be most appreciated. Thanks a lot guys!
#11
Support / Re: Overlay with NVidia Tegra II GPU
January 16, 2012, 03:23:11 AM
Sorry about the last log, as I was switching between Activities in the previous log. Here is the log when I directly go to the Activity which the overlays are loaded in black.


01-16 10:21:05.160: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:05.160: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:05.170: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:05.990: I/jPCT-AE(11372): Adding Lightsource: 0
01-16 10:21:05.990: I/jPCT-AE(11372): Adding Lightsource: 0
01-16 10:21:06.000: I/jPCT-AE(11372): OpenGL vendor:     NVIDIA Corporation
01-16 10:21:06.000: I/jPCT-AE(11372): OpenGL renderer:   NVIDIA AP
01-16 10:21:06.000: I/jPCT-AE(11372): OpenGL version:    OpenGL ES-CM 1.1
01-16 10:21:06.000: I/jPCT-AE(11372): OpenGL renderer initialized (using 2 texture stages)
01-16 10:21:06.000: I/jPCT-AE(11372): [ 1326680466007 ] - WARNING: No normals have been calculated for this mesh yet!
01-16 10:21:06.010: I/jPCT-AE(11372): [ 1326680466012 ] - WARNING: No normals have been calculated for this mesh yet!
01-16 10:21:06.010: I/jPCT-AE(11372): Memory usage before compacting: 5341 KB used out of 8071 KB
01-16 10:21:06.250: I/jPCT-AE(11372): Memory usage after compacting: 4823 KB used out of 8071 KB
01-16 10:21:06.250: I/jPCT-AE(11372): Saving MyRenderer!
01-16 10:21:06.250: I/jPCT-AE(11372): Using vm based buffer copies!
01-16 10:21:06.260: I/jPCT-AE(11372): Remapping 4 vertex indices!
01-16 10:21:06.260: I/jPCT-AE(11372): Creating vertex cache (96 bytes)!
01-16 10:21:06.260: I/jPCT-AE(11372): Vertex indices will be accessed directly!
01-16 10:21:06.260: I/jPCT-AE(11372): Subobject of object 2/__overlay plane 0__ compiled to indexed fixed point data using 6 vertices in 5ms!
01-16 10:21:06.260: I/jPCT-AE(11372): Object 2/__overlay plane 0__ compiled to 1 subobjects in 13ms!
01-16 10:21:06.270: I/jPCT-AE(11372): Remapping 4 vertex indices!
01-16 10:21:06.270: I/jPCT-AE(11372): Creating vertex cache (96 bytes)!
01-16 10:21:06.270: I/jPCT-AE(11372): Vertex indices will be accessed directly!
01-16 10:21:06.270: I/jPCT-AE(11372): Subobject of object 3/__overlay plane 1__ compiled to indexed fixed point data using 6 vertices in 2ms!
01-16 10:21:06.270: I/jPCT-AE(11372): Object 3/__overlay plane 1__ compiled to 1 subobjects in 3ms!
01-16 10:21:06.480: I/jPCT-AE(11372): 0fps
01-16 10:21:07.520: I/jPCT-AE(11372): 40fps
01-16 10:21:08.540: I/jPCT-AE(11372): 37fps
01-16 10:21:08.830: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:08.940: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.040: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.100: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.100: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.190: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.190: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.330: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.330: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.430: I/jPCT-AE(11372): Loading Texture...
01-16 10:21:09.540: I/jPCT-AE(11372): Remapping 6 vertex indices!
01-16 10:21:09.540: I/jPCT-AE(11372): Creating vertex cache (144 bytes)!
01-16 10:21:09.540: I/jPCT-AE(11372): Vertex indices will be mapped!
01-16 10:21:09.540: I/jPCT-AE(11372): Subobject of object 7/object9 compiled to indexed fixed point data using 12 vertices in 2ms!
01-16 10:21:09.540: I/jPCT-AE(11372): Object 7/object9 compiled to 1 subobjects in 2ms!
01-16 10:21:09.540: I/jPCT-AE(11372): Remapping 6 vertex indices!
01-16 10:21:09.540: I/jPCT-AE(11372): Creating vertex cache (144 bytes)!
01-16 10:21:09.540: I/jPCT-AE(11372): Vertex indices will be mapped!
01-16 10:21:09.540: I/jPCT-AE(11372): Subobject of object 10/object12 compiled to indexed fixed point data using 12 vertices in 1ms!
01-16 10:21:09.540: I/jPCT-AE(11372): Object 10/object12 compiled to 1 subobjects in 1ms!
01-16 10:21:09.540: I/jPCT-AE(11372): Remapping 6 vertex indices!
01-16 10:21:09.540: I/jPCT-AE(11372): Creating vertex cache (144 bytes)!
01-16 10:21:09.540: I/jPCT-AE(11372): Vertex indices will be mapped!
01-16 10:21:09.540: I/jPCT-AE(11372): Subobject of object 13/object15 compiled to indexed fixed point data using 12 vertices in 1ms!
01-16 10:21:09.540: I/jPCT-AE(11372): Object 13/object15 compiled to 1 subobjects in 1ms!
01-16 10:21:09.550: I/jPCT-AE(11372): Remapping 6 vertex indices!
01-16 10:21:09.550: I/jPCT-AE(11372): Creating vertex cache (144 bytes)!
01-16 10:21:09.550: I/jPCT-AE(11372): Vertex indices will be mapped!
01-16 10:21:09.550: I/jPCT-AE(11372): Subobject of object 16/object18 compiled to indexed fixed point data using 12 vertices in 1ms!
01-16 10:21:09.550: I/jPCT-AE(11372): Object 16/object18 compiled to 1 subobjects in 3ms!
01-16 10:21:09.550: I/jPCT-AE(11372): Remapping 6 vertex indices!
01-16 10:21:09.550: I/jPCT-AE(11372): Creating vertex cache (144 bytes)!
01-16 10:21:09.550: I/jPCT-AE(11372): Vertex indices will be mapped!
01-16 10:21:09.550: I/jPCT-AE(11372): Subobject of object 19/object21 compiled to indexed fixed point data using 12 vertices in 2ms!
01-16 10:21:09.550: I/jPCT-AE(11372): Object 19/object21 compiled to 1 subobjects in 2ms!
#12
Support / Re: Overlay with NVidia Tegra II GPU
January 13, 2012, 12:45:00 PM
And here is a normal log running the app from the old Galaxy SII which runs normally

or comparison, here is the log from a normal Galaxy S II
=============================================


01-13 18:43:51.430: I/jPCT-AE(31101): onResume
01-13 18:43:51.535: I/jPCT-AE(31101): OpenGL vendor:     ARM
01-13 18:43:51.535: I/jPCT-AE(31101): OpenGL renderer:   Mali-400 MP
01-13 18:43:51.535: I/jPCT-AE(31101): OpenGL version:    OpenGL ES-CM 1.1
01-13 18:43:51.535: I/jPCT-AE(31101): OpenGL renderer initialized (using 4 texture stages)
01-13 18:43:51.550: I/jPCT-AE(31101): Visibility lists disposed!
01-13 18:43:51.550: I/jPCT-AE(31101): All texture data unloaded from gpu!
01-13 18:43:51.550: I/jPCT-AE(31101): Renderer disposed!
01-13 18:43:51.550: I/jPCT-AE(31101): Static references cleared...
01-13 18:43:51.550: I/jPCT-AE(31101): OpenGL vendor:     ARM
01-13 18:43:51.550: I/jPCT-AE(31101): OpenGL renderer:   Mali-400 MP
01-13 18:43:51.550: I/jPCT-AE(31101): OpenGL version:    OpenGL ES-CM 1.1
01-13 18:43:51.550: I/jPCT-AE(31101): OpenGL renderer initialized (using 4 texture stages)
01-13 18:43:51.630: I/jPCT-AE(31101): Visibility lists disposed!
01-13 18:43:51.630: I/jPCT-AE(31101): Static references cleared...
01-13 18:43:56.950: I/jPCT-AE(31101): Loading Texture...
01-13 18:43:57.035: I/jPCT-AE(31101): Loading Texture...
01-13 18:43:57.145: I/jPCT-AE(31101): Remapping 6 vertex indices!
01-13 18:43:57.145: I/jPCT-AE(31101): Creating vertex cache (144 bytes)!
01-13 18:43:57.145: I/jPCT-AE(31101): Vertex indices will be mapped!
01-13 18:43:57.150: I/jPCT-AE(31101): Subobject of object 187/object189 compiled to indexed fixed point data using 12 vertices in 1ms!
01-13 18:43:57.150: I/jPCT-AE(31101): Object 187/object189 compiled to 1 subobjects in 1ms!
01-13 18:43:57.150: I/jPCT-AE(31101): Remapping 6 vertex indices!
01-13 18:43:57.150: I/jPCT-AE(31101): Creating vertex cache (144 bytes)!
01-13 18:43:57.150: I/jPCT-AE(31101): Vertex indices will be mapped!
01-13 18:43:57.150: I/jPCT-AE(31101): Subobject of object 190/object192 compiled to indexed fixed point data using 12 vertices in 0ms!
01-13 18:43:57.150: I/jPCT-AE(31101): Object 190/object192 compiled to 1 subobjects in 1ms!
01-13 18:43:58.720: I/jPCT-AE(31101): onPause
01-13 18:43:58.800: I/jPCT-AE(31101): Visibility lists disposed!
01-13 18:43:58.805: I/jPCT-AE(31101): All texture data unloaded from gpu!
01-13 18:43:58.805: I/jPCT-AE(31101): Renderer disposed!
01-13 18:43:58.805: I/jPCT-AE(31101): Static references cleared...
01-13 18:43:58.805: I/jPCT-AE(31101): Static references cleared...
01-13 18:43:59.115: I/jPCT-AE(31101): onResume
01-13 18:43:59.120: I/jPCT-AE(31101): onPause
01-13 18:43:59.305: I/jPCT-AE(31101): onResume
01-13 18:43:59.570: I/jPCT-AE(31101): Adding Lightsource: 0
01-13 18:43:59.570: I/jPCT-AE(31101): OpenGL vendor:     ARM
01-13 18:43:59.570: I/jPCT-AE(31101): OpenGL renderer:   Mali-400 MP
01-13 18:43:59.570: I/jPCT-AE(31101): OpenGL version:    OpenGL ES-CM 1.1
01-13 18:43:59.570: I/jPCT-AE(31101): OpenGL renderer initialized (using 4 texture stages)
01-13 18:43:59.570: I/jPCT-AE(31101): Memory usage before compacting: 20102 KB used out of 27463 KB
01-13 18:43:59.920: I/jPCT-AE(31101): Memory usage after compacting: 17297 KB used out of 27463 KB
01-13 18:43:59.920: I/jPCT-AE(31101): Saving ButterflyViewRenderer!
01-13 18:45:13.160: I/jPCT-AE(31101): onPause
01-13 18:45:13.240: I/jPCT-AE(31101): Visibility lists disposed!
01-13 18:45:13.240: I/jPCT-AE(31101): All texture data unloaded from gpu!
01-13 18:45:13.240: I/jPCT-AE(31101): Renderer disposed!
01-13 18:45:13.240: I/jPCT-AE(31101): Static references cleared...
01-13 18:45:13.240: I/jPCT-AE(31101): Static references cleared...
#13
Support / Re: Overlay with NVidia Tegra II GPU
January 13, 2012, 12:40:04 PM
Hi there,

We are using 1.1 and the log is as below:


01-13 19:37:10.390: I/jPCT-AE(9979): onResume
01-13 19:37:10.430: I/jPCT-AE(9979): OpenGL vendor:     NVIDIA Corporation
01-13 19:37:10.430: I/jPCT-AE(9979): OpenGL renderer:   NVIDIA AP
01-13 19:37:10.430: I/jPCT-AE(9979): OpenGL version:    OpenGL ES-CM 1.1
01-13 19:37:10.430: I/jPCT-AE(9979): OpenGL renderer initialized (using 2 texture stages)
01-13 19:37:11.860: I/jPCT-AE(9979): Visibility lists disposed!
01-13 19:37:11.860: I/jPCT-AE(9979): All texture data unloaded from gpu!
01-13 19:37:11.860: I/jPCT-AE(9979): Renderer disposed!
01-13 19:37:11.860: I/jPCT-AE(9979): Static references cleared...
01-13 19:37:11.860: I/jPCT-AE(9979): OpenGL vendor:     NVIDIA Corporation
01-13 19:37:11.860: I/jPCT-AE(9979): OpenGL renderer:   NVIDIA AP
01-13 19:37:11.860: I/jPCT-AE(9979): OpenGL version:    OpenGL ES-CM 1.1
01-13 19:37:11.860: I/jPCT-AE(9979): OpenGL renderer initialized (using 2 texture stages)
01-13 19:37:12.720: I/jPCT-AE(9979): onPause
01-13 19:37:12.760: I/jPCT-AE(9979): Visibility lists disposed!
01-13 19:37:12.760: I/jPCT-AE(9979): All texture data unloaded from gpu!
01-13 19:37:12.760: I/jPCT-AE(9979): Renderer disposed!
01-13 19:37:12.760: I/jPCT-AE(9979): Static references cleared...
01-13 19:37:12.760: I/jPCT-AE(9979): Static references cleared...
01-13 19:37:12.860: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:12.870: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:12.920: I/jPCT-AE(9979): Visibility lists disposed!
01-13 19:37:12.920: I/jPCT-AE(9979): Static references cleared...
01-13 19:37:12.920: I/jPCT-AE(9979): Visibility lists disposed!
01-13 19:37:12.920: I/jPCT-AE(9979): Static references cleared...
01-13 19:37:12.920: I/jPCT-AE(9979): Visibility lists disposed!
01-13 19:37:12.920: I/jPCT-AE(9979): Static references cleared...
01-13 19:37:12.960: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:13.750: I/jPCT-AE(9979): Adding Lightsource: 0
01-13 19:37:13.750: I/jPCT-AE(9979): Adding Lightsource: 0
01-13 19:37:13.750: I/jPCT-AE(9979): OpenGL vendor:     NVIDIA Corporation
01-13 19:37:13.750: I/jPCT-AE(9979): OpenGL renderer:   NVIDIA AP
01-13 19:37:13.750: I/jPCT-AE(9979): OpenGL version:    OpenGL ES-CM 1.1
01-13 19:37:13.750: I/jPCT-AE(9979): OpenGL renderer initialized (using 2 texture stages)
01-13 19:37:13.750: I/jPCT-AE(9979): [ 1326454633757 ] - WARNING: No normals have been calculated for this mesh yet!
01-13 19:37:13.750: I/jPCT-AE(9979): [ 1326454633759 ] - WARNING: No normals have been calculated for this mesh yet!
01-13 19:37:13.750: I/jPCT-AE(9979): Memory usage before compacting: 6207 KB used out of 14663 KB
01-13 19:37:13.980: I/jPCT-AE(9979): Memory usage after compacting: 6066 KB used out of 14663 KB
01-13 19:37:13.980: I/jPCT-AE(9979): Saving MyRenderer!
01-13 19:37:13.990: I/jPCT-AE(9979): Remapping 4 vertex indices!
01-13 19:37:13.990: I/jPCT-AE(9979): Creating vertex cache (96 bytes)!
01-13 19:37:13.990: I/jPCT-AE(9979): Vertex indices will be accessed directly!
01-13 19:37:13.990: I/jPCT-AE(9979): Subobject of object 91/__overlay plane 14__ compiled to indexed fixed point data using 6 vertices in 5ms!
01-13 19:37:13.990: I/jPCT-AE(9979): Object 91/__overlay plane 14__ compiled to 1 subobjects in 6ms!
01-13 19:37:13.990: I/jPCT-AE(9979): Remapping 4 vertex indices!
01-13 19:37:13.990: I/jPCT-AE(9979): Creating vertex cache (96 bytes)!
01-13 19:37:13.990: I/jPCT-AE(9979): Vertex indices will be accessed directly!
01-13 19:37:13.990: I/jPCT-AE(9979): Subobject of object 92/__overlay plane 15__ compiled to indexed fixed point data using 6 vertices in 3ms!
01-13 19:37:13.990: I/jPCT-AE(9979): Object 92/__overlay plane 15__ compiled to 1 subobjects in 5ms!
01-13 19:37:14.090: I/jPCT-AE(9979): 0fps
01-13 19:37:15.100: I/jPCT-AE(9979): 42fps
01-13 19:37:15.990: I/jPCT-AE(9979): Static references cleared...
01-13 19:37:16.090: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.120: I/jPCT-AE(9979): 41fps
01-13 19:37:16.150: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.150: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.200: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.310: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.360: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.360: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.420: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.420: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.570: I/jPCT-AE(9979): Loading Texture...
01-13 19:37:16.630: I/jPCT-AE(9979): Remapping 6 vertex indices!
01-13 19:37:16.630: I/jPCT-AE(9979): Creating vertex cache (144 bytes)!
01-13 19:37:16.630: I/jPCT-AE(9979): Vertex indices will be mapped!
01-13 19:37:16.630: I/jPCT-AE(9979): Subobject of object 96/object98 compiled to indexed fixed point data using 12 vertices in 2ms!
01-13 19:37:16.630: I/jPCT-AE(9979): Object 96/object98 compiled to 1 subobjects in 3ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Remapping 6 vertex indices!
01-13 19:37:16.640: I/jPCT-AE(9979): Creating vertex cache (144 bytes)!
01-13 19:37:16.640: I/jPCT-AE(9979): Vertex indices will be mapped!
01-13 19:37:16.640: I/jPCT-AE(9979): Subobject of object 99/object101 compiled to indexed fixed point data using 12 vertices in 1ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Object 99/object101 compiled to 1 subobjects in 3ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Remapping 6 vertex indices!
01-13 19:37:16.640: I/jPCT-AE(9979): Creating vertex cache (144 bytes)!
01-13 19:37:16.640: I/jPCT-AE(9979): Vertex indices will be mapped!
01-13 19:37:16.640: I/jPCT-AE(9979): Subobject of object 102/object104 compiled to indexed fixed point data using 12 vertices in 2ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Object 102/object104 compiled to 1 subobjects in 3ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Remapping 6 vertex indices!
01-13 19:37:16.640: I/jPCT-AE(9979): Creating vertex cache (144 bytes)!
01-13 19:37:16.640: I/jPCT-AE(9979): Vertex indices will be mapped!
01-13 19:37:16.640: I/jPCT-AE(9979): Subobject of object 105/object107 compiled to indexed fixed point data using 12 vertices in 1ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Object 105/object107 compiled to 1 subobjects in 1ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Remapping 6 vertex indices!
01-13 19:37:16.640: I/jPCT-AE(9979): Creating vertex cache (144 bytes)!
01-13 19:37:16.640: I/jPCT-AE(9979): Vertex indices will be mapped!
01-13 19:37:16.640: I/jPCT-AE(9979): Subobject of object 108/object110 compiled to indexed fixed point data using 12 vertices in 1ms!
01-13 19:37:16.640: I/jPCT-AE(9979): Object 108/object110 compiled to 1 subobjects in 2ms!
#14
Support / Re: Overlay with NVidia Tegra II GPU
January 13, 2012, 09:02:01 AM
Thanks for your reply, but those images are already in 128*128
#15
Support / Overlay with NVidia Tegra II GPU
January 13, 2012, 05:23:38 AM
Hi all,

I used the Overlay class for some UI in my application. It works fine with most GPU until testing with Samsung GT-I9103(new Samsung Galaxy S II), the overlay becomes black in color. Is there anything I can do with it?

Many thanks in advance.