|
More site info...
Graphics Programming | Forum profile
|
|
Forum profile page for Graphics Programming on http://www.codeguru.com.
This report page is the aggregated overview from a single forum: Graphics Programming, located on the Message Board at http://www.codeguru.com.
This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period.
Additional forum profile information for "Graphics Programming" on the Message Board at http://www.codeguru.com is also shown in the following ways:
1) Latest Active Threads
2) Hot Threads for Last Week
Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.
|
|
|
|
|
Posting activity on Graphics Programming:
|
|
Week
|
Month
|
3 Months
|
|
Threads:
|
8
|
33
|
92
|
|
Post:
|
11
|
48
|
132
|
|
|
Graphics Programming Posting activity graph:
|
Top authors during last week:
user's latest post:
Direct3D9 2d draw image
Published (2009-11-02 05:09:00)
when i want to draw 2d image, no locking, no update of image, which method is fastest, is there faster way that i don't yet know ? when i use an image with format D3DFMT_A8R8G8B8, is it slower than D3DFMT_X8R8G8B8 ? is D3DDevice->StretchRect() faster to use it instead of D3DDevice->DrawPrimitiveUP() ? is LPD3DXSPRITE faster than all ? which is fastest, i just want to know. and i want to load huge images faster,...
user's latest post:
32 bit DIB from 24 bit bitmap
Published (2009-11-05 15:27:00)
Ok, i have come up with a simple solution. This is how to create an offscreen buffer (DIB32) and load a 24bit texture and make it DIB32 compatible. It seems i dont need to set the bmiHeader.biSizeImage value? Just zero it? Code: // First we need a device context that is compatible // with the desktop settings. (1024x768x32 on my PC) HDC BufferDC = CreateCompatibleDC(NULL); // Now we describle a format for the offscreen buffer. BITMAPINFO...
user's latest post:
GDI+ and Multi-Core
Published (2009-10-31 14:51:00)
GDI+ as a library is thread safe but not the objects manipulated. If you take a Graphics object and you try to access it from 2 different threads, an exception will be thrown. If you take 2 threads and eah one instanciates its own Graphics object then it's ok. But if both threads call DrawImage(), it's still ok but the method uses a lock so the 2 calls a processed sequentially. When you use GDI+, you don't have to draw directly...
user's latest post:
blending & alpha blending in...
Published (2009-10-31 05:34:00)
ok... I believe that my video adapter does not support 2 separate blendings. but why doesn't the reference drive type support it?
user's latest post:
Convert CMYK image to RGB image
Published (2009-11-03 09:00:00)
No he wants to convert the image using ICC profiles color conversion. I have the same problem when I convert from CMYK to RGB. My code is similar to yours. The result is not what I expect. If you find the cause to the problem please post it.
user's latest post:
GDI+ and Multi-Core
Published (2009-11-02 17:31:00)
Yes, I understand. What I was saying was that if I remember correctly, you are not allowed to draw to the same device context from 2 threads, at the same time. I forget where I read that, however. I think one reason has to do with the selecting of pens and brushes (one thread may select a pen; context switch; the other thread selects a different pen; context switch; the first thread assumes his pen is still selected). Viggy
user's latest post:
Windows Media Player thumbnails
Published (2009-11-05 14:58:00)
I wrote an application that hosts the Windows Media Player. It loads individual video files (.wmv) from a list box control. When a selection is made, the control shows a black screen until the user clicks the play button. Does anyone know how to display the first frame (or, thumbnail) that would represent the video? Windows explorer does this when you change to thumbnail view.
user's latest post:
Direct3D9 2d draw image
Published (2009-11-04 11:48:00)
I would suggest using the ID3DXSprite interface for rendering the images. I don't know about the spped of loading images but what you are doing seems to be fine. Have you tried the D3DXLoadTextureFromFileEx function, don't know how it will compare. About your .dds format, if you open up the directX texture tool go to: Format->Change Surface Format... and select one of the "Four CC" formats, they are...
user's latest post:
looking for graphic format...
Published (2009-11-04 01:56:00)
yes ,it works .bu t photoshop can not convert a group of image files.
|
|
|
|
Latest active threads on Graphics Programming::
Started 6 days, 9 hours ago (2009-11-05 03:41:00)
by olivthill2
When your image is loaded, then use GetDIBits() with the argument containing the BITMAPINFO structure indicating you want a 32-bit bitmap, i.e. with bi.bmiHeader.biBitCount = 32 :
Code:
BITMAPINFO bi;
...
bi.bmiHeader.biSize = sizeof(bi.bmiHeader);
bi.bmiHeader.biWidth = picture_width;
bi.bmiHeader.biHeight = - picture_height;
bi.bmiHeader.biPlanes = 1;
bi.bmiHeader....
Started 1 week ago (2009-11-04 11:48:00)
by DrYap
I would suggest using the ID3DXSprite interface for rendering the images.
I don't know about the spped of loading images but what you are doing seems to be fine. Have you tried the D3DXLoadTextureFromFileEx function, don't know how it will compare.
About your . dds format, if you open up the directX texture tool go to:
Format->Change Surface Format... and select one of the "Four CC"...
Started 3 weeks, 6 days ago (2009-10-15 01:12:00)
by no flowers Junior Member
hello
i want to convert some image files to other format files, the more formats the better .but i don't know which tool is good and much practical .please give some suggestions .
thanks.
Started 1 week, 1 day ago (2009-11-03 09:00:00)
by gratzielu
No he wants to convert the image using ICC profiles color conversion. I have the same problem when I convert from CMYK to RGB. My code is similar to yours. The result is not what I expect. If you find the cause to the problem please post it.
Started 1 week, 4 days ago (2009-10-30 15:12:00)
by VladimirF
Few things.
1. 29% means MORE than one core.
2. You might have disk I/O holding you back.
3. Check the Task Manager is the CPU load spread over different cores?
Started 1 week, 2 days ago (2009-11-02 04:13:00)
by evren320
you can reach thousands of fps with directx
Started 1 week, 4 days ago (2009-10-31 05:34:00)
by Feoggou
ok... I believe that my video adapter does not support 2 separate blendings. but why doesn't the reference drive type support it?
Started 1 week, 5 days ago (2009-10-29 16:34:00)
by MrViggy
An array of 250,000 items is actually not that bad. I've worked with arrays 10 times that in code.
Viggy
|
|
Hot threads for last week on Graphics Programming::
Started 6 days, 9 hours ago (2009-11-05 03:41:00)
by olivthill2
When your image is loaded, then use GetDIBits() with the argument containing the BITMAPINFO structure indicating you want a 32-bit bitmap, i.e. with bi.bmiHeader.biBitCount = 32 :
Code:
BITMAPINFO bi;
...
bi.bmiHeader.biSize = sizeof(bi.bmiHeader);
bi.bmiHeader.biWidth = picture_width;
bi.bmiHeader.biHeight = - picture_height;
bi.bmiHeader.biPlanes = 1;
bi.bmiHeader....
Started 3 weeks, 6 days ago (2009-10-15 01:12:00)
by no flowers Junior Member
hello
i want to convert some image files to other format files, the more formats the better .but i don't know which tool is good and much practical .please give some suggestions .
thanks.
Started 1 week, 1 day ago (2009-11-03 09:00:00)
by gratzielu
No he wants to convert the image using ICC profiles color conversion. I have the same problem when I convert from CMYK to RGB. My code is similar to yours. The result is not what I expect. If you find the cause to the problem please post it.
Started 1 week, 4 days ago (2009-10-30 15:12:00)
by VladimirF
Few things.
1. 29% means MORE than one core.
2. You might have disk I/O holding you back.
3. Check the Task Manager is the CPU load spread over different cores?
Started 1 week ago (2009-11-04 11:48:00)
by DrYap
I would suggest using the ID3DXSprite interface for rendering the images.
I don't know about the spped of loading images but what you are doing seems to be fine. Have you tried the D3DXLoadTextureFromFileEx function, don't know how it will compare.
About your . dds format, if you open up the directX texture tool go to:
Format->Change Surface Format... and select one of the "Four CC"...
|
|