![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | February CTP Samples for 3D - None of it works I'm trying to follow along through the "How To Topics" in the 3-D section of the WPF documentation using the online Windows SDK documentation. Of course, not a single one of these samples actually works, nor do the 3-d samples in the downloaded samples that came with the SDK. I've managed to figure out a couple things, like "Up" has changed to "UpDirection" and "LookAt" has changed to "LookDirection" for the PerspectiveCamera, but one thing that doesn't seem to work at all is no value supplied for TriangleIndices is working properly. Can someone please supply some XAML that just drops a 3-d sphere onto a view port and renders it, or possibly a MeshGeometry3D that actually works? I would greatly appreciate it. Thanks, Kevin |
| | #2 (permalink) |
| Guest | Re: February CTP Samples for 3D - None of it works You could take a look at my HelloWorld3D sample. A sphere isn't just 3 lines of code... so start with a single triangle ![]() Erno ---- WPF tutorials: http://blogs.infosupport.com/ernow/articles/1878.aspx "Kevin Hoffman" <alothien@gmail.com> wrote in message news:1141140199.773033.108090@i40g2000cwc.googlegroups.com... > I'm trying to follow along through the "How To Topics" in the 3-D > section of the WPF documentation using the online Windows SDK > documentation. Of course, not a single one of these samples actually > works, nor do the 3-d samples in the downloaded samples that came with > the SDK. > > I've managed to figure out a couple things, like "Up" has changed to > "UpDirection" and "LookAt" has changed to "LookDirection" for the > PerspectiveCamera, but one thing that doesn't seem to work at all is no > value supplied for TriangleIndices is working properly. > > Can someone please supply some XAML that just drops a 3-d sphere onto a > view port and renders it, or possibly a MeshGeometry3D that actually > works? > > I would greatly appreciate it. > > Thanks, > Kevin > |
| | #3 (permalink) |
| Guest | Re: February CTP Samples for 3D - None of it works Kevin, It looks like you've been having a frustrating experience with the February CTP documentation for 3D. You're quite right that several of the "How Do I?" documents contain code snippets that are outdated. Ideally, those code excerpts are linked to tested samples; when the samples are updated, the excerpts should be updated too. I didn't catch these particular linking errors in time for the February release. I know stuff like this costs people time and energy, so please accept my apologies--hopefully the enclosed code samples will help resolve your difficulties. Since you asked about spheres and cubes in other posts, I've enclosed a couple of projects that include those meshes. I successfully ran these against the February CTP. Though it looks like you resolved your question about camera rotation, the samples also include animated rotations. If I can help resolve problems with SDK samples, please let me know either on the newgroup or directly. I recognize that some of the SDK's samples don't yet reflect all the scenarios that advanced users want. We're working hard to improve our sample coverage and overview articles in upcoming releases. In the meantime, several developers and evangelists here are blogging great information about 3D--Tim Sneath (http://blogs.msdn.com/tims/default.aspx) and Daniel Lehenbauer (http://blogs.msdn.com/danlehen/default.aspx) in particular. Nick Anderson / Windows Client Platform SDK "Kevin Hoffman" <alothien@gmail.com> wrote in message news:1141140199.773033.108090@i40g2000cwc.googlegroups.com... > I'm trying to follow along through the "How To Topics" in the 3-D > section of the WPF documentation using the online Windows SDK > documentation. Of course, not a single one of these samples actually > works, nor do the 3-d samples in the downloaded samples that came with > the SDK. > > I've managed to figure out a couple things, like "Up" has changed to > "UpDirection" and "LookAt" has changed to "LookDirection" for the > PerspectiveCamera, but one thing that doesn't seem to work at all is no > value supplied for TriangleIndices is working properly. > > Can someone please supply some XAML that just drops a 3-d sphere onto a > view port and renders it, or possibly a MeshGeometry3D that actually > works? > > I would greatly appreciate it. > > Thanks, > Kevin > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SMO samples with vbscript | Carlos Felipe França da Fonseca | VB Script | 3 | 3 Weeks Ago 06:55 PM |
| font samples | BethAnn | Vista General | 2 | 03-19-2008 08:35 AM |
| Why don't any of the 3D samples compile? | JD | Avalon | 2 | 03-03-2006 10:26 PM |
| 3D samples update to Feb CTP | TheRHogue | Avalon | 0 | 02-23-2006 12:18 AM |
| SDK Samples? | Shawn Wildermuth | Avalon | 1 | 01-31-2006 06:59 AM |