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

DCDM RDT Clips XYZ values incorrectly #14

Closed
aforsythe opened this issue Mar 21, 2012 · 0 comments
Closed

DCDM RDT Clips XYZ values incorrectly #14

aforsythe opened this issue Mar 21, 2012 · 0 comments
Assignees

Comments

@aforsythe
Copy link
Member

rdt_dcdm.ctl currently clips XYZ values to 0-1 range.

// Clip  data to range zero to one
XYZ[0] = clip_0_to_1( XYZ[0] );     
XYZ[1] = clip_0_to_1( XYZ[1] );     
XYZ[2] = clip_0_to_1( XYZ[2] );

This is incorrect as XYZ values should be allowed to range over 1.0.
The XYZ values less than 0 should be clipped to 0.

@ghost ghost assigned scottdyer Mar 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants