Lines Matching refs:col
116 tx->col = tex->col; in newscalarvol()
131 color col; in VoxelColor() local
140 col.r = scalar * 4.0; in VoxelColor()
141 col.g = 0.0; in VoxelColor()
142 col.b = 0.0; in VoxelColor()
146 col.r = 1.0; in VoxelColor()
147 col.g = (scalar - 0.25) * 2.0; in VoxelColor()
148 col.b = 0.0; in VoxelColor()
151 col.r = 1.0; in VoxelColor()
152 col.g = 1.0; in VoxelColor()
153 col.b = (scalar - 0.75) * 4.0; in VoxelColor()
157 return col; in VoxelColor()
161 color col, col2; in scalar_volume_texture() local
175 col.r = 0.0; in scalar_volume_texture()
176 col.g = 0.0; in scalar_volume_texture()
177 col.b = 0.0; in scalar_volume_texture()
184 return col; in scalar_volume_texture()
200 return col; in scalar_volume_texture()
202 return col; in scalar_volume_texture()
206 return col; in scalar_volume_texture()
222 return col; in scalar_volume_texture()
224 return col; in scalar_volume_texture()
228 return col; in scalar_volume_texture()
244 return col; in scalar_volume_texture()
246 return col; in scalar_volume_texture()
287 col.r += transval * col2.r; in scalar_volume_texture()
288 col.g += transval * col2.g; in scalar_volume_texture()
289 col.b += transval * col2.b; in scalar_volume_texture()
303 col.r += transcol.r; /* add the transmitted ray */ in scalar_volume_texture()
304 col.g += transcol.g; /* to the diffuse and */ in scalar_volume_texture()
305 col.b += transcol.b; /* transmission total.. */ in scalar_volume_texture()
308 return col; in scalar_volume_texture()