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

Pages: [1]
Support / Re: Move Camera around a scene
« on: February 25, 2011, 03:47:16 pm »
Thank you! I went with the dummy object approach and it worked perfectly!


Support / Move Camera around a scene
« on: February 25, 2011, 02:59:06 pm »
Hi, I have a scene, which basically just contains a textured sphere object.

What I would like to do, is move the camera around the sphere in a circular motion, would look as if the sphere itself was rotating. I've got the sphere to rotate, but as an experiment would like to figure out how to rotate the camera.

I've been reading on all sorts of calculations and translations to do this, but have yet to get it right.

Any help please?

Support / Re: Menu System
« on: February 24, 2011, 04:04:17 pm »
Essentially, I'm trying to develop a GUI framework for jPCT, thats as customizable as possible. However, am only in early stages of this. Once the framework starts to take shape, I'll open up the source :)

Support / Re: Menu System
« on: February 24, 2011, 03:34:22 pm »
What I'm doing is building menu or UI "components" that can then be blitted to the screen. For text blitting I'm using a slightly modified version of r.a.f.t's GLFont and TexturePack, @raft, I hope this is OK ???. And for the menu item containers, I'm just using dynamically created bitmaps of whatever colour the dev would like his/her menu to be. Am also using TexturePack for this. Then simply handle the click events by polling the click coords with the coords of each menu item and fire your own custom event.

I also thought about having an activity for handling menu operations, however, it made more sense to me to have an OpenGL based menu, whereby, you could, for example display a pause menu over your scene and will allow you to add screen controls to your game, like pause, change weapons, etc.

I hope this helps, it will be interesting to hear other ideas also, I'm sure there maybe better solutions to this.

Support / Re: Help with Texture Offset
« on: February 24, 2011, 02:06:01 pm »
Ah ok thanks, I figured ITextureEffect was the wrong way to go  :)

I've successfully transformed the texture, however, am now trying to figure out something else. I can't work out how to apply two different textures of different sizes. I'm using the earth and clouds.png textures from the min3d samples :o

Earth is 512^2 and clouds are 256^2

Support / Re: Anybody willing to do a small test?
« on: February 24, 2011, 12:07:45 pm »
Benchmark ran smoothly on HTC Desire running the latest test build of Oxygen ROM.

CPU usage was around 64% - 67%

Any chance of release the source for the benchmark?  :P

Support / Help with Texture Offset
« on: February 24, 2011, 11:20:00 am »

I'm trying to get a Min3D example running using jPCT, however, I cannot figure out how to go about modifying the textures offset.

The example I'm referring to is found in Min3D's google code repo.

Is this possible? I thought maybe I need to use the ITextureEffect interface, however, I cannot quite figure out how it works, and am not sure of the U/V values either.

Any help will be greatly appreciated.


Pages: [1]