13 April 2010 0 Comments

Puget Sound SPUG Meeting April 15th

The next meeting of the Puget Sound SPUG is this Thursday, April 15th.  Two solid partners are presenting.  Pizza and networking begins at 6:00PM. The meeting will be held at the Microsoft office (CIVICA Office Commons) at 205 – 108th Ave NE, Suite 400, Bellevue, WA  98004.  Please park under the building (entrance on 108th Ave NE), and bring your parking ticket to the receptionist to be validated.

9 April 2010 0 Comments

Benefits of GPU-powered HTML5

At MIX 10 we showed how we’re building on new Windows technologies like Direct2D, DirectWrite and XPS to enable Internet Explorer 9 to render all standards-based web content – text, images, video and SVG – using the power of the GPU. In this blog post we’ll review the major improvements for web developers and users that come from building on these Windows technologies

2 April 2010 0 Comments

State objects in XNA Game Studio 4.0

The most-often-linked-to article I ever wrote is about renderstates, so it should come as no surprise that we tried to improve this area in Game Studio 4.0. There are fundamentally only two sane ways to manage renderstates: Assume nothing: explicitly set everything you depend on before drawing Assume fixed defaults: if you change anything, you must put it back when you are done Previous versions of Game Studio supported both approaches, but neither worked particularly well: Our API exposed over 70 different states, so explicitly setting them all was awkward and slow We provided StateBlock and SaveStateMode to help with the "put it back when you are done" approach, but these were extremely slow Luckily for us, our colleagues over in the native DirectX team grappled with this very issue a few years earlier, and came up with a great solution. For Game Studio 4.0, we basically just borrowed the same state objects design that is used in DirectX 10 and 11.

9 March 2010 0 Comments

NeuroskyからMindsetのWindows 7 Sensor API対応ドライバーが公開されました

おばかアプリコンテストのセンサー部門で貸出が予定されているNeuroskyさんの脳波センサーMindsetのWindows 7 Sensor API向けデバイスドライバーが公開されました。 http://neurosky.jp/thinkgearsensor.html すでにMindsetを購入されていて、Windows 7をお持ちの方は、是非チャレンジしてみてくださいね。 ただ、残念なことに、現段階では、脳波センサーはSensor & Location Platformに定義がありません。以下にCodepackを通じて脳波センサーを使うためのサンプルを紹介しますので、それを参考にアプリ開発を試みてください。 SensorList<Sensor> sensors = SensorManager.GetAllSensors(); Sensor bwSensor = null; foreach (var sensor in sensors) {     if (sensor.FriendlyName.CompareTo(“Brainwave Sensor”)==0){         bwSensor = sensor;         break;     } } if (bwSensor!=null){     Guid valueKey = new Guid(“{f3ad07f4-1a88-4970-956a-68fc93b25729}”);     bwSensor.TryUpdateData();     SensorReport dataReport = bwSensor.DataReport;     // Poor Signalは0~200の値をとります。     // この値が0にならないと集中度、リラックス度は計測できません     UInt32 poorSignal = (UInt32)dataReport.Values[valueKey][0];     // 集中度です。0~100。単位は%     double attention =  (double)dataReport.Values[valueKey][1];     // リラックス度です。0~100。単位は%     double meditation = (double)dataReport.Values[valueKey][2];     // 以下は、Neuroskyさんから公開されているMindSetのSDKを見てね     Int32  rawData = (UInt32)dataReport.Values[valueKey][3];     UInt32 delta  = (UInt32)dataReport.Values[valueKey][4];     UInt32 theta  = (UInt32)dataReport.Values[valueKey][5];     UInt32 alpha1 = (UInt32)dataReport.Values[valueKey][6];     UInt32 alpha2 = (UInt32)dataReport.Values[valueKey][7];     UInt32 beta1  = (UInt32)dataReport.Values[valueKey][8];     UInt32 beta2  = (UInt32)dataReport.Values[valueKey][9];     UInt32 gamma1 = (UInt32)dataReport.Values[valueKey][10];     UInt32 gamma2 = (UInt32)dataReport.Values[valueKey][11]; }   Mindsetは、非同期ではデータが上がってこないので、DispatherTimer等を使って、定期的にデータを取得する必要があるので、ご注意。 では、コンテストに参加する方、超絶面白いアプリを期待してますので、がんばって~ね~。

5 March 2010 0 Comments

Windows Phone 7: Silverlight et XNA officialisés :)

Hier se tenait un évènement privé à San Francisco, durant lequel l’équipe Windows Phone a décidé de communiquer sur la plateforme de développement avant le MIX.