PDA

View Full Version : Converting a Volume primitive item shape to a VDB volume?



prometheus
05-27-2019, 11:41 AM
Anyone tried and know if it is possible with the VDB tools to convert a volume item shape to a vdb file?

Why trying this?
Well..I want to use all the glory of Ligtwave procedurals and try to make a cloud volume that can be exported to letīs say Blender.
In pure ignorance I was trying to connect some of the VDB nodes and the VDB saver to make it happen, but so far zippo..no file is created.

Thought I should add a null vdb and from there add shape to volume and with that setting the null volume item as target then feeding to the saver, I tried some variants but nothing so far.

Marander
05-27-2019, 01:21 PM
Anyone tried and know if it is possible with the VDB tools to convert a volume item shape to a vdb file?

Why trying this?
Well..I want to use all the glory of Ligtwave procedurals and try to make a cloud volume that can be exported to letīs say Blender.
In pure ignorance I was trying to connect some of the VDB nodes and the VDB saver to make it happen, but so far zippo..no file is created.

Thought I should add a null vdb and from there add shape to volume and with that setting the null volume item as target then feeding to the saver, I tried some variants but nothing so far.

Hello Prometheus

Saving a Level Set VDB out of LW works fine (see attached pics of export and import).

Saving a Volume VDB out of LW results in an immediate crash of LW.

145084

145085

Ma3rk
05-27-2019, 05:57 PM
Haven't played with it myself but perhaps of interest...

https://origamidigital.com/dokuwiki/doku.php?id=odtools:od_createvdb

Marander
05-27-2019, 11:17 PM
Haven't played with it myself but perhaps of interest...

https://origamidigital.com/dokuwiki/doku.php?id=odtools:od_createvdb

That is just a scripts that creates the basic nodes, converting a mesh into volume (Mesh to Volume node).

I created a Null as OpenVDB object and the corresponding nodes to affect another object (Sphere - which I hide from the render) to apply noise filter and then save it.

prometheus
05-28-2019, 09:29 AM
Hey guys, thanks for jumping in..but I am not sure you have understood what I needed?

I didnīt see any volume item shape in your descriptions marander, that seems to be a sphere polygon and not a volumetric item (new hypervoxels)

I want to turn a volumetric cloud with itīs fractal texture in to a vdb to export to blender for instance, I suspect it may not be possible ..Yet.

XswampyX
05-28-2019, 11:21 AM
Hey guys, thanks for jumping in..but I am not sure you have understood what I needed?

I didnīt see any volume item shape in your descriptions marander, that seems to be a sphere polygon and not a volumetric item (new hypervoxels)

I want to turn a volumetric cloud with itīs fractal texture in to a vdb to export to blender for instance, I suspect it may not be possible ..Yet.

It works here.

145090

Have a look.

Edit to add. You have to double click on the saver node and click save to create it.
Cheers!

prometheus
05-28-2019, 12:30 PM
It works here.

145090

Have a look.

Edit to add. You have to double click on the saver node and click save to create it.
Cheers!

Yes I know how to save ..and yes, that is the very first (node) setup I made myself when I tried it, but how does your shape to volume node setup look like? ..did you target it to a volume item shape? I see some kind of primitive item shape shown in vpr not a volume item shape...So I donīt think you are following me yet, meaning you are making a volume vdb from a primitive shape item..and display it in vpr..that is not what I need here, I need to convert volumetrics(new hypervoxels 2019) to a vdb volume, not a primitive shape.

I think we would need a volume to volume node in the vdb tools, extracting from the primitive type volumetric to VDB volume, but we only have mesh to volume and shape to volume.
Such a vdb tool would allow for being able to use all the Lightwave procedural glory and how it can texture a volume item, then send to blender or maybe even vue and perhaps soon terragen to render with full sky glory but with special designed clouds from Lightwave.

I realized that I initially named my request a bit wrong, it should only be volume primitive item, not volume primitive item shape.

