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 - Peter Dym

Pages: 1 [2]
16
Support / Object rotation vs. world axes
« on: February 29, 2012, 05:24:57 pm »
Hi,

I have an airplane in the world which is moved/rotated along its axes. In one point I need to know its "world"  position. Angles beween the airplane axis (planes/surfaces) and the world represented by the terrain. Or better say - the absolute angles in the world. The question is related with the airplane flying model. My model is very simple - just rotates airplane around x (bank) and y (climb/desc.). The behaviour of the real airplane is the same so the azimut or direction is changed accordingly. But I would like to know the easiest way how to find the absolute angles (to be able to detect - should I land or crash :-)
(I'm talking about jpct-AE)
Thanx.

[attachment deleted by admin]

17
Projects / Re: Simple Animated Texture Interface
« on: February 19, 2012, 01:10:49 pm »
Paul, I am a programmer. A lazy pogrammer. I'm using jpct as a game, for playing. So I do not want to bother you. I just like jpct, android os, OpenGL and appreciating any help from experienced programmers like you are. Thanx.

18
Projects / Re: Simple Animated Texture Interface
« on: February 17, 2012, 09:13:48 pm »
...still really looking forward....   ;)

19
Projects / Re: Simple Animated Texture Interface
« on: February 06, 2012, 09:35:59 am »
Thanx, really looking forward to see it (and use it ?) :-)

20
Projects / Re: Simple Animated Texture Interface
« on: February 03, 2012, 09:06:33 am »
Paul, very nice. What about the Android version? I'm just looking for something like this to my AE project.

21
Support / Re: Fixed object in front of camera
« on: November 22, 2011, 02:59:19 pm »
And works with new world perfectly.

22
Support / Re: Fixed object in front of camera
« on: November 22, 2011, 09:07:02 am »
Thank you very much.

23
Support / Re: Fixed object in front of camera
« on: November 21, 2011, 06:53:15 pm »
Thanx for the answer. This is exactly what I'm trying. But probably wrongly and I'm not able to get it work. That's why I'm bothering the forum. The rotation of the artifical horizont is given by the actual rotation of the airplane so it cannot be aligned. Only the position is important for me.
I do not know what actually to do with the cam.getPosition() to set the object's position to "a little" bit in the cam.getDirection() direction :-)
It is always jumping and moving around the screen. Sorry.

24
Support / Fixed object in front of camera
« on: November 21, 2011, 05:00:52 pm »
I'm playing with jPCT-AE instead of playing real games :-)  I'm getting familiar with jPCT-AE by creating a simple fly simulator. I have created a terrain, I'm able to load a biplane, animate it and control the plane by sensors or by touch screen. I'm able to add buttons and other controlling features to the scene by blitting images.
And I would like to add a cockpit panel to the screen. I have a camera, its position and direction and I need an object (e.g. textured sphere) which will be added to the one fixed position. I can move arround my world, follow my plane but the object - actually the artifical horint (AF) should be fxed in one point in my view. I am faling to do that. My AF is always moving with my plane across the screen. I also wanted to test to create a new frame bufffer  with world with cockpit and render  it to texture - then blit it - but to have two different fb failed also. I feel that the solution can be simple and obvious. Any suggestions?

Pages: 1 [2]