Comments (2)
The issue arises largely due to the way grating angle is implemented in the vertex shader. The workflow passes a transformation matrix that applies a rotation to the texture coordinates
vt
. For example, as that matrix depends only on the orientation property, a 45 degree grating would always be oriented along the quad diagonal.
Interesting, we never noticed it as we mostly use squares or circular masks. Will look into it.
from bonvision.
I've made a pull request with a proposed fix. Hopefully everything makes sense. Let me know otherwise.
from bonvision.
Related Issues (20)
- Add support for perspective mapping
- Use degree units to configure ViewWindow rotation
- Transformation order for Quad, Image and Checkerboard primitives
- Externalized Rotation property type breaking change from Point3d to Point3f
- Add operator to convert 2D projection matrix into 3D view point
- Add support for 3D spherical segment primitive to avoid pole-distortion HOT 2
- Multi-marker auto calibration for non-flat displays
- Optimize normal matrix calculation
- Mesh mapping brightness correction is also applied to alpha component
- Generalize mesh mapping to allow for pixel space view mapping
- Allow rotation of spherical environmental mapping to allow for non-centered maps
- Examples/Demos down? HOT 2
- Add ShiftX and ShiftY parameters to DrawCheckerboard
- Add support for setting opacity of DrawImage primitive
- Add missing dependencies
- Add texture scaling and offset parameters to TextureModel shader
- Expose InternalFormat in GammaCorrection
- Syncing a TTL with grating series
- GratingSpecification does not pass trials to CreateGratingTrial
- Gamma correction cannot be applied independently for each display
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 bonvision.