prometheus
05-29-2019, 12:54 PM
Did you guys understood what I was after?..and do you recognize that it can not be done?
In such case we need a feature request.

05-31-2019, 09:06 AM
From what I've read, everyone here has answered your question.

Why is it you don't accept the answer?

Swampy gave the answer, "How to save an exported vdb for use elsewhere." Since vdbs are "effectively infinite 3D index space, compact storage, fast data access", we don't really save level- or volumes -- those are filter-derived, as it were. .


It can not be done any other way. Once exported in this way, vdb tools would need to be used on it to get it to its next desired incarnation.

Someone correct me as needed.
Thanks.

XswampyX
05-31-2019, 10:54 AM
From what I've read, everyone here has answered your question.

Why is it you don't accept the answer?

Swampy gave the answer, "How to save an exported vdb for use elsewhere." Since vdbs are "effectively infinite 3D index space, compact storage, fast data access", we don't really save level- or volumes -- those are filter-derived, as it were. .


It can not be done any other way. Once exported in this way, vdb tools would need to be used on it to get it to its next desired incarnation.

Someone correct me as needed.
Thanks.

It seems prometheus wants to take an old hypervoxel and convert it into a VDB. It can't be done.

05-31-2019, 11:21 AM
That's ... an absurd notion.

Edit: Was there anything made to make hypervoxels "real"? I want to recall something for that but it would be to an object of some kind. (Can't find a mention on google, though.)
From there, yeah, jump the vdb hoops.

prometheus
05-31-2019, 11:26 AM
It seems prometheus wants to take an old hypervoxel and convert it into a VDB. It can't be done.

No I donīt ..as I said previously, I want to turn the New Hypervoxels to a vdb file,(not the old) and yes..I do not believe it can be done currently, the question is then..could it be possible and implemented, we would need something that can read these
2019 volumetrics and convert, just as mesh to volume or shape to volume..but I reckon it must be difficult to do if not impossible.
I donīt know enough about the underlying tech in order to decide wether or not itīs worth to file a request, then again I could just do that and let the LW team bother about the rest :)

- - - Updated - - -


That's ... an absurd notion.

