andyyankai / psdr-jit

Unbiased Physically Based Differentiable Renderer
40 stars 1 forks source link

How to remove a mesh from psdr.Scene? #7

Closed qijiyaolinZGH closed 10 months ago

qijiyaolinZGH commented 10 months ago

I only found the function for adding meshes in the example code. Is there a method to remove meshes?

andyyankai commented 10 months ago

No (it don’t make sense for diff renderer to have this feature)

You will need to construct a new scene for that.