About Store Forum Documentation Contact



Post Reply 
Playing around with Windows Universal Apps
Author Message
Esenthel Offline
Administrator

Post: #16
RE: Playing around with Windows Universal Apps
Have no idea,
When it's done lol
03-03-2016 12:27 PM
Find all posts by this user Quote this message in a reply
Marbasoft Offline
Member

Post: #17
RE: Playing around with Windows Universal Apps
I have a lumia 1020, can't wait to test it pfft
03-04-2016 08:36 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #18
RE: Playing around with Windows Universal Apps
Hi,

The requirements for Windows Phone will be Windows 10 + GPU with DX10/11 Feature Level 9_3 or better.

Based on this website https://en.wikipedia.org/wiki/Nokia_Lumia_1020 it looks like you have Adreno 225.
And based on this website https://en.wikipedia.org/wiki/Adreno I'm not sure if your GPU meets the DirectX Feature Level requirements.
However this website http://www.anandtech.com/show/4940/qualc...itecture/3 says otherwise, so you'll have to see it yourself.

And another screen from today's progress grin

   
03-04-2016 10:58 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #19
RE: Playing around with Windows Universal Apps
3D now fully available :>

   
03-05-2016 10:54 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #20
RE: Playing around with Windows Universal Apps
Actually this is not glow wink
It's specially crafted textures + glow-like particle effects.
This gives very good performance on mobile, compared to a full post process shader.
03-06-2016 12:05 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #21
RE: Playing around with Windows Universal Apps
Hi,

It's very simple, just draw a single particle:
   

You can use code similar to that:
Code:
class Glow
{
   static ImagePtr image;
   static Color    color(255, 192, 64);
   static flt      radius=0.4;

   static void Init()
   {
      image=UID(3007031556, 1137099648, 934413987, 3085159623);
   }
   static void Begin()
   {
      DrawParticleBegin(*Glow.image, 0, false);
   }
   static bool Test(C Vec &pos)
   {
      return Frustum(Ball(radius, pos));
   }
   static void Add(C Vec &pos, flt power)
   {
      Vec p=pos, delta=p-Cam.matrix.pos; flt d=delta.normalize(); p-=delta*(radius*0.5);
      d/=D.viewRange(); d=1-Cube(Sqr(d));
      DrawParticleAdd(color, power*d, radius, 0, p, VecZero);
   }
   static void End()
   {
      DrawParticleEnd();
   }

   Vec pos=VecZero;
   flt power=0.35;

   void draw()
   {
      if(Test(pos))Add(pos, power);
   }

   // io
   bool save(File &f)C
   {
      f.cmpUIntV(0);
      f<<pos<<power;
      return f.ok();
   }
   bool load(File &f)
   {
      switch(f.decUIntV())
      {
         case 0:
         {
            f>>pos>>power;
            if(f.ok())return true;
         }break;
      }
      return false;
   }
}

Memc<Glow> Glows;

void Render()
{
   switch(Renderer())
   {
      case RM_BLEND:
      {
         if(Glows.elms())
         {
            Glow.Begin();
            FREPAO(Glows).draw();
            Glow.End();
         }
      }break;
   }
}
03-06-2016 10:46 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #22
RE: Playing around with Windows Universal Apps
All major issues have been fixed!
I need to do last bit of testing, and I will release the new engine update within a couple days smile
03-09-2016 10:59 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #23
RE: Playing around with Windows Universal Apps
Yayyy! Nice work, Esenthel. smile

Can't wait to try out all that new stuf!
03-09-2016 11:05 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #24
RE: Playing around with Windows Universal Apps
Universal Windows Platform support is fully functional, as my game Dungeon Hero got accepted to Windows Store for Desktop and Phones:
https://www.microsoft.com/store/apps/9NBLGGH4QC8G
03-16-2016 11:47 PM
Find all posts by this user Quote this message in a reply
Houge Offline
Member

Post: #25
RE: Playing around with Windows Universal Apps
03-31-2016 07:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #26
RE: Playing around with Windows Universal Apps
Thanks for sharing, looks like I've added UWP support in right moment grin
03-31-2016 09:59 AM
Find all posts by this user Quote this message in a reply
Alexsee Offline
Member

Post: #27
RE: Playing around with Windows Universal Apps
Is this sufficient for Hololens development?

My understanding is that Hololens applications are Universal Apps but I'm a bit vague on whether there is need for extensions specific to the device.
06-03-2016 02:29 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #28
RE: Playing around with Windows Universal Apps
Hi,

I have no idea, but my guess is that it'll work.
Although the idea for Hololens is to draw 3D on top of existing things that you see, so probably you'd have to add some extra work on the source code for that, and also to detect device input sensors.
06-04-2016 12:39 AM
Find all posts by this user Quote this message in a reply
Post Reply