Edit: Was there anything made to make hypervoxels "real"? I want to recall something for that but it would be to an object of some kind. (Can't find a mention on google, though.)
From there, yeah, jump the vdb hoops.

What do you mean absurd notion?

prometheus
05-31-2019, 11:31 AM
From what I've read, everyone here has answered your question.

Why is it you don't accept the answer?

Swampy gave the answer, "How to save an exported vdb for use elsewhere." Since vdbs are "effectively infinite 3D index space, compact storage, fast data access", we don't really save level- or volumes -- those are filter-derived, as it were. .


It can not be done any other way. Once exported in this way, vdb tools would need to be used on it to get it to its next desired incarnation.

Someone correct me as needed.
Thanks.


Why should I accept the answer.?..when the answer isnīt correct and Only after my last post swampy did realize what I wanted.,,but swampy didnīt give the answer, though he dedicated explained converting from a mesh..but that I already knew
...It was never about doing vdb from mesh or shapes, I should have replied you this first...but I explained it in the above post, and i do not understand why you didnīt read what I posted about converting volume item to vdb.

the new volumetrics is also referenced as hypervoxels in the lightwave help docs, it should have been called something else or been given a release number, even though itīs a new system.

Check post 7 and you see it is described well.

05-31-2019, 12:17 PM
Absurd - illogical.

What you speak of has been spoken of since the first hypervoxels were implemented. If it isn't available now, no one has been abundantly motivated to create it. Perhaps it is known that there are better tools for such a task. Or perhaps, doing this task is too gargantuan for the compensation for doing so.

Now that I truly understand the question, it is doubly absurd.

Good luck with the feature request.

prometheus
05-31-2019, 12:27 PM
I am not sure if Terragen is able to do that soon, If Iīm not wrong, it is supposed to be able to export vdb from terragen clouds.
https://planetside.co.uk/forums/index.php/topic,24626.0.html

Now...IF..they can manage it, why would that be totally impossible for Lightwave?

When you now so brilliantly managed to understand my question, then you must be a wiz when it comes to VDB and volumetrics and the underlying tech..or am I wrong?
Please ellaborate why it is so absurd if you donīt mind to enlighten us.

I can understand houdini and lightwave exporting out from within simulated vdb tools or fluids, if that is built on VDB from scratch, but I donīt think terragen clouds does that so what gives.

Your logic refering to ..if it hasnīt been made yet, ergo it canīt be done, I am highly sceptical too...itīs about the underlying technique, not wether or not they have been able to do it yet or not..though that could be the case, but really..that as the deciding factor for it to be impossible?

To conclude, you are not sure yourself, you say "perhaps..and someone not motivated enough etc", so how do you the conclude and connect that to the task at hand being illogical and absurd?

05-31-2019, 02:02 PM
Hi,
Nah, shan't attempt to explain my response to your liking.

But, to the gist of the thoughts you shared: there are so many available tools that what you seek probably can already be done. Seems, after being told it ain't happening, that you would do the right thing, put in your feature request and let it go at that.

The dead horse that is "this can't be done" won't get up no matter how much you continue to kick. And this is an OLD DEAD HORSE.


I understand... hope springs eternal.

Good luck with that.
Robert

prometheus
05-31-2019, 02:21 PM
Hi,
Nah, shan't attempt to explain my response to your liking.

But, to the gist of the thoughts you shared: there are so many available tools that what you seek probably can already be done. Seems, after being told it ain't happening, that you would do the right thing, put in your feature request and let it go at that.

The dead horse that is "this can't be done" won't get up no matter how much you continue to kick. And this is an OLD DEAD HORSE.


I understand... hope springs eternal.

Good luck with that.
Robert

:D

You donīt have to answer in attempt to my liking, just make it clear about the technology behind it and why it would be absurd to think it can be done, if you do not know the tech behind it..you shouldnīt talk about it in vague forms, or I Simple just canīt make any sense from it..and probably so for many others as well.

You mentioned there are tools out there that can do what I want etc...that is up the charts wrong, it doesnīt matter if it is houdini or blender that can do that, I Want Lightwaves cloud procedurals and how I work with those clouds to be the end product, NOTHING else currently anyway.

And..I know it was a question about hypervoxels to objects many many years ago, but this is different, this isnīt volumetrics to mesh, or mesh to volumetric ..this is volumetrics to volumetrics in VDB form, and it will not be derived from old hypervoxels either, and it will be in consideration that those many years ago, we didnīt have Any vdb tools in there, it started with 2018 and advanced with new VDB tools in lw 2019.

wether or not the LW team is skilled enough and motivated enough is one thing, and if it is purely technical possible another thing, I only care about knowing if it may be technically possible..the rest is up to the lw team and the community to
work on if that is so.

Would be great to design your hero clouds with Lightwave procedurals and then send it to terragen, currently that is not in the schedule for terragen so far, but they are working the other way around..getting Terragen clouds out as VDB, Vue on the other hand ..now has import of VDB, so any vdb made cloud can be sent to VUE for rendering in there, from what I can see..these showcased samples of VDB clouds looks better than any metacloud and fractal together, at least for hero clouds etc.

Personally I feel that vue took the better step here, implementing VDB import so you can custom design your clouds and render in vue with full glory, rather than like Terragen focusing on Cloud export from Terragen to another main app.
Both options would be great but I prefer the first mentioned method.

Currently I can get Blender smoke fluids in to Lightwave for clouds, or explosions or fire etc, and I can make geometry in Houdini and applyc cloudFX, or use cloud rig noise..or paint the clouds with an airbrush and then send all those types of clouds to Lightwave with VDB converting.
What I need now is a way to export any type of volumetrics (mostly clouds) through VDB exports to either blender or Terragen, or vue.


https://www.youtube.com/watch?v=d7Nwuvpkdyo

https://www.youtube.com/watch?v=NAPa-k99Ac0