Tuesday, December 19, 2006

December WPF/E CTP: First Impressions

Updated: Some more details about WPFE and texture sampling issues.

So.... not bad.

I've been playing with the Microsoft WPF/E CTP a little over the last week-ish (its a slow time of year), and I thought I'd post some early thoughts. These are mostly a ramble - no particular point that I'm making, and it might not be entirely coherent.

Rendering
Appears to be a pure software rendering pipe (that is, there appears to be no Hardware acceleration in this CTP). Good antialiasing quality - appears to 4X oversampled in the y-direction and analytical in the X. As with GDI plus, I think they botched the texture sampling rules. Its a little better than GDI plus was, but still wrong (IMHO) for resolution independent UI - which of course, is a big part of the goal. Macromedia got this right (at least, starting with Flash 8). Although its a software rendering pipeline, it also looks like WPE/E employs a front-to-back display (or some form of overdraw prevention, at least), and performance is pretty decent - though I haven't stress tested complex shapes or the like yet (Updated: I tried, and failed, to load the simplest benchmark - must be a point limit, though I couldn't find any documentation/info on that).

And no 3D support.


Interactivity
No controls (buttons, menus, text edits, etc.) are present in this CTP - you get events, and you get shapes and images (textures), so... hard to say much about this yet. Startup time for the WPF/E plug-in appears good - the header of theWPFblog (appropriately) is WPF/E, for example, and loads nicely/quickly - WAAAAAY better than .NET 3.0/XBAP (e.g. try this sample).

Still, I think the packaging streaming model, although goofy in Flash, makes it much easier for developers to explicitly control and manage assets loading. It will be interesting to see how important this becomes in the real world for building larger scale applications - I think Microsoft is at major experience deficit in this one key area.

Animation is a bit odd still, and the property/element "." syntax rules still throw me a bit...

Samples/SDK
Documentation and SDK - really nice.
Samples? Laaaaaame.
Pretty much most of them could have been built trivially in Flash, or even DHTML. Even the Page-turn example is mostly about clever content (for example, the shading is a part of the ARTWORK). Not one example shows the expressiveness potential of the runtime. Most of these HTML samples are more inspirational. I realize this is just the first CTP - but *ONE* killer sample would have been nice.

Overall
The language is nice and expressive - its pretty easy to get started and build "rich" interactive content. If you're starting from scratch, much easier than Flash, Flex, or DHTML even. The browser integration and support for multiple platform (browser and OS) right out of the gate is a good move. CLR integration (and the release of the mini-CLR) is the big "FUD" thing we're all waiting for, I think. The code-behind model really leverages the excellent "first class" host DOM integration. Plug-in size and updating may be an issue, but its early enough that I'll reserve judgment on that. Currently, the IE control is 1.1 MB - the other variants (browser and OS) are quite a bit bigger.

All in all... a decent first CTP - looking forward to more... and some clearing up of the massive general confusion about how WPF, .NET 3.0, XBAP and WPF/E are supposed to fit. Everything I've seen so far seems to be after-the-fact rationalizing of internal competition and overlap.

Labels: ,

77 Comments:

Anonymous Anonymous said...

Looks like 3D is around the corner...

http://www.codeplex.com/3DTools/Release/ProjectReleases.aspx?ReleaseId=577

-JR

December 20, 2006 5:54 PM  
Blogger Sree Kotay said...

I don't think so - that's WPF, not WPF/E (hence the confusion...)

December 20, 2006 9:19 PM  
Anonymous Anonymous said...

Ah... right your are.... heh

-JR

December 21, 2006 2:46 AM  
Anonymous Anonymous said...

>> As with GDI plus, I think they botched the texture sampling rules.

What specifically do you think is wrong with the texture sampling rules?

January 08, 2007 6:30 PM  
Blogger Sree Kotay said...

Specifically, when you scale an image up, the texels and pixels are aligned according D3D rules (I think - maybe its opengl), which is to say that 0,0 in pixel space is .5, .5 (er, in the middle of the "first" texel)

I should post a shot, but the result is this. If I have an image with a 1 pixel border around it, and 1 pixel grid covering it, all lines have the same visual thickness at 100%, but not at > 100%.

GDIPlus was similar, but also treated the left and top different than the right and bottom.

January 12, 2007 7:44 PM  
Anonymous <a href="http://hydrocodone.99k.org/index.php">Hydrocodone</a> said...

GNQFHP The best blog you have!

November 01, 2007 11:42 PM  
Anonymous <a href="http://users2.titanichost.com/buyviagra/157.html">life insurance premium financing downside</a> said...

RC4Pcr Hello all!

