Click here to Skip to main content
15,916,842 members
Home / Discussions / Graphics
   

Graphics

 
QuestionOpenGL and VC++ 2005 EE Pin
Newbie0021-Oct-07 1:44
Newbie0021-Oct-07 1:44 
QuestionOpenGL Printing and Exporting Pin
Ahmad Safwat18-Oct-07 1:08
Ahmad Safwat18-Oct-07 1:08 
Questionis it possible audio recording and image capturing in web applications? Pin
kadkir17-Oct-07 19:28
kadkir17-Oct-07 19:28 
GeneralRe: is it possible audio recording and image capturing in web applications? Pin
trioum11-Jan-08 23:28
trioum11-Jan-08 23:28 
QuestionOpenGL: problem with lightning Pin
timurttv10-Oct-07 17:29
timurttv10-Oct-07 17:29 
AnswerRe: OpenGL: problem with lightning Pin
Cedric Moonen10-Oct-07 21:30
Cedric Moonen10-Oct-07 21:30 
QuestionAudio Adjustment Filter in DirectSound Pin
Raja Bose C Leo10-Oct-07 2:36
Raja Bose C Leo10-Oct-07 2:36 
QuestionHow would i write a program using software gaphic??? Pin
MMaines20057-Oct-07 4:47
MMaines20057-Oct-07 4:47 
I found a way to write my game in c#, but it using 3d graphics. XP and voodoo3 don't agree with each other. So i need to know how to change this so i can use software or change it to full screen when it opens:

namespace WindowsGame1
{
class Engine : Microsoft.Xna.Framework.Game
{
Microsoft.Xna.Framework.GraphicsDeviceManager Graphics;
Microsoft.Xna.Framework.Content.ContentManager Content;
Microsoft.Xna.Framework.Graphics.Texture2D mytext;
Microsoft.Xna.Framework.Graphics.SpriteBatch SpriteBatch;
Microsoft.Xna.Framework.Vector2 Spritepos;
public Engine()
{
this.Graphics = new Microsoft.Xna.Framework.GraphicsDeviceManager(this);
this.Content = new Microsoft.Xna.Framework.Content.ContentManager(this.Services);
}

protected override void Initialize()
{
this.Spritepos = new Microsoft.Xna.Framework.Vector2(100f, 50f);
base.Initialize();
}

protected override void LoadGraphicsContent(bool loadAllContent)
{
if (loadAllContent)
{
this.mytext = this.Content.Load<microsoft.xna.framework.graphics.texture2d>(@"new\text\Mike1");
this.SpriteBatch = new Microsoft.Xna.Framework.Graphics.SpriteBatch(this.Graphics.GraphicsDevice);
}
}

protected override void UnloadGraphicsContent(bool unloadAllContent)
{
if (unloadAllContent)
{
this.Content.Unload();
}
}

protected override void Update(Microsoft.Xna.Framework.GameTime gameTime)
{
base.Update(gameTime);
}

protected override void Draw(Microsoft.Xna.Framework.GameTime gameTime)
{
this.Graphics.GraphicsDevice.Clear(Microsoft.Xna.Framework.Graphics.Color.Black);
this.SpriteBatch.Begin(Microsoft.Xna.Framework.Graphics.SpriteBlendMode.AlphaBlend);
this.SpriteBatch.Draw(this.mytext, this.Spritepos, Microsoft.Xna.Framework.Graphics.Color.White);
this.SpriteBatch.End();

base.Draw(gameTime);
}
}
}


Michael
(Up and coming Game programmer)
EST

AnswerRe: How would i write a program using software gaphic??? [modified] Pin
Baltoro20-Oct-07 9:53
Baltoro20-Oct-07 9:53 
Questionanimated Layered Windows Pin
Delfistyaosani7-Oct-07 2:51
Delfistyaosani7-Oct-07 2:51 
AnswerRe: animated Layered Windows Pin
Mark Salsbery7-Oct-07 5:59
Mark Salsbery7-Oct-07 5:59 
GeneralRe: animated Layered Windows Pin
Delfistyaosani7-Oct-07 6:56
Delfistyaosani7-Oct-07 6:56 
QuestionRe: animated Layered Windows Pin
Mark Salsbery7-Oct-07 8:03
Mark Salsbery7-Oct-07 8:03 
AnswerRe: animated Layered Windows Pin
Delfistyaosani8-Oct-07 0:11
Delfistyaosani8-Oct-07 0:11 
GeneralRe: animated Layered Windows Pin
Gandalf_TheWhite8-Oct-07 0:53
professionalGandalf_TheWhite8-Oct-07 0:53 
GeneralRe: animated Layered Windows Pin
Pete O'Hanlon8-Oct-07 10:17
mvePete O'Hanlon8-Oct-07 10:17 
GeneralRe: animated Layered Windows Pin
Dave Kreskowiak8-Oct-07 10:52
mveDave Kreskowiak8-Oct-07 10:52 
GeneralRe: animated Layered Windows Pin
Mark Salsbery8-Oct-07 6:43
Mark Salsbery8-Oct-07 6:43 
AnswerRe: animated Layered Windows Pin
Delfistyaosani12-Oct-07 7:44
Delfistyaosani12-Oct-07 7:44 
QuestionWhere is the first data location in Monochrome BMP image? Pin
Mohammad Khodaea7-Oct-07 2:02
Mohammad Khodaea7-Oct-07 2:02 
AnswerRe: Where is the first data location in Monochrome BMP image? Pin
Mark Salsbery7-Oct-07 5:52
Mark Salsbery7-Oct-07 5:52 
QuestionI need help or a answer plz Pin
MMaines20055-Oct-07 16:39
MMaines20055-Oct-07 16:39 
QuestionNew OpenSceneGraph version release Pin
El Corazon4-Oct-07 3:21
El Corazon4-Oct-07 3:21 
QuestionCreate a 4-bit Bitmap Pin
Mohammad Khodaea1-Oct-07 1:43
Mohammad Khodaea1-Oct-07 1:43 
AnswerRe: Create a 4-bit Bitmap Pin
Dan Neely1-Oct-07 2:16
Dan Neely1-Oct-07 2:16 

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.