Jump to content

upres at render

Hello world

Recommended Posts

A voxel is just a 3d pixel, so if you think of it like a 2d image you wouldn't get any more detail out of it by just increasing the number of pixels. The initial data is all you have. So if you have a 128x128 image and scale it up to 1024x1024 it will be very pixelated for example. You can smooth it sure, but it won't get more detailed.

Link to comment
Share on other sites

yes and no, you can use a delayed load shader to load in higher-res simulated simulation but you have to do the simulation before, not at, the render time.

Link to comment
Share on other sites

One approach is to create a cvex shader with gridless advection at render time.Rhythm and Hues has published a few papers about this tehcnique.You can implement it into the shader with inline code or in cvex shader as well.

wow, that sounds as cool as complex

Edited by Netvudu
Link to comment
Share on other sites

It's not complex if you can use the volumeVOP, same thing.

Getting the noise to stick however can cause issues. You have to output rest and rest2, blend between them etc, get stretching blah blah.

I've had some decent results with it in the past to get pyroclastic noise to stick to a lower res sim, but in the end I always end up just doing a high res sim (or at least upresing a low one).


If you want whispy smoke then gridless advection would work.



CVEX noise for anything else. But honestly, best bet is to get a good sim.


Link to comment
Share on other sites

Gridless advection...

There's posts about it on here, do a search.


Yeah, I was following that thread a while ago. Some interesting results but not much talk on how anything was done. I've been looking at getting detail in to volumes at render time using cvex but render times go out the window very quickly. Ive been looking into rebuilding something like the cloud noise in a shader but not sure exactly how to go about it. I have tried it in a volume procedural and it works great but you get pretty noisy renders and there are no filtering options like standard volume rendering.

Link to comment
Share on other sites

  • 2 weeks later...

You would do it at render time with a vex volume procedural geometry shader. In the CVEX shader you can use a volumesamplevfile node to sample your density at the position minus your velocity (needs to be minus as you are specifying where to sameple for that position, not "pushing" the volume to a new position).

Thats a pretty simple example, but I dont know how gridless advection would be implemented in this way.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...