Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

February CTP Samples for 3D - None of it works

Closed Thread
 
Thread Tools Display Modes
Old 02-28-2006   #1 (permalink)
Kevin Hoffman
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

Old 02-28-2006   #2 (permalink)
Erno
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
>



Old 03-01-2006   #3 (permalink)
Nick Anderson [MSFT]
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
>











Closed Thread

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








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50