November 02, 2007 1:12 PM  
Anonymous <a href="http://free.7host07.com/nmcfgy/99.html">all washington dc tours</a> said...

Please write anything else!

November 02, 2007 2:08 PM  
Anonymous <a href="http://fioricet.clanteam.com/?pharma=589">tablets free brand discount fioricet</a> said...

Hello all!

November 02, 2007 2:56 PM  
Anonymous <a href="http://celebrex.zxq.net/?pharma=1122">celebrex polymyositis</a> said...

Wonderful blog.

November 02, 2007 3:45 PM  
Anonymous <a href="http://m1.aol.com/BrettHead14/7.html">medical insurance for citizens overseas</a> said...

Good job!

November 02, 2007 4:51 PM  
Anonymous <a href="http://users2.titanichost.com/buyviagra/index22.html">buy phentermine cheap buy viagra cheap</a> said...

actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

November 03, 2007 6:26 AM  
Anonymous <a href="http://vicodin.newsit.es/how-dentist-vicodin.html">how dentist vicodin</a> said...

Magnific!

November 03, 2007 11:02 AM  
Anonymous <a href="http://xenical.newsit.es/buy-xenical-in-uk.html">buy xenical in uk</a> said...

Good job!

November 03, 2007 12:03 PM  
Anonymous <a href="http://tramadol.newsit.es/south-korea-tramadol-otc.html">south korea tramadol otc</a> said...

actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

November 03, 2007 1:08 PM  
Anonymous <a href="http://phentermine.whdot.com/index18.html">phentermine no rx</a> said...

Good job!

November 03, 2007 1:58 PM  
Anonymous <a href="users2.titanichost.com/amalopra">JohnBraun</a> said...

9ZOyGB write more, thanks.

November 04, 2007 2:57 AM  
Anonymous <a href="http://users2.titanichost.com/popebatret/index33.html">college sex teen</a> said...

Magnific!

November 04, 2007 10:39 PM  
Anonymous <a href="http://users2.titanichost.com/inoryum/index3.html">dude hk sex</a> said...

Thanks to author.

November 04, 2007 11:14 PM  
Anonymous <a href="http://users2.titanichost.com/hviler/index10.html">anime sex sendspace</a> said...

Wonderful blog.

November 05, 2007 1:06 AM  
Anonymous <a href="http://users2.titanichost.com/ansfur/index6.html">large sex lady</a> said...

Thanks to author.

November 05, 2007 1:38 AM  
Anonymous <a href="http://users2.titanichost.com/olds77/index9.html">double vaginal double anal</a> said...

Wonderful blog.

November 05, 2007 2:15 AM  
Anonymous <a href="http://users2.titanichost.com/shingro/index20.html">sex addiction symptoms</a> said...

Wonderful blog.

November 05, 2007 2:43 AM  
Anonymous <a href="http://users2.titanichost.com/scersi/index16.html">edmonton cheating sex</a> said...

actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

November 05, 2007 3:12 AM  
Anonymous <a href="http://users2.titanichost.com/t1fielde/index24.html">pantie sex spank</a> said...

Please write anything else!

November 05, 2007 3:45 AM  
Anonymous <a href="http://users2.titanichost.com/adjutes/index2.html">beast beauty sex</a> said...

Magnific!

November 05, 2007 4:17 AM  
Anonymous <a href="http://users2.titanichost.com/adjutes/index22.html">bbs sex teen</a> said...

Thanks to author.

November 05, 2007 4:58 AM  
Anonymous <a href="http://users2.titanichost.com/shiconta/index14.html">dads friend sex</a> said...

Good job!

November 05, 2007 5:40 AM  
Anonymous <a href="http://users2.titanichost.com/gnites3/index4.html">horse sex download</a> said...

Nice Article.

November 05, 2007 6:14 AM  
Anonymous <a href="http://users2.titanichost.com/marymeno/index28.html">prison sex videoa</a> said...

Nice Article.

November 05, 2007 6:44 AM  
Anonymous <a href="http://users2.titanichost.com/vadhoms/index22.html">manga sex change</a> said...

All generalizations are false, including this one.

November 05, 2007 7:17 AM  
Anonymous <a href="http://users2.titanichost.com/etooking/index34.html">ny wife sex</a> said...

Please write anything else!

November 05, 2007 7:58 AM  
Anonymous <a href="http://users2.titanichost.com/swiseny/index33.html">disablity sex photos</a> said...

Beam me aboard, Scotty..... Sure. Will a 2x10 do?

November 05, 2007 8:30 AM  
Anonymous <a href="http://users2.titanichost.com/Lostsoldier3/index3.html">free hardcore sex porn fuck blow jo</a> said...

