Open teh-cmc opened 2 months ago
Which means that doing stuff like e.g. computing a fallback color based on entity path yields different colors on native vs. web which is weird.
#[inline] pub fn auto_color_for_entity_path( entity_path: &re_entity_db::EntityPath, ) -> re_types::components::Color { auto_color_egui((entity_path.hash64() % std::u16::MAX as u64) as u16).into() }
Native:
Web:
This is probably because we use ahash: https://github.com/tkaitchuck/aHash#goals-and-non-goals
ahash
Which means that doing stuff like e.g. computing a fallback color based on entity path yields different colors on native vs. web which is weird.
Native:![image](https://github.com/rerun-io/rerun/assets/2910679/64ff0940-5087-4e5b-9ffa-cee251e7d444)
Web:![image](https://github.com/rerun-io/rerun/assets/2910679/0f681487-1da5-4e91-9772-9c1f4a9d5368)