|
hi Matthew,
Thanks for replying.. Its a perfect solution
Rana Krishnraj
|
|
|
|
|
hi
it dosent work for an image that captured by BitBlt?!!!
what should i do if i want to mirror this image(a BitBlt image)?
و این منم زنی تنها در آستانه فصلی سرد...
|
|
|
|
|
i fix that!
System.IntPtr srcDC = GetDC(f.Handle);<br />
Bitmap bmp = new Bitmap(50, f.Height + 30);<br />
Graphics g = Graphics.FromImage(bmp);<br />
System.IntPtr bmDC = g.GetHdc();<br />
BitBlt(bmDC, 0, 0, 50, bmp.Height, srcDC, r, -30, 0x00CC0020 );<br />
r += 10;<br />
ReleaseDC(f.Handle, srcDC);<br />
g.ReleaseHdc(bmDC);<br />
g.Dispose();<br />
<br />
Image img;<br />
img = bmp;<br />
img.RotateFlip(RotateFlipType.RotateNoneFlipX);<br />
f3.pictureBox1.Image = img;
i should set bitmaps width to 50!(because my pixtureboxs width and actually my last images width is 50);
tnx.
و این منم زنی تنها در آستانه فصلی سرد...
|
|
|
|
|
Alan Simes did the port. Is it avaialable anywhere?
|
|
|
|
|
seriously, try looking here:[^]
Learn to write self marginalizing code!
Call 1-888-BAD-CODE
------------------
Silver member by constant and unflinching longevity.
|
|
|
|
|
I did try using google. All the links I found are no longer functioning.
|
|
|
|
|
Sorry, I was not pulling your chain.
There is a J# version out there, and I suspect you can just use the project in a solution,just like it was a C# project(only it's J#).
The code is similar enough that your c# knowledge will let you figure out the algorithms. Other than that,it is no different than having both c# and vb in separate projects in the same solution.
So download the J# project, and just pretend it's c#.
Silver member by constant and unflinching longevity.
|
|
|
|
|
The original C# version is still available if you dig at: https://xgsuite.svn.codeplex.com/svn/Warp3D/Warp3D/
Can anyone clarify the license of Warp3d though?
|
|
|
|
|
That was a real dig!
I asked Brian Keller if he has any idea bout the license.
I will pass it on if he responds.
is IDX3D worth using at this point, or is it good for studying technique?
Are you using it for a project?
Silver member by constant and unflinching longevity.
|
|
|
|
|
From Brian Keller:
-----------------------------------------------------------------
Sorry, I have no idea.
-----Original Message-----
From: rmustakos@att.net [mailto:rmustakos@att.net]
Sent: Wednesday, October 28, 2009 8:49 AM
To: Brian Keller (DPE)
Subject: (Brian Keller: Technical Evangelist for Team System) : warp3d/idx3d
license
Importance: High
Do you know how t ofind out what the license terms are on warp3d? I am having a
hard time finding any references to it other than yours.
Here is a link to the c# code, if you want to fix the link in your bolg (from
2005 ;^P)
<http://blogs.msdn.com/briankel/archive/2005/08/02/446780.aspx>
<http://blogs.msdn.com/briankel/archive/2005/08/02/446772.aspx>
-----------------------------------------------------------------
Silver member by constant and unflinching longevity.
|
|
|
|
|
Hi! I 'm studing on visualization raw data
I displayed image on base plane But Image is shear. How can I compute final image from image on base plane
|
|
|
|
|
Hi Guys,
I have a .net application, in which a frequently used screen experience a GDI leak. Using GDILeakDetector, i found the kernel address of the bitmap object, which is causing the leak.
Handle : 0x3a0509ea
ObjectType : Bitmap
Kernel Address : 0xe2cc9d28
Extended Information : Width: 12, Height: 12 , Bits/Pixel: 32
Now i need to find out what is that object in the screen (i.e) object details, from the kernel address. Can u pls help me out in this how could i point out the object in the screen and also how to dispose it on form close.
Thanks in advance 
|
|
|
|
|
How many forums did you post this in?
Anyway, why not ask it in the forum specifically for GDILeakDetector? Personally, i'd be more interested in finding the code that's forgetting to release the handle - since that you can actually find fairly easily...
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Noordeen Shah wrote: I have a .net application, in which a frequently used screen experience a GDI leak.
Everyone knows .NET languages prevent leaks. That's a C++ problem and why everyone should switch to proprietary Microsoft languages.
2 75 22 6
|
|
|
|
|
I had this incredible idea and i dun know how to implemnt it.
I want to create an external graphics card(i have no idea how to make 1) attached via USB port which can run games(not the current released versions but games made for this graphics card) ppl with sh***y graphics card would not have to waste money on new cards. Although they will not be able to play new games made to run on Nvidia/Ati graphics card.
The biggest problem i'm facing now is how to display all these 3d calculations of images or models onto the desktop.
|
|
|
|
|
<blockquote class="FQ"><div class="FQA">duo!@# wrote:</div>The biggest problem i'm facing now is how to display all these 3d calculations of images or models onto the desktop. </blockquote>
Well, no, that's not your biggest problem.
This post has nothing to do with this forum, that's problem 1.
A USB port is not fast enough to run a high speed 3D card, that's problem 2
You want people to buy a special card, then buy games especially for this card, rather than wasting money on a new card ? Buy a new card to avoid spending money on a card ? That's a doozie.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Well it says graphics i tried the harware forum but no one replied. Well if such a portable graphics card was made computer manufactures can make a special USB port for this kind of thing
Well some awesome ps2,xbox360,wii games cant run on a PC if ppl are prepared to pay a few hundred $$ for these machines i bet they will want this portable grahics card. And about speed did u know the PSP's Microprocessor runs at 333Mhz and yet its able to play those high end games.Xbox360 runs on a P3 processor.
These usb powered games will be far cheaper and p i s s nvidia and Ati off cause they cant cheat us by placing less math formulas in the piplines
|
|
|
|
|
duo!@# wrote: cant cheat us by placing less math formulas in the piplines
And how would using USB prevent this?
|
|
|
|
|
duo!@# wrote: i tried the harware forum but no one replied.
I guess they were just shaking their heads.
Sorry, but what you're suggesting is impractical, and ludicrious.
duo!@# wrote: These usb powered games will be far cheaper
Why will they ? You barely know how the parts work, how do you propose to know what they cost ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Why do u keep crticising this idea although i dun care.
Christian Graus wrote:
Sorry, but what you're suggesting is impractical, and ludicrious.
So what if its impractical, and ludicrious. u have no proof that it cant be done.
The computer system is an example
|
|
|
|
|
OK. You're going to put a high-end 3D graphics engine in an external device. That means packaging, additional hardware to manage the USB interface, and a power supply.
You're also replacing an internal graphics card, which sits on a bus, with an external device that communicates over USB. The only way that the external device could possibly display things fast enough is if the data on the bus is in the form of a display command set. You could use a representation of GDI/GDI+, OpenGL. The external device therefore has to have the intelligence to interpret the display command set and execute in on its 3D graphics hardware. You've added another processor to manage the display command handling.
Like Chris said, the idea is impractical and ludicrous. Making a graphics device an external adapter doesn't gain you anything.
|
|
|
|
|
Sounds ambitous mate,
There is no advantage of having a graphics card outside your computer, and like Christian said the USB ports will not be able to transfer data fast enough to make it worthwhile.
If you wanted to try and design one, I would definatly encourage you (you'd be in a 100K+ job in no time if you could). But I suspect you might get a shock with the complexity of the electrical engineering involved - which is a lot harder to get to grips with than programming is.
Cheers,
|
|
|
|
|
|
They do make a special port that can handle the demands of high speed graphics. Its called PCIX, its quite wide and they put it on very very short wires right next to the CPU and RAM, so they can get high speeds out of it.
A PC has the power to run playstation & xbox360 games, its more that its easier to write games for one set of hardware.
The USB powered games will be far far shittier. They will have terrible graphics compared to anythign else on the market.
Other people have tried to provide a "better game" if you buy the hardware. Ageia did this with physics accelerators. Hardly anyone bought them, so nobody really made games for them.
Seriously, I bought a 9600GT the other day for around AU$150. How cheap did you expect to make this for?
|
|
|
|
|
duo!@# wrote: attached via USB port which can run games(not the current released versions but games made for this graphics card)
What a great idea! And with that bandwidth you could have such popular titles as Pong 1D, and Line 1D. 3D and VR are overrated, lets get back to the meat and potatoes of games!
|
|
|
|