Open amitabe opened 1 year ago
Bumping this question
I also had this question and tried to find out the answer. I think the input range should be [0, 1] according to #286.
This actually works for any input since the hash mapping is from the real plane to a fixed number of hash entries (hence the hash collision). My tests showed that using [0,1] or [-1,1] has no difference
Is there any way to change the location + size of the hashgrid, e.g. to [-10, 3] (along each coordinate) while leaving its resolution the same? This is useful when dealing with pre-defined scenes that often have different extent and are not necessarily centered at origin.
Hi,
What range should the input be in if I'm using the HashGrid encoding? Let's say I have the following sinppet:
Then, I want to apply this encoding on a vector
x
:So, my question is - in what range
a
,b
,c
should be in? Should it be in[0,1]
? In PyTorchgrid_sample
it expects the input to be in[-1,1]
, so is that the case in here to?I can't find the answer to it anywhere in the documentation or the code, but I might have missed it.
Thanks