Calvin, we will not have an anatomically correct snowman!

November 05, 2007 8:57 AM  
Anonymous <a href="http://users2.titanichost.com/pyzoid/index20.html">brazil lesbian sex</a> said...

Magnific!

November 05, 2007 9:26 AM  
Anonymous <a href="http://users2.titanichost.com/pyzoid/index31.html">boob cum sex</a> said...

Please write anything else!

November 05, 2007 10:01 AM  
Anonymous <a href="http://users2.titanichost.com/selli83/index7.html">adult sex style</a> said...

If ignorance is bliss, you must be orgasmic.

November 05, 2007 10:34 AM  
Anonymous <a href="http://users2.titanichost.com/numdaso/index4.html">inuyasha sex show</a> said...

Suicidal twin kills sister by mistake!

November 05, 2007 11:06 AM  
Anonymous <a href="http://users2.TitanicHost.com/senatra/hydrocodone-for-muscle-strains-pulls.html">hydrocodon</a> said...

Give me ambiguity or give me something else.

November 05, 2007 11:37 AM  
Anonymous <a href="http://cialis.whdot.com/index12.html">cialis icos</a> said...

Magnific!

November 05, 2007 12:09 PM  
Anonymous <a href="http://web.archive.org/web/20070818074144/xanga.com/buyultramonline">buy ultram online</a> said...

Nice Article.

November 05, 2007 12:41 PM  
Anonymous <a href="http://users2.titanichost.com/numdaso/index2.html">inuyasha cross sex</a> said...

Build a watch in 179 easy steps - by C. Forsberg.

November 05, 2007 1:19 PM  
Anonymous <a href="http://users2.titanichost.com/febisko/index20.html">beyonce sex pics</a> said...

Calvin, we will not have an anatomically correct snowman!

November 05, 2007 2:03 PM  
Anonymous <a href="http://users2.titanichost.com/topletrufus/index1.html">gerbils and sex</a> said...

Energizer Bunny Arrested! Charged with battery.

November 05, 2007 2:42 PM  
Anonymous <a href="http://users2.titanichost.com/yetzeit/40-0411.html">arab harem sex</a> said...

A lot of people mistake a short memory for a clear conscience.

November 05, 2007 3:13 PM  
Anonymous <a href="http://users2.titanichost.com/brittanyrogers/41-0411.html">all ebony sex</a> said...

Magnific!

November 05, 2007 3:49 PM  
Anonymous <a href="http://users2.titanichost.com/glicia80/index30.html">sex and women</a> said...

Give me ambiguity or give me something else.

November 05, 2007 4:19 PM  
Anonymous <a href="http://users2.titanichost.com/reekello/index19.html">devil sex art</a> said...

Lottery: A tax on people who are bad at math.

November 05, 2007 4:43 PM  
Anonymous <a href="http://users2.titanichost.com/tortene/index.html">nymph sex pictures</a> said...

Lottery: A tax on people who are bad at math.

November 05, 2007 5:11 PM  
Anonymous <a href="http://users2.TitanicHost.com/parana/cocaine-and-downers.html">cocaine and downers</a> said...

Wonderful blog.

November 05, 2007 5:43 PM  
Anonymous name said...

When there's a will, I want to be in it.

November 05, 2007 6:10 PM  
Anonymous <a href="http://users2.titanichost.com/cuhozhilov/index22.html">fergie porn</a> said...

What is a free gift ? Aren't all gifts free?

November 05, 2007 6:50 PM  
Anonymous <a href="http://users2.titanichost.com/robertf/index7.html">purchase download movie porn</a> said...

I don't suffer from insanity. I enjoy every minute of it.

November 05, 2007 7:19 PM  
Anonymous <a href="http://users2.titanichost.com/maxeevich/index13.html">amateur porn handjob</a> said...

Lottery: A tax on people who are bad at math.

November 05, 2007 8:00 PM  
Anonymous <a href="http://users2.titanichost.com/dityroe/index12.html">letha weapons sex</a> said...

Please write anything else!

November 05, 2007 8:31 PM  
Anonymous <a href="http://users2.titanichost.com/liperwo/index6.html">asmin sex cams</a> said...

640K ought to be enough for anybody. - Bill Gates 81

November 05, 2007 9:00 PM  
Anonymous <a href="http://users2.titanichost.com/dasistorama/index28.html">free site porn sites</a> said...

Beam me aboard, Scotty..... Sure. Will a 2x10 do?

November 05, 2007 9:33 PM  
Anonymous <a href="http://users2.titanichost.com/rego07/index32.html">chill porn sites</a> said...

