Arulbabu Donbosco

OpenGL Guide me to copy Opengl32.dll context?

Recommended Posts

There are studios selling applications which is just copying any 3Dgraphic content and regenerating into another new window. especially for CAVE Virtual reality experience. so that the user opens REvite or CAD or any other 3D applications and opens a model. then when the user selects the rendered window the VR application copies the 3D model information from the OpenGL window. 

I got the clue that the VR application replaces the windows opengl32.dll file. how this is possible ... how can we copy the 3d content from the current OpenGL window.

anyone, please help me .. how to go further... to create an application like VR CAVE. 

 

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Partner Spotlight

  • Forum Statistics

    • Total Topics
      627639
    • Total Posts
      2978344
  • Similar Content

    • By scragglypoo
      Hi,
      How can I emulate triple buffering in Direct3d9, so I can have vsync with high fps.
      DWM does it in window mode; why has nobody done it in fullscreen mode?
    • By Scanmaster_k
      Our player character is progressing nicely. This is a render in Marmoset. 
    • By bandages
      I'm working in an old application (DX9-based) where I don't have access to the C code, but I can write any (model 3.0) HLSL shaders I want.  I'm trying to mess with some cube mapping concepts.  I've gotten to the point where I'm rendering a cube map of the scene to a cross cube that I can plug directly into ATI cubemapgen for filtering, which is already easier than trying to make one in Blender, so I'm pretty happy so far.  But I would like to do my own filtering and lookups for two purposes: one, to effortlessly render directly to sphere map (which is the out-of-the-box environment mapping for the renderer I'm using), and two, to try out dynamic cube mapping so I can play with something approaching real-time reflections.  Also, eventually, I'd like to do realish-time angular Gaussian on the cube map so that I can get a good feel for how to map specular roughness values to Gaussian-blurred environment miplevels.  It's hard to get a feel for that when it requires processing through several independent, slow applications.
       
      Unfortunately, the math to do lookups and filtering is challenging, and I can't find anybody else online doing the same thing.  It seems to me that I'm going to need a world-vector-to-cube-cross-UV function for the lookup, then a cube-cross-UV-to-world-vector function for the filtering (so I can point sample four or more adjacent texels, then interpolate on the basis of angular distance rather than UV distance.)
       
      First, I'm wondering if there's any kind of matrix that I can use here to transform vector to cube-cross map, rather than doing a bunch of conditionals on the basis of which cube face I want to read.  This seems like maybe it would be possible?  But I'm not really sure, it's kind of a weird transformation.  Right now, my cube cross is a 3:4 portrait, going top/front/bottom/back from top to bottom, because that's what cubemapgen wants to see.  I suppose I could make another texture from it with a different orientation, if that would mean I could skip a bunch of conditionals on every lookup.
       
      Second, it seems like once I have the face, I could just use something like my rendering matrix for that face to transform a vector to UV space,  but I'm not sure that I could use the inverse of that matrix to get a vector from an arbitrary cube texel for filtering, because it involves a projection matrix-- I know those are kind of special, but I'm still wrapping my head around a lot of these concepts.  I'm not even sure I could make the inverse very easily; I can grab an inverseProj from the engine, but I'm writing to projM._11_22 to set the FOV to 90, and I'm not sure how that would affect the inverse.
       
      Really interested in any kind of discussion on techniques involved, as well as any free resources.  I'd like to solve the problem, but it's much more important to me to use the problem as a way to learn more.
    • By glportal

      GlPortal is a free and open source first person 3D puzzle-platformer written in C++ using modern OpenGL and SDL2. It is mainly a teleportation based puzzle game and platformer. But we have already integrated a physics engine and are planning for some physics based puzzles. - Tasks from beginner to expert level - Focus on 2D, 3D, gameplay, sound, physics or logic - Contributing is as easy as fork, compile and push **Stuck? We help you develop your skills. Contact us on reddit, gitter or irc!** ## Benefits - Pressure-free environment - Space for creativity - Learn with and from your peers ## More Information Get more information about GlPortal at http://glportal.de and http://www.lgdb.org/game/glportal See a video at https://vimeo.com/163973907 or go to youtube and search for glportal. ## Contact - **IRC** #glportal on freenode or webchat on http://glportal.de. - **Reddit** https://www.reddit.com/r/RadixEngine/ - **Gitter** https://gitter.im/GlPortal/glPortal This ad stinks? Help us improve it: https://github.com/GlPortal/ads/edit/master/developer.md
    • By Knife Entertainment

      New indie game development studio Knife Entertainment expects to release their debut project My Little Story: Reborn.

      Reborn is the first-person horror containing the spirit of the occultism and mystery. We decided to give players something, which they miss so much in games of this genre: you don't have to hide in dark corners trying to escape from some invulnerable monster. It will be vice versa. We gave players everything to make even the most savage and malicious enemy tremble with fear. You'll face the cruel world full of danger, to expose dark secrets and to fight with ancient evil.

      Our principal credo is our great attention to various details. That's why there are a lot of easter eggs in the form of references and visual quoting of such cult films, games and art works, as The Evil Dead, True Detective, Silent Hill, etc. The release is scheduled for the end of this year.
      Contact us: knifeent@gmail.com
       
       






       
  • Popular Now