Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001038LuxRenderCorepublic2011-04-22 12:392012-08-21 10:16
Reporterdougal2 
Assigned ToLord Crc 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001038: Add a texture adaptor mechanism to allow using float textures as color and color textures as float
DescriptionI think it would be a big benefit to the artistic use of Lux if all the textures can be used in either format.
Additional InformationAs 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"
TagsNo tags attached.
Mercurial Changeset #
Requires Documentation UpdateNo
Requires Exporter Update
Attached Files

- Relationships
related to 0001041new help LuxBlend25 be less picky about textures 

-  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
Powered by Mantis Bugtracker