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

#1
Support / Re: Move Camera around a scene
February 25, 2011, 03:47:16 PM
Thank you! I went with the dummy object approach and it worked perfectly!

Thanks!
#2
Support / Move Camera around a scene
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?
#3
Support / Re: Menu System
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 :)
#4
Support / Re: Menu System
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.
#5
Support / Re: Help with Texture Offset
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
#6
Support / Re: Anybody willing to do a small test?
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%

http://www.jpct.de/an3dbenchxl/details.php?code=MTE3OTMx66779

Any chance of release the source for the benchmark?  :P
#7
Support / Help with Texture Offset
February 24, 2011, 11:20:00 AM
Hi,

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 ExampleTextureOffset.java 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.

Thanks,
Tyrone