google-research / jax3d

Apache License 2.0
729 stars 94 forks source link

Has anyone tried rendering multiple models at the same time? #159

Open oskar0812 opened 1 year ago

oskar0812 commented 1 year ago

Hi,I tried to render two models at the same time by view_bounded.html.But there is always a problem with the color of one of the models.Maybe someone has tried doing this or has any suggestions?Thx!

czq142857 commented 1 year ago

The simplest way to do that is to apply forward rendering (instead of deferred rendering using the intermediate "feature image"), and then use different shaders for different objects. Check this demo https://youtu.be/kVy2W6afuyk

Forward rendering code can be found in the online demos in our project page https://mobile-nerf.github.io