robmcrosby / BlenderUSDZ

Simple USDZ file exporter plugin for Blender3D
GNU General Public License v3.0
474 stars 66 forks source link

Bug when exporting USDZ with baking ambient occlusion option? #21

Open enzyme69 opened 4 years ago

enzyme69 commented 4 years ago

I was making a video on this addon and finding a bug when I tried to export out a simple Duck mesh + texture and bake the AO.

Screen Shot 2019-11-21 at 10 42 53 am

I wonder if this is something to do with Mesh not selected or not inside expected Collection Set or something.

We need probably option to export Selected Objects only or everything in the scene, without having to actually select them manually.

robmcrosby commented 4 years ago

Yes this happened with nothing being selected.

On Wed, Nov 20, 2019 at 6:44 PM Jimmy Gunawan notifications@github.com wrote:

I was making a video on this addon and finding a bug when I tried to export out a simple Duck mesh + texture and bake the AO.

[image: Screen Shot 2019-11-21 at 10 42 53 am] https://user-images.githubusercontent.com/3952687/69287819-b5c6b300-0c4b-11ea-9067-2b72219d3136.png

I wonder if this is something to do with Mesh not selected or not inside expected Collection Set or something.

We need probably option to export Selected Objects only or everything in the scene, without having to actually select them manually.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robmcrosby/BlenderUSDZ/issues/21?email_source=notifications&email_token=AAKCGVXQ6ZW2JO4VGHN4U23QUXDVBA5CNFSM4JP2222KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H26MOJA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCGVQRAFXAXDCROFD4OXTQUXDVBANCNFSM4JP2222A .

enzyme69 commented 4 years ago

However I did have them selected. I'll upload a video. After the bug happened, the mesh got duplicated and I got error.

robmcrosby commented 4 years ago

I wonder if any of those objects might have been a linked duplicate. There is still a lot of things that still need to be addressed with this plugin

On Wed, Nov 20, 2019 at 6:50 PM Jimmy Gunawan notifications@github.com wrote:

However I did have them selected. I'll upload a video. After the bug happened, the mesh got duplicated and I got error.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/robmcrosby/BlenderUSDZ/issues/21?email_source=notifications&email_token=AAKCGVVSMXWOWUU6X2PJ5JLQUXEM7A5CNFSM4JP2222KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEWFJZY#issuecomment-556553447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCGVVSV3FEM6WK7QLXDMDQUXEM7ANCNFSM4JP2222A .

enzyme69 commented 4 years ago

Maybe because the mesh I am exporting (selected) are parented to Empty node? https://www.youtube.com/watch?v=57K1WrBckIo >> around 18:17

robmcrosby commented 4 years ago

Hi Jimmy

Just saw the video which was cool to see. Definitely a lot of things that can be improved like scale and the other issues you encountered. I've been more focused on the import side of the plug-in recently but I am looking at making some improvements to the exporter soon that fix many of the issues you came across. Loved the video and the feed back.

Thanks

Robert Crosby

On Wed, Nov 20, 2019 at 7:31 PM Jimmy Gunawan notifications@github.com wrote:

Maybe because the model is parented to Empty node? https://www.youtube.com/watch?v=57K1WrBckIo >> around 18:17

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/robmcrosby/BlenderUSDZ/issues/21?email_source=notifications&email_token=AAKCGVSLFLME3O6Q6TFIPHDQUXJGTA5CNFSM4JP2222KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEWXUQA#issuecomment-556628544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCGVTDAMN6Z2JQRMUWB2DQUXJGTANCNFSM4JP2222A .