Click here to Skip to main content
15,907,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: Standard use of variable types Pin
Guffa12-Dec-07 19:22
Guffa12-Dec-07 19:22 
QuestionError: No row can be added to a DataGridView control that does not have columns. Columns must be added first. Pin
T4AMD12-Dec-07 12:43
T4AMD12-Dec-07 12:43 
GeneralRe: Error: No row can be added to a DataGridView control that does not have columns. Columns must be added first. Pin
Christian Graus12-Dec-07 13:16
protectorChristian Graus12-Dec-07 13:16 
QuestionChecklist for making a class Serializable? Pin
kumar.bs12-Dec-07 12:39
kumar.bs12-Dec-07 12:39 
QuestionInteger types implement an interface? Pin
Skippums12-Dec-07 11:57
Skippums12-Dec-07 11:57 
AnswerRe: Integer types implement an interface? Pin
Christian Graus12-Dec-07 12:26
protectorChristian Graus12-Dec-07 12:26 
GeneralControlling Flashget Pin
kingletas12-Dec-07 11:37
kingletas12-Dec-07 11:37 
QuestionRendering an image on on cylinder using DirectX managed classes Pin
RichC12-Dec-07 9:56
RichC12-Dec-07 9:56 
Hello,

I'm a newbie to using DirectX. My goal is to render a digital image on what looks like a coffee mug and rotate it. I downloaded the DirectX SDK and started playing with the code in the tutorials. (For reasons I won't go into here, I needed to download the older Summer 2004 DX-SDK which shipped with the DirectX 9.0c runtime and managed classes.)

I was able to modify tutorial 5, "Using texture maps", and come close to what I want (minus the handle on the mug). Unfortunately, when the image was texture mapped on the cylinder, two unexpected things happened. One was the image as viewed from the exterior of the cylinder was reversed. I overcame this by mirroring the image I was using for texture, though I wonder if I somehow could have avoided doing that by changing the code.

The other surprise is that the image appears on both the interior and exterior of the cylinder. Keeping my ultimate goal in mind, obviously I would like the interior to remain a solid color, such a white, and show the image only on the exterior. Could anyone offer some help on how to accomplish this? I'd appreciate it.

Confused | :confused:

BTW: I'm still on the v1.1 Framework
Regards,
Rich
GeneralRe: Rendering an image on on cylinder using DirectX managed classes Pin
Christian Graus12-Dec-07 10:34
protectorChristian Graus12-Dec-07 10:34 
QuestionDialog Box Pin
tsaunders12-Dec-07 8:10
tsaunders12-Dec-07 8:10 
GeneralRe: Dialog Box Pin
Luc Pattyn12-Dec-07 8:37
sitebuilderLuc Pattyn12-Dec-07 8:37 
GeneralRe: Dialog Box Pin
Christian Graus12-Dec-07 8:51
protectorChristian Graus12-Dec-07 8:51 
GeneralRe: Dialog Box Pin
Luc Pattyn12-Dec-07 9:40
sitebuilderLuc Pattyn12-Dec-07 9:40 
GeneralRe: Dialog Box Pin
Christian Graus12-Dec-07 8:40
protectorChristian Graus12-Dec-07 8:40 
GeneralRe: Dialog Box Pin
Skippums12-Dec-07 8:43
Skippums12-Dec-07 8:43 
GeneralRe: Dialog Box Pin
tsaunders13-Dec-07 4:33
tsaunders13-Dec-07 4:33 
QuestionSystem.Security.Cryptography.ProtectedData Does Not Exist [modified] Pin
Skippums12-Dec-07 6:41
Skippums12-Dec-07 6:41 
GeneralRe: System.Security.Cryptography.ProtectedData Does Not Exist Pin
Sathesh Sakthivel12-Dec-07 6:53
Sathesh Sakthivel12-Dec-07 6:53 
GeneralRe: System.Security.Cryptography.ProtectedData Does Not Exist Pin
Skippums12-Dec-07 8:39
Skippums12-Dec-07 8:39 
GeneralRe: System.Security.Cryptography.ProtectedData Does Not Exist Pin
Dave Kreskowiak12-Dec-07 8:54
mveDave Kreskowiak12-Dec-07 8:54 
GeneralRe: System.Security.Cryptography.ProtectedData Does Not Exist Pin
Skippums12-Dec-07 9:05
Skippums12-Dec-07 9:05 
GeneralRe: System.Security.Cryptography.ProtectedData Does Not Exist Pin
Dave Kreskowiak12-Dec-07 12:41
mveDave Kreskowiak12-Dec-07 12:41 
GeneralRe: System.Security.Cryptography.ProtectedData Does Not Exist Pin
Sathesh Sakthivel12-Dec-07 9:01
Sathesh Sakthivel12-Dec-07 9:01 
QuestionPrinting an image in the middle of a page Pin
devzav12-Dec-07 6:40
devzav12-Dec-07 6:40 
GeneralRe: Printing an image in the middle of a page Pin
Paul Conrad23-Dec-07 9:57
professionalPaul Conrad23-Dec-07 9:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.