| Anonymous | Login | Signup for a new account | 2013-05-18 21:44 PDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0001038 | LuxRender | Core | public | 2011-04-22 12:39 | 2012-08-21 10:16 | ||||||||
| Reporter | dougal2 | ||||||||||||
| Assigned To | Lord Crc | ||||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||
| Status | assigned | Resolution | open | ||||||||||
| Platform | OS | OS Version | |||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0001038: Add a texture adaptor mechanism to allow using float textures as color and color textures as float | ||||||||||||
| Description | I think it would be a big benefit to the artistic use of Lux if all the textures can be used in either format. | ||||||||||||
| Additional Information | As discussed on IRC "<LordCrc> in GetFloatTexture, if the lookup fails we see if we have a color texture by that name, and if so create a new adapter texture on the fly" | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Mercurial Changeset # | |||||||||||||
| Requires Documentation Update | No | ||||||||||||
| Requires Exporter Update | |||||||||||||
| Attached Files | |||||||||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0003112) jeanphi (administrator) 2011-07-19 09:54 |
Textures already have an EvalFloat member which can be used on a color texture to get a float value. If Texture was derived from a BaseTexture class containing all but the Evaluate Texture member, we wouldn't even need an adaptor there because the GetFloatTexture could return a BaseTexture instead of a Texture<float> and we could use EvalFloat instead of Eval. Having float textures work with colors will require the creation of a mix texture on the fly, but that might be handled by appropriate CreateTexture members. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-04-22 12:39 | dougal2 | New Issue | |
| 2011-04-25 12:20 | dougal2 | Relationship added | related to 0001041 |
| 2011-05-24 12:55 | jeanphi | Target Version | => 1.0 |
| 2011-07-18 21:05 | Lord Crc | Assigned To | => Lord Crc |
| 2011-07-18 21:05 | Lord Crc | Status | new => assigned |
| 2011-07-19 09:54 | jeanphi | Note Added: 0003112 | |
| 2012-08-21 06:48 | jeanphi | Target Version | 1.0 => 1.1 |
| 2012-08-21 10:16 | jeanphi | Target Version | 1.1 => |
| Copyright © 2000 - 2012 MantisBT Group |