DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
Go Back  Xtreme Visual Basic Talk > > > > DirectX 8 Rendering to PictureBox


Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2005, 12:07 PM
steven_j steven_j is offline
Newcomer
 
Join Date: Feb 2005
Posts: 16
Default DirectX 8 Rendering to PictureBox


Dear All,

This is a difficult problem, and if anyone has a solution I would appreciate some help.

The problem is as follows:

I am using DirectX 8 to draw a 3D textured sphere, since this is the only reason I am using DirectX in my native visual basic application, I would like to be able to render this image permanently into a picturebox with autoredraw enabled. This is so that I can perform other rendering tasks in the picturebox without DirectX.

Is there any way to copy the DirectX image pixel by pixel such that it permanently becomes a proper picture in the picturebox? Is rendering to a MemDC possible? I would also prefer if rendering was performed in the background with no DirectX viewport visible on the screen.

Kind Regards,

Steven.
Reply With Quote
  #2  
Old 07-28-2005, 03:52 PM
Alkatran's Avatar
Alkatran Alkatran is offline
Contributor
 
Join Date: Jun 2003
Posts: 539
Default

I thought you generally 'had' to use a picture box to use directX with vb? (It's definitely the easiest way)

Unfortunately, I use DX7 so I'm not sure if it carries over. How are you drawing now? To the form's DC? (If so, just swap 'form' for 'picture'...)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
 
DirectX 8 Rendering to PictureBox
DirectX 8 Rendering to PictureBox
 
-->