[Bf-committers] Proposed changes re: procedural textures

Mathias Panzenböck grosser.meister.morti at gmx.net
Fri Nov 24 11:27:02 CET 2006


Emanuel Greisen wrote:
> 
> There is only one situation when they are not guarantied to be unique, 
> and that is when doing copy-paste code, or creating them by hand. As 
> long as you use the RFC or some other "good" generator. (I am aware of 
> the mathematically possibility of collision, but alas, even when blender 
> will be the most used software on the planet, and thus has 1.000.000 
> procedural textures, the chance of collision is something like 1 to
> 
> With hand-made GUIDs we totally aggree on collision-posibility, who 
> would not have:
> 
> 4B1E2DE5-CAFE-C001-CAFE-B1E2DE5C001
> 
> Or something similar as their GUID....
> 

Why not using a scheme like:

java namespace like:
"at.ac.tuwien.student.e0427417.mytex"

or xml namespace like:
"http://student.tuwien.ac.at/e0427417/mytex"

Then we'll need a fast hashmap, but I think a hashmap is needed in other places in blender anyway.


	panzi


More information about the Bf-committers mailing list