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 - Irony

Pages: 1 [2] 3 4 ... 11
16
Support / Re: Simplevector.normalize(v)
« on: March 24, 2015, 02:37:55 pm »
Ok, thanks for the explanation!
One last question, do you see a problem with calling a.normalize(a)? Should I use two different vectors?

17
Support / Re: Simplevector.normalize(v)
« on: March 24, 2015, 02:29:36 pm »
 I meant specifically the version that takes the simplevector as an argument (I always use these methods wherever available).
I see the reasoning behind something as v1.add(v2), but as normalize(v) only operates on a single object for input and output, I thought it could/should be made static. But who cares, as long as it works and has no disadvantage other than looking strange :)



18
Support / Simplevector.normalize(v)
« on: March 24, 2015, 12:30:59 pm »
Sorry for being so anal, but I somehow don't like to see vec.normalize(vec) in my code ;)
Any specific reason why it's not a static method?

19
News / Re: Happy Birthday, jPCT-AE!
« on: March 04, 2015, 09:09:10 am »
Congratulations! Some impressive numbers.
But you forgot fact number 7:
Developer support: 11 / 10

 ;D

20
Support / Re: assign a GL texture to an Object3D
« on: February 03, 2015, 04:51:30 pm »
Thank you so much, I will try it out as soon as I find the time.

21
Support / Re: How to get Object3D's Position when loaded from .3ds
« on: January 01, 2015, 07:50:10 pm »
If you export the doors as seperate files, getCenter should work.

22
Support / Re: How to get Object3D's Position when loaded from .3ds
« on: January 01, 2015, 07:31:09 pm »
Because you have not translated the cube in you program yet. It is still at it's initial position. That it's not in the physical center of your exported 3ds file does not really matter for JPCT...
Question: What do you want to achieve exactly? Why not just set the cube at the center and translate it in the engine?
edit: Take a look at getCenter()/ getTransformedCenter. If you only have one object in the scene, it might achieve what you want.

23
Support / Re: assign a GL texture to an Object3D
« on: December 30, 2014, 12:50:29 pm »
Thank you! At first glance, I am doing all of this already. It's probably some tiny bit of code elsewhere that's not right... *putting on glasses, brewing some more coffee*

24
Support / Re: assign a GL texture to an Object3D
« on: December 30, 2014, 12:06:10 pm »
Hey raft,
I am trying to achieve something similiar to you: streaming mediaplayer video to a texture. It seems I am stuck exactly here:

Quote
argh :-[ you're right. texture was never initialized.

Can you give me a hint how you are doing the initialization now?
I create the texture object, set up the frameavailable listener, etc., but all I see is some random texture instead of the video ouput.
The playback itself works, as I can view the video in fullscreen, but it's not visible on JPCT's texture.

25
Feedback / Re: Android Studio...
« on: December 11, 2014, 01:32:10 pm »
Have you seen any advantages over Eclipse?

26
Feedback / Re: Android Studio...
« on: December 10, 2014, 11:35:17 pm »
That sounds really bad. Thank you for the warning.

27
Projects / Re: Armada RELEASE
« on: December 08, 2014, 01:00:37 am »
Long time no update... But the next big thing for Armada will be a story mode.
Not too many infos so far, but at least I can show a few pictures. Have a nice day! :)




28
Support / Re: relationship bwtween code and models
« on: December 01, 2014, 01:01:00 pm »

29
Support / Re: relationship bwtween code and models
« on: December 01, 2014, 12:34:40 pm »
Ok. You questions have been pretty vague, so I supposed you had not that much coding experience.
So, have you actually tried the Hello World before? :)

For models, look at Turbosquid, and sort by price. There are quite a lot of free .3ds and .obj.
Most of them have correct UV textures. So, you just have to add the texture to texturemanager, load the model and apply the texture. It's all in the Demos, Wiki, Javadoc... Just go step by step, and don't try to do "a simple running man" as a first step. This is the fourth or fifth step.

30
Support / Re: relationship bwtween code and models
« on: December 01, 2014, 12:10:07 pm »
Don't jump three steps ahead. I strongly suggest you first implement and UNDERSTAND the sample code given here: http://www.jpct.net/wiki/index.php/Hello_World_for_Android
Everything else comes from there. It's a learning process. No way around that.
But, if you are more into design than coding, you could either
a) get a coder
b) use a tool like Unity that lifts a lot of the coding for you.

Pages: 1 [2] 3 4 ... 11