VB.Net 3D in WPF

Creating 3D content in VB.Net with WPF

Page 1 of 1

2 Replies - 4939 Views - Last Post: 05 July 2008 - 11:29 AM Rate Topic: -----

#1 cristi2go  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 04-July 08

VB.Net 3D in WPF

Posted 04 July 2008 - 08:44 AM

Hello

I have a VB.Net project which is a WPF Windows App, on a PC with WinXP installed. I took the XAML code sample from the MSDN page 'Viewport3D class', and I wrote the VB.Net version of that code. I placed the Viewport3D control by code, just as in the C# sample located on that same webpage.

The compilation of the VB code had no errors. However, the control in question does not appear on the form, while the in C# it appears, also with no errors.

The question I have is: Is there something I could do to make the control visible or is it the 3D WPF feature which does not work for VB ?

If the code or the project are needed for this, please inform me.

The answer would be very helpful for me.

Thanks

Is This A Good Question/Topic? 0
  • +

Replies To: VB.Net 3D in WPF

#2 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 418
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: VB.Net 3D in WPF

Posted 04 July 2008 - 09:42 AM

Post your code and we will be happy to help you determine the problem.
Was This Post Helpful? 0
  • +
  • -

#3 cristi2go  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 04-July 08

Re: VB.Net 3D in WPF

Posted 05 July 2008 - 11:29 AM

I figured out the problem, I didn't declare the texture coordinates.
Thanks.

There is still one more problem. The texture isn't rendering as expected - only two triangles of the object are textured - the object is a concave polygon, with all the vertices in the same plane.

If you have any suggestions, or the code is needed, that may be helpful.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1