Comments (2)
Hi,
yes, it is possible to perfectly align an OpenGL camera and an OSPRay camera. For example, we do this to (depth-) composite OSPRay renderings and OpenGL renderings.
Have a look at apps/volumeViewer/QOSPRayWindow.cpp::paintGL
and modules/opengl/util.cpp::getOSPDepthTextureFromOpenGLPerspective
how to convert the GL_PROJECTION_MATRIX
and GL_MODELVIEW_MATRIX
to OSPRay's camera parameters.
Best regards,
Johannes
from ospray.
Great thanks!
from ospray.
Related Issues (20)
- Feature: varying spacing on a structured volume HOT 1
- Installer for Ospray Studio HOT 1
- CW or CCW triangles ignored by the render engine HOT 1
- Can we handle z-fight issue in ospray HOT 4
- Documentation or examples for nested/multi-level instancing HOT 2
- Mix material with a luminous material inside. HOT 1
- How to change zfar? HOT 2
- Custom material support HOT 5
- GeometryLight reduces effect of HDRILight
- Extract light info of geometry HOT 5
- Support embree 4.0.0 HOT 3
- Does the bin folder exist after compilation? HOT 1
- Superbuild library directories are not consistent HOT 5
- Support ispc 1.20 HOT 3
- aarch64 redistributable binaries? HOT 3
- Multiple Masks for Volumetric Data Rendering and Memory Optimization HOT 6
- Missing documentation.graphics.renderkit.ospray-website.git repository HOT 4
- Packaging failure on macOS arm64 for v2.12.0 HOT 4
- `cmake --build . --target install` not supported
- ospray 2.12.0 build embree missing ispc support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ospray.