Page 1 of 1

Xparticles OpenVDB mirrored in VDB volume

PostPosted: Wed Feb 28, 2018 12:13 pm
by ounocreative
Having an issue using a fire animation generated in xparticles.

The animation consists of a cube on fire that rotates 360 counter clockwise, I cache the animation to openvdb and load it into a vdb volume. Once I do this however the whole animation is mirrored and rotates the opposite direction.

The xparticles cached preview shows a correct animation with the object and fire rotating correctly however vdb volume is mirroring this instead.

I've tested this in a new file with basic shapes and it does the same thing. Right now my only solution is to cache the fire animation rotating in the opposite direction so its the correct way round once imported into the vdb volume.

I don't know if theres an option I'm missing but I can't see anything related to rotation direction in either xparticles or the vdb volume, perhaps there is something missing with regards to support for files generated in xparticles.

Any thoughts?

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Mon Nov 26, 2018 1:51 pm
by Loopinglovers
Hey Mate,
i just run into the same Problem - did you discover a workflow to fix it allready?
cheers

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Mon Nov 26, 2018 1:58 pm
by aoktar
What's up with V4.00 stable?

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Thu Apr 25, 2019 12:10 pm
by ounocreative
Hey guys

Wanted to provide an update on this issue as I have recently revisited it and its still present.

This is using the latest version of XParticles and V4.03 of Octane.

It seems to be related to the Z axis. In the this screenshot you can see my animation of smoke trails following some missiles, this is animated along the Z axis using an attractor. However in the Octane viewer you'll notice the exported VDB being rendered completely mirrored to the actual animation.

Screenshot_66.png


In screenshot 2 I have rotated the attractor around to the X axis and rebuilt the cache, this animation seems to render fine in the Octane VDB object, following the same path/size as the previewed ExplosiaFX on the left.

Screenshot_67.png


So it seems to be related to Z axis data, I don't know if Xparticles isn't exporting it correctly or if the Octane VDB volume is not understanding it correctly. For this animation I can rotate everything to animate down the X axis but for things that spin in all axis this isn't going to help and a fix is needed,

Hopefully this info is useful in getting it fixed as Id love to have it work properly.

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Thu Apr 25, 2019 4:58 pm
by ounocreative
Still getting mirrored if you're not dead on the 0 point center of the world.

Am I just missing an option somewhere? Or is this just not supported properly?

It's incredibly frustrating.

Screenshot_71.png

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Thu Apr 25, 2019 5:50 pm
by aoktar
ounocreative wrote:It's incredibly frustrating.


Our VDB loader gives the same results as how R20's vdb loader does.

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Fri Apr 26, 2019 9:34 am
by ounocreative
Thanks for the reply.

Definitely seems to be Xparticles then. Tried the same thing at work with R20 and the cinema volume builder and I get the same mirrored version. Must be missing an option somewhere or perhaps theres a bug in the openVDB export in Xparticles.

Will post over on the Xparticles forum, see if we can get to the bottom of this.

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Fri Apr 26, 2019 1:59 pm
by ounocreative
I finally have a solution thanks to the guys over at Insydium.

Entering a value of -1 to the VDB volumes Z axis for size fixes this issue. Fog volume appears in the right place and the right way around!

Also if you're planning on using Xparticles with R20s volume building it requires the same fix in the volume loader along with a negative value in the Y size axis on the volume mesher!

Hopefully this helps others with the same Xparticles issues.

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Mon Jun 03, 2019 1:53 am
by helloimneil
Thank you so much for sharing your solution. I encountered this today and was incredibly bummed to run into this strange problem/bug. Cheers to you, man! Should our paths ever cross I'll gladly buy you a pint.

Re: Xparticles OpenVDB mirrored in VDB volume

PostPosted: Tue Jun 18, 2019 12:59 pm
by chrisfranklin6002
Jesus this has been bugging me for so long!!! Nice one!!