Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide application-specific scaling unit factor #63

Closed
eile opened this issue Dec 16, 2011 · 3 comments
Closed

Provide application-specific scaling unit factor #63

eile opened this issue Dec 16, 2011 · 3 comments
Assignees
Labels
Milestone

Comments

@eile
Copy link
Member

eile commented Dec 16, 2011

Add config attribute to have the application provide a scaling factor if the rendered model is not to be visualized in 1:1 scale. Use case: The application visualizes something small (neurons ;) ) or very big (planets) and still wants to visualize this in a VR environment where the frusta are given in meters. This scaling factor is then applied to the wall and projection, the eye_base and potentially the translational part of the head matrix.

@eile
Copy link
Member Author

eile commented Dec 16, 2011

Should actually be a view attribute

@ghost ghost assigned eile Jan 5, 2012
@eile
Copy link
Member Author

eile commented Jan 5, 2012

API:

void View::setScale( const float scale );
float View::getScale() const;
#define EQ_MM 1000.f
#define EQ_CM 100.f
#define EQ_DM 10.f
#define EQ_M   1.f
#define EQ_KM 0.001.f

@ghost ghost assigned tribal-tec Feb 15, 2012
tribal-tec added a commit to tribal-tec/Equalizer that referenced this issue Feb 17, 2012
- apply unit factor on wall having impact for stereo/tracked scenarios
- new --eq-modelunit parameter for library to set initial unit
- adjustable model unit & eye base for eqPly

[ ] May break build
[ ] May break existing applications (see CHANGES.txt)
[ ] Bugfix
[x] New Feature
[ ] Cleanup
[ ] Optimization
[ ] Documentation
eile added a commit that referenced this issue Feb 17, 2012
[ ] May break build
[ ] May break existing applications (see CHANGES.txt)
[x] Bugfix
[ ] New Feature
[ ] Cleanup
[ ] Optimization
[ ] Documentation
tribal-tec added a commit to tribal-tec/Equalizer that referenced this issue Feb 20, 2012
[ ] May break build
[ ] May break existing applications (see CHANGES.txt)
[x] Bugfix
[ ] New Feature
[ ] Cleanup
[ ] Optimization
[ ] Documentation
tribal-tec added a commit to tribal-tec/Equalizer that referenced this issue Feb 20, 2012
[ ] May break build
[ ] May break existing applications (see CHANGES.txt)
[x] Bugfix
[ ] New Feature
[ ] Cleanup
[ ] Optimization
[ ] Documentation
@eile
Copy link
Member Author

eile commented Apr 30, 2012

Works

@eile eile closed this as completed Apr 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants