zeng-yifei / STAG4D

Official Implementation for STAG4D: Spatial-Temporal Anchored Generative 4D Gaussians
111 stars 5 forks source link

Visualization #16

Open sauradip opened 1 week ago

sauradip commented 1 week ago

Hi,

Sorry to bother again. Is it possible to share the script where you render the animation with rotation of the character like link

Is this in visualize.py ?

BilendM commented 1 week ago

Was looking for the same thing!

I completed a whole cycle of main.py which resulted in two folders, logs and valid.

The logs folder contains:

|─ logs
│    |─ panda8000
│    │    |── deformation_accum.pth
│    │    |── deformation_table.pth
│    │    |── deformation.pth
│    │    |── model.ply
│    |── panda_model.ply

And the valid folder contains:

|─ valid
│    |─ panda
│    │    |── 500_back
│    │    |── 500_font
...
│    │    |── 8000_back
│    │    |── 8000_front

Same as @sauradip, I am not really sure how the novel views are generated/how we can view them

sauradip commented 1 week ago

@BilendM i think what you are asking is basically this line https://github.com/zeng-yifei/STAG4D/blob/da04c4be0cd1a1b8d1b843feb865465fd5207edb/main.py#L259

If you change the camera params like 0,90,180,270 etc i guess you can get different views with rotations. I will still wait for the author to confirm this. But my question is how to combine the videos where the object is moving as well as rotating.

BilendM commented 1 week ago

Ahhh that's great thank you! Looking forward for an answer for your question as well :D

zeng-yifei commented 6 days ago

You can paste this paragraph into visualize.py. render_teaser_example.txt

I didn't carefully check it. This is what I use before to generate those rendered pngs. If you meet with some problems, please tell me.