Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
hi
please guide me to Rendering DirectX to a picture box control or any control
create and render a direct 3D window inside a picturebox Or panel or anything... .
 

thanks for any help
Posted 6-Jan-13 5:13am
Edited 6-Jan-13 10:48am
v8

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is ridiculous: if you are using DirectX, you don't need PictureBox, which is just a very simple control used to do the simplest things. Unless you want to show some static image in highly simplified way, just forgot this highly abused control. What is really used to render graphics is never a PictureBox.
 
The second idea is this: if you already use VB.NET, you use .NET. It means that you don't need to use DirectX directly (pun unintended Smile | :) ). This is not so easy to do. You can be better off if you use WPF instead. The WPF library is fully based on DirectX and the easy of use of a .NET library. Even easier: the problem with System.Windows.Forms or any other UI based on GDI+ is that its graphics cannot live with DirectX graphics well; these kinds of graphics are implemented in different levels and do not combine. With WPF, you don't have this problem.
 
—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 295
1 OriginalGriff 274
2 Shweta N Mishra 216
3 PIEBALDconsult 184
4 CPallini 155
0 OriginalGriff 7,630
1 Sergey Alexandrovich Kryukov 7,022
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,525


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100