directx

Full screen capture of a DirectX program in java (Javacv ?)

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: [For Windows] I know it is possible to capture screen of a DirectX program running under C# language, but do you know some sample code for Java? I am actually facing this same problem than this Take screen shots inside of full screen applications with java? . Robot class didn't helped and neither worked. But yet I didn't found any sample of java code on the internet concerning this. Thanks for any help you could provide on this topic. 回答1: Since I worked on it more, see also: import java.awt.*; import java.awt.datatransfer.*; import java.awt

DirectX Image texture quad displays underlying controls color where it is transparent

匿名 (未验证) 提交于 2019-12-03 08:33:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm trying to draw a texture on texture as show in the image below. Yellow circle Image: Green circle Image: As shown in the above image of penguins, i'm trying to render another image as texture which is shown by green and yellow circles. The image is transparent where purple is shown. Purple is color of the underlying control on which the texture is drawn. The order of rendering is: 1. render penguins 2. Render green circle 3. render yellow circle 4. render green circle Now I'm not sure as to why i would be seeing the purple for

OpenGL still better than Direct3D for non-games? [closed]

最后都变了- 提交于 2019-12-03 07:43:41
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . The standard model has been that OpenGL is for professional apps (CAD) and Direct3D is for games. With the debacle of openGL 3.0, is openGl still the natural choice for technical 3D apps (cad/GIS)? Are there scenegraph libraries for Direct3D? (Of course Direct3D is windows

How to bring up the Windows 8 on-screen keyboard in a desktop app

匆匆过客 提交于 2019-12-03 07:30:58
I have a fullscreen DirectX desktop app, and would like to display the on-screen keyboard when the user taps a textbox in my game. Is there a way to do this while in fullscreen mode? Severin Stampler Executing osk.exe will pop up the more old-fashioned on-screen keyboard. The Windows 8 touch keyboard will pop up by executing C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe I just figured that out, since I'm working on a fullscreen desktop app that is running on a tablet PC without keyboard attached. Severin. Same answer as Severin Stampler but in order to find the correct path

How to add a DirectX reference in Visual Studio 2010 [closed]

做~自己de王妃 提交于 2019-12-03 07:14:30
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . How can I add a DirectX reference to my C# project in Visual Studio 2010? Thanks. 回答1: Go to the solution explorer Click references Click add reference Click Browse Browse to: C:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\ Select your directX package. 回答2: DirectX

Is it possible to run Java3D applications on Nvidia 3D Vision hardware?

不打扰是莪最后的温柔 提交于 2019-12-03 06:28:43
Is is possible to run a Java3D application on Nvidia 3D Vision hardware? I've got an existing Java3D application that can run in stereoscopic 3D. In the past, I've always run the application on Quadro cards using the OpenGL renderer and quad buffered stereo. I now have access to a laptop with the nVidia 3D Vision system (with a GeForce GTX 460M). From the documentation, it seems like it should be possible to run my application in stereo if I use the DirectX bindings and let the nVidia drivers take care of the stereo, however, this does not seem to be the case. If I run a Java3D application

DirectX or OpenGL [closed]

*爱你&永不变心* 提交于 2019-12-03 06:16:44
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . If you were writing the next 3d graphics intensive application in C# (like a 3d modelling and animation software), which one would be a better choice? If we consider C# as platform independent, then OpenGL seems tempting, but what about the performance, etc? Since the used

Where can I find some in-depth DirectX 11 tutorials? [closed]

柔情痞子 提交于 2019-12-03 05:53:26
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . So far the only tutorials I've been able to find are on directx11tutorials.com, which are essentially inferred from the existing samples. Does anyone know where to find other tutorials, or better yet open source projects using DirectX 11? (Extra points for project code using DirectX 11 :) ) 回答1: I think there

Generating vertices for a sphere

风格不统一 提交于 2019-12-03 05:10:58
问题 In the DirectX mobile lighting sample, a cylinder is generated in the following manner: for( DWORD i=0; i<50; i++ ) { FLOAT theta = (2*D3DMX_PI*i)/(50-1); pVertices[2*i+0].position = D3DMXVECTOR3( (float)sin(theta),-1.0f, (float)cos(theta) ); pVertices[2*i+0].normal = D3DMXVECTOR3( (float)sin(theta), 0.0f, (float)cos(theta) ); pVertices[2*i+1].position = D3DMXVECTOR3( (float)sin(theta), 1.0f, (float)cos(theta) ); pVertices[2*i+1].normal = D3DMXVECTOR3( (float)sin(theta), 0.0f, (float)cos

Fast multi-window rendering

旧城冷巷雨未停 提交于 2019-12-03 05:09:51
问题 I've been searching and testing different kinds of rendering libraries for C# days for many weeks now. So far I haven't found a single library that works well on multi-windowed rendering setups. The requirement is to be able to run the program on 12+ monitor setups (financial charting) without latencies on a fast computer. Each window needs to update multiple times every second. While doing this CPU needs to do lots of intensive and time critical tasks so some of the burden has to be shifted