138 byte By
tqan at 2007-11-16 9:28:37
Anyone has source code or infor (on the web) about chain code algorithm (for coding image) please help me<br/>I need it urgently<br/>Thanx
129 byte By
amit-bd at 2007-11-17 2:26:55
hi,<br/>does anybody know about a graphic card that support this OpenGL extension.<br/>Thanks in advance <br/>Amit
635 byte By
catmad at 2007-11-17 4:42:37
Hello!I got some strange errors everytime when I try to compile the sample code from the direktx8 sdk for mouse-input!DirektX SDK and drivers are installed!I got allready all Headers and Libs and Dlls, but this error messages appears everytime:: missing 'token' before identifier g_pDI: mis...
251 byte By
Idzik at 2007-11-17 8:55:57
Hi,<br/>there is a problem with window (CWnd) with OpenGL content over which there was clicked menu item.<br/>There is unrefreshed remains of this item.<br/>This is common to many examples of OpenGL programs.<br/>Has anybody solved it ?<br/>Idzik
This is a new forum that can be used to discuss graphics related topics and C++. Topics that come to mind are OpenGL, DirectX, and GDI/GDI+. This forum can also be used to discuss graphics related topics such as game development and Aero. <br/>Brad!
265 byte By
jigen3 at 2007-11-18 13:31:47
ok i'll try posting...<br/>did anyone run into any instances of gdiplus redrawing an image 2, 3, or 4 times on one call of graphics.Drawimage()? the image was a gif loaded from a file. i am pretty sure i am not invalidating that many times...<br/>jigen3
391 byte By
dnorric at 2007-11-18 13:32:19
Hi all I want to be able to load a bitmap and insert it into a video stream using a filter i have created. In other words i want create a filter which passes the video signal but transforms it by inserting a loaded bitmap into the stream for a second then revert back to the video frame. I do not wis...
What is the fastest way to draw a fill quadrilateral ?<br/>They are not parallelograms. We have the cordinates.<br/>The outline has different color than inside.<br/>The Graphic mode can be BlackWhite or FullColor.
Hi all,Currently i am doing project for desinging graphics application with the help of GDI objects using MFC. In this application i use two tools like Unfilled rectangle and filled rectangle with different line stlyes. While selecting the unfilled rectangle, the rectangle will be drawn with current...
167 byte By
plasmon at 2007-11-18 13:41:27
I am a theoretical physicist. Is Visual C the right platform for <br/>accurate physics simulation or dos. Can we use them both for a <br/>single application.
244 byte By
CreoFred at 2007-11-18 13:41:34
I need to create a CMM module for Windows ICM color management.<br/>I could do it in the Mac environment, but would like to know if someone already tried this (and was willing to share the way she/he overcame the problems) in the Windows world.
251 byte By
plasmon at 2007-11-18 13:43:14
The parameters involved in drawing functions like, <br/>MoveTo, LineTo, Rectangle, Ellipse etc requires long integers.<br/>While in physics simulation, it is often desired to work with <br/>decimal values too. How can i cope with that.
Assalam-O-Alaikum, I am trying to do Image Scaling and then save the scaled Image into a DIBSection and then display it using SetDIBitstoDevice. I have loaded a file and created a DIBSection according to the specification of the Image. I then created another DIBSecti...
111 byte By
plasmon at 2007-11-18 13:47:24
I have created an image in the resource editor. How can i rotate<br/> this image on pDC-> command line.
88 byte By
plasmon at 2007-11-18 13:47:57
How to draw line with different styles and widths. Also how to draw arrow heads on line.
506 byte By
cstyle29 at 2007-11-18 13:50:05
Hi, I am learning to make video games and I ran across a book call openGL programming. To my suprise it's what is used to program ps2 game and xbox and i think game cube. What kind of language is it and where can I purchase a copy of it. Also How is it that you program the game on the computer...
196 byte By
Reunion at 2007-11-18 13:50:15
Hello, all.<br/>Does anyone know the algorithm of the "add noise filter" (like in Photoshop)? I need a formula with descriptions.<br/>PS. I cannot work with GDI+<br/>Thankyou in advance.
461 byte By
jigen3 at 2007-11-18 13:50:35
hi,i am trying to store the output of OnDraw()'s pDC into another CDC for quick redrawing. but when i try to store its output using RedrawDC.BitBlt(0, 0, 2350, 1200, pDC, 0, 0, SRCCOPY);i get basically a screen shot, with the origin at my windows client origin extending past my screen to black...
185 byte By
rcs at 2007-11-18 13:52:40
Hi,<br/>I wanted to know the file structure of OTA, TIFF, WBMP and WMP image formats so that i can read from my C++ program and corrupt it.<br/>Thanks in advance.<br/>rcs
545 byte By
jigen3 at 2007-11-18 13:53:56
hi,does anyone know the blitting routines needed to display transparency with the net result being SRCAND of the original? SRCCOPY transparency is: dcOriginal.SetBkColor(crColor); //crcolor is trans. color dcTrans.BitBlt(0, 0, nWidth, nHeight, &dcOriginal, 0, 0, SRCCOPY); pDC->BitBlt(x, y, nWi...
379 byte By
Yeghia at 2007-11-18 13:56:46
Hello, I'm new to DirectX9I have a problem, I'm trying to animate a globe in DirectX9 application. I have several frames of globe in Windows BMP format. That part of bitmap which should transparent has this 0x00FcFcFC color. How can I transparently blit at least one of this frames on my ba...
57 byte By
plasmon at 2007-11-18 13:57:05
How can i animate a rotating line using double buffering
Hi all,My work involves displaying a big picture (satelite image of a terrain) zoom in - zoom out, and plotting on the image. I have solutions for all these but I want to know if they are efficient or is there is any better way to do it. We have seperate pictures for zoomed ones so that the image wi...
188 byte By
cheenu4 at 2007-11-18 14:01:19
I am using Redhat Linux and have a ppm file that I want to print from my code. Does anybody know which librarirs I need and what command I need to use in my C++ code fo rthat?<br/>Thx
390 byte By
evcooper at 2007-11-18 14:02:30
Hi Guys:) ,Can you help a young Gal just getting started?I know a little html and I operate a webstore, www.quicksilvermint.com .I would like to protect my online graphics from being copied and used by my competition.Can someone please help me with the code:confused: --Please!I will be eternally gra...
213 byte By
sgrajan at 2007-11-18 14:02:35
hai,<br/>I am a beginner to VC++, I want to do a project on Image processing, Plz give me some cool links to tutorials and some books names.<br/>Plz give ur valuable ideas to improve myself.<br/>Thanks is advance.
321 byte By
mirex at 2007-11-18 14:03:52
Im trying to display my scene through OpenGl, but transparent polygons are not displayed correctly, it looks like i have to distance-sort them and draw them sorted, farthest polygons first, nearest polygons last. I tried to do that by my algorithm, but sorting takes long time. Aint there any way to...
182 byte By
vova at 2007-11-18 14:06:09
hi folks !<br/>I need your help!<br/>I have a problem i dont know how to do it<br/>i need to convert IStream interface<br/>to jpeg file<br/>thanks in advance
378 byte By
saci at 2007-11-18 14:08:17
Hi, I want to write a program in MFC where i can read each Frame as a DIB of an Mpeg file selected from a specified location.I also wanted to know if there is any generalized way to read Mpeg and AVI file. I am trying hard to find an interface to read Mpeg files from last few days but did could...
4432 byte By
Simon666 at 2007-11-18 14:08:28
Hello, I'm using OpenGL to draw in my application. I want to use multiple fonts. I found the functions below on NeHe to use fonts. The problem is : you only can declare one font, because when you call BuildFont more than once there is a memory leak which after time will give you a warning that...
BitBlt seems to work only if the destination DC is the client window. I actually want to copy more than one bitmaps to different locations of a dc and then display it on the client window. But I am unable to copy the image from one DC to another. The code is from the WndProc callback function: ca...
77 byte By
Vered at 2007-11-18 14:13:17
Do you know good developer tool to convert EPS to bitmap such as GIF/JPG/PNG?
Hello to all!Please help me and excuse me for silly question, but I'm in panic!If somebody know how to create DirectDraw surface in windowed mode?Then I set second parameter of SetCooperativeLevel to DDSCL_NORMAL, IDirectDraw method CreateSurface return DDERR_NOEXCLUSIVEMODE. I'm understa...
1181 byte By
celtics at 2007-11-18 14:14:50
my B&W image has gray scale problem. how to improve it?.it looks good for most part.CelticsLPBITMAPINFO PbmiHeader = (LPBITMAPINFO)new BYTE[sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD)];PbmiHeader->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);PbmiHeader->bmiHeader.biWidth = Width;PbmiHeader...
I tried to make an example for showing how u can pick object from an direct3d enviroment, i used a part of a code from direct3d8 sdk - PICK - the function in my example is : D3DVECTOR GetMousePosition3D(POINT ptCursor){...}, but it does'n work!!! What can i do...?!? Here is the code : http://ww...
1259 byte By
celtics at 2007-11-18 14:16:29
Image Gray Scale Question my B&W image has gray scale problem. it looks good for most part.how to improve it?. How to (modify)Or(add to)) this header to improve gray scale?. MFC/SDI.CelticsLPBITMAPINFO PbmiHeader = (LPBITMAPINFO)new BYTE[sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD)];PbmiHeader-&...
1534 byte By
celtics at 2007-11-18 14:16:37
Sorry, for multiple posts here. i am new and made errors.this is for my biology project.my B&W image has gray scale problem. it looks good for most part. needs to be smoothed uniformaly. Dark areas need to be dark uniformaly without any fuzziness or impurities of other colors. I do not know the imag...
726 byte By
mcunha at 2007-11-18 14:18:13
I have a question about Windows Media 9 series SDK : Can I use Microsoft Windows Media 9 series SDK to develop an application that play streamed media from an Windows Media server (mms://), an RTSP server (rtsp://) and from our personnel server that we develop here in the lab (callisto://serverip/me...
Hi all,I was wondering if there is any differece between these two usage of bitblt, both for which the output is the same. The destination DC is the client screen while the source DC has the bitmap. The source DC is much bigger than the screen. Is there any performance difference between BitBlt(hd...
1277 byte By
Linslv77 at 2007-11-18 14:24:00
below is my code:---------------HDC hDC;HFONT hFont;RECT rect;DWORD* pBitmapBits;BITMAPINFO bmi;HBITMAP hbmBitmap = NULL;hDC = CreateCompatibleDC( NULL );SetMapMode( hDC, MM_TEXT );ZeroMemory( &bmi.bmiHeader, sizeof(BITMAPINFOHEADER) );bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);bmi.bmiHeader.bi...
Hi , I'v recently been entasked with a project to simulate real terrain based on sattelite info. This was fairly trivial and works 99.9% ;)The problem that I having is quite odd ie. Certain triangles in my 3d world that have a lower height than others seem to go over higher triangles during ro...
(MFC et VC++7)i write an application which posts data converted into BMP line (752 pixels).These lines is draw on screen at the rate of source acquisition (ultrasound).All occurs well on a traditional screen, but on a TFT a flutter of the image appears.I use ScrollWindowEx() to move the image to th...
Ok, here's one for the geeks :)I have created a directx app using visual studio. And, it runs perfectly from the visual studio, however, now I want to run the program from the command line so that I can enter in paramters. However whenever I type in programname.exe to run my app from the comm...
244 byte By
Kopel at 2007-11-18 14:31:57
Can someone give me a good directdraw platform with an easy bitmap loader?<br/>I tried to use the platform from mickey kawick's book for directx 6 <br/>and it showing the wrong colors and in fullscreen the bitmap is fragmented and blury...
212 byte By
OKN at 2007-11-18 14:33:29
Does anybody know how to use or interpret the BYTE array which one can get for a GDI+ region using the GetData method ? The MSDN library tells me only "The GetData method gets data that describes this region." :(
437 byte By
celtics at 2007-11-18 14:34:42
mfc/sdi:using stretchdibits with rgb setting that creates b&w image but with some black spots: for(int i=0; i<256; i++) {p->bColors[i].rgbBlue = i;p->bColors[i].rgbGreen = i;p->bColors[i].rgbRed = i;p->bColors[i].rgbReserved = 0;}this part seems to be fine. but maybe needs to go along...
Hei gurus I have a set of assembly code.. which are bundled with _asm block.while doing some assembly functions it gives error (acces previlage error 0x00000096) __asm{ push ax push dx mov dx, wPortAddr mov ax, wData out dx, ax /// giving Error Here......
205 byte By
coda at 2007-11-18 14:35:02
I using opengl rendering to draw 2D objects in my dialog view. I wish to add a button to allow user to view the object as 3D. How do i proceed? any tutorial or sample on this will be greatly appreciated.:)
88 byte By
pmask at 2007-11-18 14:35:04
How i can create a program that create a sound to sound card, like Text To speech engine
325 byte By
celtics at 2007-11-18 14:35:40
how to combine (a) and (b) for nice clear cut bw image?.(a)greylevel = (red * 0.30) + (green * 0.59) + (blue * 0.11);(b)for(int i=0; i<256; i++) {p->bColors[i].rgbBlue = i;p->bColors[i].rgbGreen = i;p->bColors[i].rgbRed = i;p->bColors[i].rgbReserved = 0;}...