Showing posts with label car. Show all posts
Showing posts with label car. Show all posts

Tuesday, March 14, 2017

GT Racing 2 The Real Car Experience v1 0 2 UnlimitedGoldMoney

GT Racing 2 The Real Car Experience v1 0 2 UnlimitedGoldMoney


Screen01

If youre familiar with OpenGL, you know that it does not provide any native font/text support. On the PC, developers have access to wglUseFontBitmaps Windows extension to easily create Bitmap fonts for them; but unfortunately this is not available on Windows Mobile. However, a font is essentially just a texture, so all the tools necessary to draw text are available.

There are traditionally two approaches to drawing text on the screen:

  • Using GDI, draw the string to a Bitmap and load it into OpenGL for blitting.
    • Pros:
      • Easy to do.
      • Really fast if your text isnt changing. (2 triangles)
    • Cons:
      • You need a texture per string, which can be costly.
      • The texture objects are basically immutable and not reusable.
  • Using GDI, draw every printable character to a Bitmap, and then draw a series of quads that reference the specific texture coordinates you want to draw the corresponding letter. (creating dynamic Bitmap fonts)
    • Pros:
      • This is very efficient with memory, since any new string is simply just a new set of vertex and texture coordinates that reference a single texture.
      • Since the text is simply just a series of quads, you can do per vertex tweaking to do some really cool effects.
    • Cons:
      • More work on the GPU
      • Harder to set up and do "right".

Heres the resulting textures from both methods:

Foo

temp

1 Texture for a single blittable string

1 texture that contains all printable characters. Strings are drawn by drawing a series of rects.

 

The optimal approach to this problem would be a hybrid solution that would hinge on the nature of the text: static/dynamic, large/small, special effects/vanilla? But in this article, Im going to describe how to do it the better of the two ways when on a mobile platform: the single texture lookup.

Lets take a look at the sample image again:

Screen01 BitmapBrush

This sample is demonstrates a couple of the unique capabilities of the Bitmap font method:

  • The FPS and "this is" text is just standard text rendering. Notice that their geometry can overlap and not interfere with each others rendering. This is because the Bitmap font is actually just a GL_ALPHA texture. The visible portions of a letter have a non zero alpha.
  • The "a test" text is per character coloring. The top half is red, while the bottom left is green, and the bottom right is blue.
  • The "hello world" text is a multitextured font. The Bitmap font texture was merged with the flame texture on the right to create a cool textured string effect!

So, there are two challenges to creating a proper Bitmap font:

  • Determining the width/height of each character in a given font, and generating the resultant texture and character lookup position/dimension.
  • Creating vertex array and texture coordinate array from a given string (ie, "hello world").

Text is not as trivial to render as you may think at first glance. Characters are not just a series of identical sized quads that are lined up left to right. Each character has its own width, and one characters quad can actually overlap into another character. For example, look at these "foos". Notice how the "f" somewhat falls into the area over the first "o".

Foo

Foo2

Foo3

Rendered

Incorrect quads

Correct quads

This is a significant factor we need to account for when Bitmap fonts. Primitive approaches will often use the incorrect way since it is very easy to implement. The leading and trailing space font properties can be retrieved from GDI through the GetFontMetrics function. And another GDI call, GetCharWidth32, can be used to determine the width of a given character. With that, one can generate the Bitmap texture, and also compute the dimensions and overlap of each character.
 
Using this information, you can generate the following texture:
temp
This is a good start, but this Bitmap is still just an RGBA image. Although this bitmap works, all we really need is a texture that consists of only alpha components, ie, GL_ALPHA. (Using only alpha components allows the GPU to optimize the pipeline and save memory). I say alpha, because this bitmap is not a simple "mask". If it were a mask, the text would be quite pixelated like the left X:
TextAlpha
 
So, to convert from an RGB image to an Alpha image, we must loop through the Bitmap memory and add the R, G, and B components and divide it by 3 to determine the Alpha value. And with that youll have a valid Alpha texture! (Note: You cant simply take a single R, G, or B component and use that for alpha because the color is gray; you must take the average. This is because ClearType actually sets pixels to non-gray values to achieve sub-pixel antialiasing. More info at the ClearType Wikipedia entry.)
 
The next difficult task is rendering a string by using the texture and character offsets/dimensions we computed earlier. Drawing a single line string is a straightforward loop through the characters. But in actual application, text can wrap when the end of the screen is reach, and be aligned to the center, right, or left. GDI (and by proxy the Graphics object) allow a developer to render string given a Font, a bounding box, and various formatting flags by way of the DrawText function. This function handles all the positioning and such transparently. For OpenGL, we need to recreate that functionality. And although that bit is difficult, it is also tedious and rather uninteresting, so I wont get into the implementation details.
 
Anyhow, you didnt read all the way to the end of this article and not get a code sample! Heres the updated Managed OpenGL ES SDK, along with the sample application demonstrated above.

Go to link for download

Read more »

Sunday, March 5, 2017

Car Dashdroid – Car dashboard Premium 2 8 beta Apk is Here! LATEST

Car Dashdroid – Car dashboard Premium 2 8 beta Apk is Here! LATEST


