WPF 3.5 SP1 Graphics with David Teitlebaum
- Posted: May 12, 2008 at 6:48 PM
- 74,106 Views
- 60 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
What are the performance drawbacks compared to using directly DirectX and C++? Do you guys have any numbers?
Where can we download the demo's given and compile/run/render them ourselfs? I for one would love to see the performance of that on my pc.
Realy great work!
Very, very cool.
I'll ask David about releasing the demos.
That might of been the 'hack' to do it back then however..
The effects thing is also really slick as well..
Almost makes me sad to be a web dev now
.. so uh.. when will you guys deliver this power via sl?
This is the most interesting technology I've seen featured on C9 in a while.
Oh, and the content is cool, too.
Thank you Microsoft for investing and following through on this research.
that
is
in
sane
:O :O
please pleeeeease let there be more videos about effects :O
We haven't figured out the mechanism yet (msdn, codeplex, blog, etc), but I plan to release the transition demo+source once 3.5 SP1 ships. We understand that not everyone has experience writing pixel shaders, so samples like this (and others) will be worth looking at.
As David said in the video, the shader effects integrate really well with the WPF platform. This mean you can take a library of effects, and just drop them into your XAML without knowing a thing about HLSL.
Great question. There are lots of different ways we gather feedback: the Connect site, forum and newsgroup posts, support requests, blog comments, requests received via MVPs etc. We also run invite-only labs here in Redmond for some of the very largest customers and partners: we gather lots of feedback at those events also. Occasionally we have customers who are on campus come and deliver short presentations to the team where they demonstrate their own application and talk about some of the best and worst experiences they had in developing the product.
At the same time, we're constantly looking at the broad-scale research we collect about platform adoption - for example, at what point does the size of a runtime have a material effect on its adoption rate? How many people are still using Windows 2000? And so on.
Plus of course, almost all of us here actively use WPF as developers, whether for amazing demos like David produces, for writing technical articles or in building test harnesses to ensure the platform works consistently.
We're always keen to hear real-world experiences with the platform: it's immensely useful to get your feedback. Ian mentions a few ways you can provide that feedback above. If it's actionable feedback and not simply a request for technical support, and you're struggling to be heard through more traditional routes, you're always welcome to drop me an email at tims at microsoft.com and I'll ensure it gets routed in the right direction.
We know that we're only delivering if you are able to deliver on top of us - our success is measured by your success!
Tim
Yeah... you one only does interleaced
Nice work Adam! Great week so far!
Hey robski, I think you might well like Greg Schechter's blog series that goes into this in some detail:
http://blogs.msdn.com/greg_schechter/archive/2008/05/12/a-series-on-gpu-based-effects-for-wpf.aspx
Tim
can you use other filtering techniques than nearset neighbur on a writable bitmap? how much work is it to get something like that to work?
And as Tim mentioned, the process of choosing what features to add/improve is really pretty thorough and includes an assessment of who/what scenarios would benefit from the work, what the risk would be from a performance, stability, security, or architectural standpoint, and an rough idea of how much time that work would require.
David
sweeet
also i vaguely remember you saying that there wasnt any multipass support for pixel shaders? but what about the MultipassShaderEffect Class? is that depricated or something? or am i just wrong about the multipass stuff?
(yet) another question
how about pixelshading for 3d models? is that possible somehow? since there is now a pixelshaderwrapper with constants and stuff, the step shouldnt be to long i'd imagine (but what do i know:P)
oh ok
havent found anything about multiInput so far but i figured you'd just register more DPs as sampler properties and hook them onto diffrent registers (can you do that by the way?)
ok
oh, im sorry thats not what i meant
alright, thanks
Why can't you guys remember to post a link to the LOW-RES file on every video that you do?
It's very irritating when downloading with BITS to have to wait on 600Mb files.
---dup---
That having been said, you could use a our new DX Interop (D3DImage) and do whatever you wanted in 3D, but I gather that's not exactly what you wanted.
MultiInput effects *will* be in the final release, but shouldn't be in the beta.
Very nice work indeed. What should I use if I wanted to access TV functionality from a TV Tuner card? Is that a DirectX only route or can something be done from WPF?
Thanks.
It looks like you guys have done some really good to me, I'm really impressed. The next Office, Windows and everything else should be fantastic thanks to this technology.
Cool!
Thanks.
public void SetBackBuffer(D3DResourceType backBufferType, IntPtr backBuffer)
which takes an IntPtr as a param, necessitating full trust.
Is there any sample code available with the 3d form stuff? That just has me itching to try a few things out, and thinking of what might be ahead in 3-5 years if some of this gets into Silverlight - wow, it's going to be cool!
Nice work!
Rob
i enjoyed this session on the teched in orlando.
As you said, please provide a download link for this demos.
thx,
Thomas
i am very disappointed at the moment...
since the teched@orlando 08 i am waiting to get the source code of davids wpf gfx demos...as he promised.
Is anybody here who can talk to david titlebaum?
We need demo code !...
More votes for source!!
Hey Adam and David, even now .NET 3.5 SP1 and this includes WPF 3.5 SP1, has been released, where's the demo code? Please don't make anymore promises.
We want it now.
Eriawan
Apologies for the long wait, now that SP1 has shipped we can celebrate by spending sometime on shipping the source code for these demos. You can find the first batch here: Teitlebaum's WPF Graphic Demos, Part 1

Hooray!
as promised from david teitlebaum at his teched08@orlando session !
Thanks! But now where are the rest of the sample code of the video?
And again, it's been more than a month since Part 1. I may sound to be bad, but why can't I simply have the codes soon?
I think it doesn't matter for me if the code came directly enedited from David, instead of waiting for you to post the code, and it's been taking too long time to wait.
Eriawan
Now my question:
David, at 21:11 you mentioned that the integrated DirectX could also be used for wireframes.
After some investiation, the only thing I saw was a new D3DImage class (btw. it is very usefull). But it is not appropriate to create a 3d lines and wires.
So is there a way to use the real DirectX 3d lines or do we still have to use workarounds like ScreenSpaceLines3D and similar (use triangles to simulate lines) which are quite slow?
I'll get to wasting as much time as quickly as possible!
Anyway, I saw in the WPF Futures video from PDC2008 that in the future we'll be able to use XNA as an ImageSource, thus keeping the whole application managed code. Any news on when that's going to be available? Hope we don't have to wait until .NET4. Although the 3d viewport in WPF allows you to do some 3d stuff, it's kindof reminiscent of Retained Mode in old versions of DirectX, i.e. good for putting a few objects on the screen, but nothing too serious. Having a proper 3d api in managed code with a surrounding user interface in WPF would be a dream come true.
Way cool... is there code available for the demo's. I'd like to compile and run them locally.
Cool cool stuff
But where is the promised code? The link http://adamkinney.com/blog/357/default.aspx don't work and there have never been anything else.
I believe SP1 is released now.. Please... send some code...
Better late than never, eh?
I dumped a bunch of the demos + source on skydrive: http://cid-3ffaec66aac45172.skydrive.live.com/browse.aspx/WPF^_3.5^_PS1^_Demos
It should be publicly accessible.
Let me know if you are having trouble accessing it, or if you want some other demos that aren't here.
Thanks!
David
Visit this link to vote for multi-pass shaders which are so desperately needed.
http://dotnet.uservoice.com/forums/40583-wpf-feature-suggestions/suggestions/480961-add-gloweffect-and-multipass-shaders-
Remove this comment
Remove this thread
close