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.


Messages - Thomas.

Pages: 1 ... 52 53 [54] 55 56
796
Support / Re: 3Ds max options
« on: December 28, 2010, 04:23:35 pm »
I loaded object from 3ds file and now I need translate other object to same position in worldspace, but method getTranslation and getWorldTranslation every return 0 as position, even method align does not working... any advice?

797
Support / Re: 3Ds max options
« on: December 26, 2010, 11:26:40 pm »
Many thanks... problem with position is gone :)

798
Support / Re: 3Ds max options
« on: December 26, 2010, 10:17:07 pm »
If I load objects from one 3ds file and every one add into world, everything have a bad position... How can I translate objects to position, where should be?
And my next issue is, that I can not load 3ds objects from SD...
If I use this, all are ok
Code: [Select]
int numbOfObjects = Loader.load3DS(res.openRawResource(R.raw.map01), 1).length; but this not working
Code: [Select]
InputStream map = new FileInputStream(MAPS_PATH + "map01" + ".3ds");
int numbOfObjects1 = Loader.load3DS(map, 1).length;
and this working, but load only first object
Code: [Select]
levelObj[0] = Loader.load3DS(map, 1)[0];
and here is log
Code: [Select]
12-26 15:52:56.259: INFO/jPCT-AE(1955): Processing object from 3DS-file: =monitor01
12-26 15:52:56.263: INFO/jPCT-AE(1955): Object '=monitor01_jPCT9' created using 12 polygons and 8 vertices.
12-26 15:52:56.263: INFO/jPCT-AE(1955): Loading file from InputStream
12-26 15:52:56.263: INFO/jPCT-AE(1955): [ 1293375176265 ] - ERROR: Couldn't read file from InputStream
12-26 15:52:56.310: WARN/dalvikvm(1955): threadid=8: thread exiting with uncaught exception (group=0x4001d7d0)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955): FATAL EXCEPTION: GLThread 9
12-26 15:52:56.310: ERROR/AndroidRuntime(1955): java.lang.RuntimeException: [ 1293375176265 ] - ERROR: Couldn't read file from InputStream
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at com.threed.jpct.Logger.log(Logger.java:159)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at com.threed.jpct.Loader.loadBinaryFile(Loader.java:1083)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at com.threed.jpct.Loader.loadBinaryFile(Loader.java:1024)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at com.threed.jpct.Loader.load3DS(Loader.java:1409)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at com.threed.jpct.Loader.load3DS(Loader.java:143)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at cz.game.main.Demo$MyRenderer.onSurfaceChanged(Demo.java:701)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1325)
12-26 15:52:56.310: ERROR/AndroidRuntime(1955):     at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
12-26 15:52:56.310: WARN/ActivityManager(3166):   Force finishing activity com.main/cz.game.main.Demo

799
Support / Re: Anybody willing to do a small test?
« on: December 23, 2010, 12:26:45 am »
I hope to see a test of new generation Qualcomm's processors that have Desire HD or G2 :)

800
Support / Re: Anybody willing to do a small test?
« on: December 23, 2010, 12:13:38 am »
39,58fps on galaxy S with 2.2.1... very nice test ;)

801
Support / Re: 3Ds max options
« on: December 22, 2010, 10:07:01 pm »
Ok, but if I load 3ds file with complete scene (buildings, lamp, trees,...), how I find position of individual objects? And how can I use texture to specific object in scene? Some example would be very useful :)

802
Support / Re: 3Ds max options
« on: December 22, 2010, 09:24:39 pm »
And can I load from one 3ds more then one object?

803
Support / 3Ds max options
« on: December 22, 2010, 08:13:11 pm »
What all can I use in 3Ds max for correct displayed in render scene? (UVW mapping, opacity, specular, diffuse color or bitmap,...). Thanks :)

804
Support / Re: Anybody willing to do a small test?
« on: December 19, 2010, 11:11:39 pm »
How many polygons are rendering? Only 26 fps on galaxy S, it is not good ;D

805
Support / Re: Anybody willing to do a small test?
« on: December 19, 2010, 10:57:11 pm »
Galaxy S : 26,07 / 26070

806
Support / Re: Anybody willing to do a small test?
« on: December 19, 2010, 11:22:17 am »
On galaxy S with 2.2.1 it is running about 42fps, but I think that textures of lenses are bad... scene is nice :)


807
Support / Re: Version updates!
« on: December 18, 2010, 10:28:44 pm »
oh, thanks :) ... I dont know, why I must do everything complicated :D

808
Support / Re: Version updates!
« on: December 18, 2010, 09:22:13 pm »
No. getPosition() is what getTranslation() or getTransformedCenter() do, setPosition() would be either translate(...) or clearTranslation();translate(...). No need to add additional methods that do the same thing.
For example, if I want to set position of object3D same as light, I must do this everytime:

Code: [Select]
SimpleVector lv = new SimpleVector(sun.getPosition());
sun.rotate(new SimpleVector(0, 0.05f, 0), plane.getTransformedCenter());
SimpleVector nlv = new SimpleVector(sun.getPosition());
light.translate(nlv.calcSub(lv));

809
Support / Re: Anybody willing to do a small test?
« on: December 18, 2010, 12:45:59 am »
You are very fast, I edited my post... It looks same as your screenshot :)

810
Support / Re: Anybody willing to do a small test?
« on: December 18, 2010, 12:33:31 am »
On Galaxy S with custom tweaked 2.2.1 starts with 38fps and 43fps when is nothing to see... looks be fine :)

Pages: 1 ... 52 53 [54] 55 56