taichi-dev / taichi_three

A soft renderer based on Taichi (work in progress)
https://t3.142857.red/
MIT License
223 stars 24 forks source link

default_fp=ti.f64 leading to warning #25

Closed squarefk closed 4 years ago

squarefk commented 4 years ago

Shall we use something like 'ti.get_runtime().default_fp' to make this consistent and avoid unnecessary warning? Or there is some performance issue for the render where it has to use float. We could add some type conversion I guess.

archibate commented 4 years ago

What's the warning message actually? Does it still exist in latest Taichi?

squarefk commented 4 years ago

For the latest version, no. We could temporarily close this.