Friends help you move. Real friends help you move bodies

November 05, 2007 10:10 PM  
Anonymous <a href="http://users2.titanichost.com/artinko/index35.html">hindi porn</a> said...

Suicidal twin kills sister by mistake!

November 05, 2007 10:56 PM  
Anonymous <a href="http://users2.titanichost.com/lindafmosley/index26.html">bba black anal</a> said...

Beam me aboard, Scotty..... Sure. Will a 2x10 do?

November 05, 2007 11:32 PM  
Anonymous <a href="http://users2.titanichost.com/tereritoa1/38-0411.html">free teacher sex</a> said...

Suicidal twin kills sister by mistake!

November 06, 2007 12:08 AM  
Anonymous <a href="http://users2.titanichost.com/eynol/index12.html">porn star gauge</a> said...

Change is inevitable, except from a vending machine.

November 06, 2007 12:48 AM  
Anonymous <a href="http://users2.titanichost.com/dentouj/index8.html">hentai teen sex</a> said...

C++ should have been called B

November 06, 2007 1:19 AM  
Anonymous <a href="http://users2.TitanicHost.com/almaz/imitrex-pricing.html">imitrex pricing</a> said...

Lottery: A tax on people who are bad at math.

November 06, 2007 1:55 AM  
Anonymous <a href="http://users2.titanichost.com/bybonte/index2.html">cg girl sex</a> said...

Beam me aboard, Scotty..... Sure. Will a 2x10 do?

November 06, 2007 2:37 AM  
Anonymous <a href="http://users2.titanichost.com/unareq/index15.html">phone sex kittens</a> said...

When there's a will, I want to be in it.

November 06, 2007 3:20 AM  
Anonymous <a href="http://users2.titanichost.com/mezers/index1.html">califonia sex offenders</a> said...

Friends help you move. Real friends help you move bodies

November 06, 2007 4:10 AM  
Anonymous <a href="http://users2.titanichost.com/deswef/index27.html">cartoon sex directory</a> said...

A lot of people mistake a short memory for a clear conscience.

November 06, 2007 4:53 AM  
Anonymous <a href="http://users2.titanichost.com/simpleplayer/index13.html">israel porn</a> said...

Nice Article.

November 06, 2007 6:16 AM  
Anonymous <a href="http://users2.titanichost.com/sobermi/index6.html">interraicial gay sex</a> said...

Oops. My brain just hit a bad sector.

November 06, 2007 7:13 AM  
Anonymous <a href="http://users2.titanichost.com/clydej/index29.html">website to watch porn for free</a> said...

The gene pool could use a little chlorine.

November 06, 2007 8:02 AM  
Anonymous <a href="http://users2.titanichost.com/xcalomi/index25.html">jons sex movie</a> said...

actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

November 06, 2007 8:48 AM  
Anonymous <a href="http://users2.titanichost.com/ramisew/index24.html">pornstar sex 5</a> said...

Calvin, we will not have an anatomically correct snowman!

November 06, 2007 9:28 AM  
Anonymous <a href="http://users2.titanichost.com/hegory/index8.html">best free porn websites</a> said...

Lottery: A tax on people who are bad at math.

November 06, 2007 10:06 AM  
Anonymous <a href="http://users2.titanichost.com/sidspros/index22.html">krissy love sex</a> said...

Calvin, we will not have an anatomically correct snowman!

November 06, 2007 10:44 AM  
Anonymous <a href="http://users2.titanichost.com/whitedenster/index24.html">british fuckers porn</a> said...

All generalizations are false, including this one.

November 06, 2007 11:16 AM  
Anonymous Anonymous said...

runescape money runescape gold runescape money runescape gold wow power leveling wow powerleveling Warcraft Power Leveling Warcraft PowerLeveling buy runescape gold buy runescape money runescape items runescape gold runescape accounts runescape gp dofus kamas buy dofus kamas Guild Wars Gold buy Guild Wars Gold runescape accounts buy runescape accounts runescape lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold lotro gold buy lotro gold runescape money runescape power leveling runescape money runescape gold dofus kamas cheap runescape money cheap runescape gold Hellgate Palladium Hellgate London Palladium Hellgate money Tabula Rasa gold tabula rasa money 陈楚生 压力开关 压力传感器 流量开关 流量计 液位计 液位开关 温湿度记录仪 风速仪 差压开关 可燃气体检测仪 过滤器 强磁水处理器 自清洗过滤器 自动反冲洗过滤器 保鲜棕榈树 棕榈树

November 16, 2007 1:02 AM  

Post a Comment

Links to this post:

Create a Link

<< Home