mitsuba-renderer / drjit

Dr.Jit — A Just-In-Time-Compiler for Differentiable Rendering
BSD 3-Clause "New" or "Revised" License
563 stars 40 forks source link

module 'drjit' has no attribute 'hint' #229

Closed ioissss closed 2 months ago

ioissss commented 2 months ago

I was able to find the drjit.hint function in the documentation, but when calling drjit.hint in code the compiler tells me: module 'drjit' has no attribute 'hint'

“”“” while dr.hint(active,max_iterations = max_depth,label="path tracer written by zdq"): “”“

image

njroussel commented 2 months ago

Hi @ioissss

We're undergoing a large change currently, please be careful when refering to the online documentation. Use the most recent released versions:

The dr.hint is a new feature which is available on master but not on any public PyPI release yet.