| Anonymous | Login | Signup for a new account | 2010-09-08 00:19 CEST | ![]() |
| Main | My View | View Issues |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0000128 | OpenClonk | Engine | public | 2010-02-07 14:06 | 2010-04-10 14:28 | |
| Reporter | Newton | |||||
| Assigned To | Clonk-Karl | |||||
| Priority | normal | Severity | feature | Reproducibility | have not tried | |
| Status | resolved | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | ||||||
| Fixed in Version | ||||||
| Summary | 0000128: Material color field in c4m | |||||
| Description | Following the discussion here http://forum.openclonk.org/topic_show.pl?tid=359, [^] we need either a color field for each material or some elaborated function which calculates the color of the material at a given position by the color of the texture. Personally, I don't think #2 is worth the effort, #1 just requires to set an average color for every material. | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Notes |
|
|
(0000255) Clonk-Karl (developer) 2010-02-07 14:14 |
I'd go with #2. It can't be so hard to compute an average color from a texture. |
|
(0000470) Newton (administrator) 2010-04-09 17:42 |
A solution would be needed for the dust effect of the shovel. (Or in general, dust effects on DigFree and BlastFree). |
|
(0000478) Clonk-Karl (developer) 2010-04-10 14:28 |
I added int GetAverageTextureColor(string texture_name). Note that this function might not be synchronous if some computers use 16 bit and others use 32. If it is only used to set particle color this should not be a problem though. Maybe we should simply drop 16 bit support. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-02-07 14:06 | Newton | New Issue | |
| 2010-02-07 14:14 | Clonk-Karl | Note Added: 0000255 | |
| 2010-04-09 17:42 | Newton | Note Added: 0000470 | |
| 2010-04-10 14:28 | Clonk-Karl | Note Added: 0000478 | |
| 2010-04-10 14:28 | Clonk-Karl | Status | new => resolved |
| 2010-04-10 14:28 | Clonk-Karl | Resolution | open => fixed |
| 2010-04-10 14:28 | Clonk-Karl | Assigned To | => Clonk-Karl |
| Copyright © 2000 - 2010 MantisBT Group |