|
sagetarian wrote: Once again... why merge 'em
This was a failed attempt to create one non-competing standard for all platform graphics, replacing both DirectX and OpenGL. It failed because of the power struggle within the committee. Sun still holds a grudge against MS and MS still holds a grudge against a few others. The idea was that without the competition they could work on creating a super set of functionality on the scale of a full scenegraph as well as low-level functionality. The project tore itself apart internally and the result was we still have DirectX and OpenGL as competitors for "some" markets. Some meaning that cross platform there still is no choice.
In OpenGL 2.0+ you can do some GPU programming. It at least doesn't prevent you, you even have a choice of GPU languages depending on your personal favorites (CUDA, Cg, OSL, etc.). I've been doing GPU programming using vendor extensions since 1.5 was released.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Hi. Is it possible to embed DirectX application in a C# Windows form? The problem is that the application is written in C++.
|
|
|
|
|
Due to DirectX being involved, more than likely not.
|
|
|
|
|
I don't know about embedding applications in forms, but...
The newer/newest DirectX SDKs include separate documentation for managed languages.
The info should be there.
Introducing DirectX 9.0 for Managed Code[^]
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I draw some graphics in a form,such as rectangles,lines.Now when i double click the form,how can i know which graphics i selected or i selected nothing. and then i want to do something with the graphics.
In other say ,how can i get the graphics when i click it??
i use C#
|
|
|
|
|
ok you just see it on trenster and you can select it again it easy
sonarat
I don't know how to tell you but I like IT and Designingas well as Graphic
|
|
|
|
|
Hi,
Im hoping someone here can help...
I am involved in a project that needs to perform some image analysis on an image to interpret results. The functions I need are as follows: scaling image, image rotation and finally analysis at a pixel level. We are running on WinCE and coding with C#. I am able to find image processing libraries for WinXP which unfortunately don't work on WinCE due to the cut down functionality in Compact Framework 2.0.
I haven't been able to find a WinCE compliant package. Maybe someone here knows of one? Any other suggestions?
Hoping for some leads...
Regards,
Myron
|
|
|
|
|
Myron - Accusoft indicates support for the compact framework.
Accusoft
|
|
|
|
|
Thanks for the reply. I have seen Accusoft but they are not cheap!
Regards,
Myron
|
|
|
|
|
For a camera which support DirectShow, I can easily get it used via DirectShow, preview video, capture image, record, and so on. Now my problem is I want to know which usb controller and port the camera I'm using is conneted to. I can also get all usb controllers and usb cameras and their connection map via WMI, but can not match the same usb device bewteen DirectShow and WMI. Is their a identifier for me or some way else?
Thanks
Clark Nu
|
|
|
|
|
hii... i'd like to ask if someone know how can i read 3 DIM vectors valuse of (static type) from file(any external file on any drive of PC) using C++.. my application is programmed by C++ with OpenGL.
regards
miss maria
|
|
|
|
|
Miss_ Petrovna wrote: how can i read 3 DIM vectors valuse of (static type) from file
how are the vectors defined... generally I have a vector < some3dstructure > storage. and then I simply read into some3dstructure and then push_back(some3dstructure) into the vector. This makes it real easy to read/write binary data. Text data is not really a little more difficult, but rather just a few more steps to keep track of and get right.
-- modified at 18:22 Monday 23rd July, 2007
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Thankx El Corazon for Ur perfect opinion. i was looking for efficient way to read static info. from a file for program generality instead of reading binary data directly (this what i did in my program).Ur opinion is very nice from phelosophical view too .
regards
maria
-- modified at 5:51 Friday 27th July, 2007
|
|
|
|
|
Miss_ Petrovna wrote: i was looking for efficient way to read static info. from a file for program generality instead of reading binary data directly
they are not that much different. A routine for processing the vector information can in its simplest form be binary read/write. With minor changes you can use routines to provide an interface to/from the binary form to XML, or other text formats, or any format for that matter. They all have generally the same inforamtion, they simply put it in different forms or locations within the file.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
thank U again El Corazon for UR rich information about my question.. frankly, i'll avoid the complexity and errors which may be accured when data r read from file. both of UR opinions are satisfactory and perfect.. I have built my program upon UR first opinion, i'll keep UR second perfect suggestion for future work .
regards
maria
-- modified at 14:42 Sunday 29th July, 2007
|
|
|
|
|
I created a charting control for work in ASP.NET, and so far, they are thrilled. It has a bar chart, and a pie chart. Now they want a line chart (like a vertical bar). I have it working, but now they want each bar to look 3D.
Each item is passed into a collection on the control. An item consists of a color and amount. The chart is built by the percentage of each item in the total of all items.
Now they want the line chart (vertical bar) to have a 3D feel. I was able to get the 3D look, but I'm having a problem determining the values for the lighter and darker parts of each item. I need to figure out a lighter (and a darker) color for the passed value.
For example, the bar color would be red. For the shadowed part of the bar, I need a darker red. For the top of the bar, I need a lighter color. But since each item color is being passed, I need to determine these colors on the fly.
Something like GetDarkerColor(PassedColor) would be great. I just don't know how to determine these values.
Any help would be greatly appreciated.
|
|
|
|
|
Hi,
you could convert to HSB (hue, saturation, brightness) using Color.GetXXX() methods,
adjust brightness a bit, (watch out for over/underflow)
and convert back. You need to write that part yourself !
This article[^] is my preferred article for june and may help you.
BTW in the Java world GetLighter() and GetDarker() (or something of that nature) do exist.
|
|
|
|
|
hey...
need help in 2D drawing ...I want to add drawing ablity for elliptical curves, arcs and ellipses...most of the tutorials i have seen just draw static curves..
I want the drawings to be based on points specified by the user(through mouse clicks) but I having a little trouble in drawing circular arcs using three points(like in AutoCAD)...
any help will be appreciated
thanks
|
|
|
|
|
hello guys.
Im not a graphics person but I need help with something.I need a man, preferebly South African with all the states.I want to be able to click on the individual states and get to another picture.Im designing a web page for my company and I have subsidiaries in different states.I want info of those subsidiaries when I click, which I can display on the page.How do I get a map like that.ive googled and don get anything.
kagiso
|
|
|
|
|
Create a second bitmap with the same dimensions which you don't display. Give each unique area a unique color.
The next step is, when the user clicks your bitmap get the mouse coordinates relative to your bitmap and use these coords on your internal map.
DWORD ID = GetPixel( x, y );
switch ( ID )
{
case 12: //South African;
}
|
|
|
|
|
Can any one provide me links or docs for perspective image transform
i wanna implement perspective transform on images.
I had look at AGG but its so much complicated to undersrand the actual logic due to templates.
Pleasae some guidnace will highly appreciated..
Please urgent..
Thanks,
Sandip.
|
|
|
|
|
SandipG wrote: Can any one provide me links or docs for perspective image transform
i wanna implement perspective transform on images.
http://en.wikipedia.org/wiki/3D_projection[^]
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
www.geocities.com/eyalzach/tdt.zip
good luck
|
|
|
|
|
hi people!
can anyone tell me how to copy to a bitmap what's under my window? I was trying to get full aero effect in XP, bluring, light aura ect. got OK, but I can't get waht to blur
P.S. Sorry for my horryble English...
|
|
|
|
|
The best way i can suggest is to grab a screenshot of the entire desktop and then grab the area around your window which can be done by using the top, left, width and height properies of the form.
Here is a link to code to screenshot the desktop
http://www.developerfusion.co.uk/show/4630/[^]
|
|
|
|