Car Dashdroid – Car dashboard Premium
Car Dashdroid is a car home dock replacement that makes driving easy! It can switch on and off with your car (using Bluetooth), and return from any app to the specially-designed Car Dashdroid homescreen with a press of the Home button while connected (see settings).
Keep your eyes on the road! You’ll never get distracted by your mobile again, with large buttons and full voice commands (“OK Google” hotword is supported for Android 4.4+).
With 3 main sliding panels you can easily swipe between the dialler, main dashboard and custom shortcuts. Car Dashdroid’s built-in Smart Dialler means you won’t have to search for your contacts anymore; Just type the contact number or name to dial, or use the build-in Dial Action feature to dial your favorite contacts with one touch.
Set up to 16 shortcuts for your favorite apps, contacts, and even shortcuts to custom actions like directions to a particular place, opening a specific playlist, or sending a pre-written message (like “On my way!” or “Stuck in traffic!”).
Enjoy listening to music while driving? Car Dashdroid has built-in music features allowing you to play your music, with a special widget that can control your favorite music players and show track details, all without exiting the app (an updated music player will be available soon).
It’s simply the best Car mode you will ever use. It’s the perfect pair for your device and car!
Features
  • Read out to loud SMS and reply using voice commands
  • Home button returns you to Car dashdroid (configurable in settings)
  • Car mode
  • iBolt
  • Icon Packs – support most popular icon packs from launcher like Nova, Go, Apex and so on
  • Group apps in folders (Like any launcher)
  • Google navigation
  • “OK Google” Voice command support (Android 4.4+)
  • Intuitive music controls for several players (tested with Spotify,Play Music, Pandora, Poweramp, and others) Experimental for Android 4.4+
  • Current Weather report
  • Speedometer (km/h and mph) (using GPS may cause battery drain after long usage)
  • Compass
  • Themes day/night based on sunrise/sunset
  • Start/stop the app on Bluetooth connection
  • Turn off wifi on start
  • Turn On bluetooth when the app starts
  • Display current location and temperature in Celsius or Fahrenheit
  • Full screen mode
  • Car home replacement
  • Battery widget with percent
  • Screen saver when inactive or by shortcut
  • Inspired by Android Auto
  • Manage UI Screens, change or delete the UI screens
  • Call log for easy access to your recent calls (All and missed)
  • immersive mode in full screen mode (for Android 4.4+)
  • Shortcuts
  • Built in smart dialer
  • Built in contacts (shows favorite and all contacts)
  • Built in voice commands without exiting the app (for navigation, finding places, or calling contacts)
  • Dial Action for calling starred contacts with one click.
  • Built in Music Player with playlist,album browser, song browser support
  • Music Player widget to control media playback
  • New gorgeous design based on Material Design
  • Lock screen rotation (lock the orientation to landscape and portrait, as well as 3rd party apps if they support landscape)
  • Settings control widget(modify brightness, orientation, theme, full screen,bluetooth with one click in main screen)
  • Set phone multimedia sound level (Optional)
  • Keep screen on, never turn off the screen again when you are driving
  • Use speaker on phone calls (Optional)
  • Use stock image in built in shortcuts
  • Android 5 Lollipop support
  • Themes
What’s New
  • new Built in Maps for Navigation Tile
  • bugfix in crashes using android M preview
  • Android M users need enable all permissions
How to Install?
  1. Download Apk (link below).
  2. On your Android device, go to settings > security > allow unknown sources.
  3. Find downloaded APK on your phone and install it.
  4. All Done. Enjoy!
Screenshots
Download Links
Car Dashdroid Premium  | Mirrors

Tags: car dashdroid 2.8,car dashdroid 2.8 hack,car dashdroid 2.8 pro,car dashdroid 2.8 premium,car dashdroid 2.8 crack,car dashdroid 2.8 cheat,car dashdroid 2.8 cheats,car dashdroid 2.8 cheat engine,car dashdroid 2.8 cheat tool,car dashdroid 2.8 cheat tools,car dashdroid 2.8 free,car dashdroid 2.8 unlock,car dashdroid 2.8 modded,car dashdroid 2.8 mod,car dashdroid 2.8 mods,car dashdroid 2.8 apk,car dashdroid 2.8 modded apk,car dashdroid 2.8 android,car dashdroid 2.8 tweak,car dashdroid 2.8 tweaks,car dashdroid 2.8 root,car dashdroid 2.8 amazon app store,car dashdroid 2.8 hacked,car dashdroid 2.8 cracked,car dashdroid 2.8 android jelly bean,car dashdroid 2.8 android ice cream sandwich,car dashdroid 2.8 android kitkat,car dashdroid 2.8 android honeycomb,car dashdroid 2.8 android gingerbread,car dashdroid 2.8 android l,car dashdroid 2.8 full version,car dashdroid 2.8 iap, car dashdroid 2.8 iap free, car dashdroid 2.8 iap crack,car dashdroid 2.8 iap hack,car dashdroid 2.8 mobile,car dashdroid 2.8 play store,car dashdroid,car dashdroid hack,car dashdroid pro,car dashdroid premium,car dashdroid crack,car dashdroid cheat,car dashdroid cheats,car dashdroid cheat engine,car dashdroid cheat tool,car dashdroid cheat tools,car dashdroid free,car dashdroid unlock,car dashdroid modded,car dashdroid mod,car dashdroid mods,car dashdroid apk,car dashdroid modded apk,car dashdroid android,car dashdroid tweak,car dashdroid tweaks,car dashdroid root,car dashdroid amazon app store,car dashdroid hacked,car dashdroid cracked,car dashdroid android jelly bean,car dashdroid android ice cream sandwich,car dashdroid android kitkat,car dashdroid android honeycomb,car dashdroid android gingerbread,car dashdroid android l,car dashdroid full version,car dashdroid iap, car dashdroid iap free, car dashdroid iap crack,car dashdroid iap hack,car dashdroid mobile,car dashdroid play store,car dashdroid 2.8 iap crack,car dashdroid 2.8 iap free,car dashdroid iap crack,car dashdroid iap free,android,cracked android apps,mobile,other,software cracks/keys,tweaks

Go to link for download

Read more »