<div dir="ltr">Mohamed,<div><br></div><div>If you can share the dataset, it will be easier to point you in the right direction. Feel free to share the data off the mailing list, if needed.</div><div><br></div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 30, 2018 at 10:31 AM, Mohamed Beshr <span dir="ltr"><<a href="mailto:mbeshr1986@gmail.com" target="_blank">mbeshr1986@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It is much better now. However, now the tube becomes one solid red color although the legend range is the same (see screenshot below for difference between original and re-sampled view). Please advise how can I fix this (I changed opacity scale shown in the figure between 0 and 1 and still the same).<div><br></div><div><img src="cid:ii_jfe1nb9a1_162774fe16fd93e6" width="562" height="212"><br><img src="cid:ii_jfe1o7892_16277507b9961432" width="562" height="211"><br><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 29, 2018 at 5:43 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You're getting an empty cubiod because it's showing as outline. Try<br>
changing the "representation" type to Volume from Outline. Is that any<br>
better? You may need to adjust your color/opactiy transfer function.<br>
<div class="m_626074007467044087HOEnZb"><div class="m_626074007467044087h5"><br>
<br>
<br>
On Thu, Mar 29, 2018 at 2:49 PM, Mohamed Beshr <<a href="mailto:mbeshr1986@gmail.com" target="_blank">mbeshr1986@gmail.com</a>> wrote:<br>
> Thank you for your reply. Yes I have an unstructured grid. Regarding the<br>
> resample to image filter, when I select it in my case, I get an empty<br>
> cuboid. Why is that? Is there a way to get the image matching my shape?<br>
><br>
> On Mon, Mar 26, 2018 at 3:38 PM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> > a.      When I select “Real Time” option and increase the time, even<br>
>> > though<br>
>> > it  is cached, it still keeps reloading which prevents the VR from<br>
>> > working.<br>
>> > Is there any potential/possibility to fix this in the meantime or<br>
>> > upcoming<br>
>> > release?<br>
>><br>
>> Caching cannot work in "real time"  mode since there's no guarantee<br>
>> what time each frame will be rendered at.<br>
>><br>
>> > b.      When I cache it as a volume (rather than surface, wireframe, or<br>
>> > points) on my laptop, it crashed the exe even when I increase the cache<br>
>> > memory maximum size. Any thoughts on that? I tested it on a bigger and<br>
>> > faster work station and it worked, however, it still has the issue<br>
>> > mentioned<br>
>> > in the point below.<br>
>><br>
>> I suspect you're just running out of memory on the system, esp since<br>
>> you say smaller mesh works.<br>
>><br>
>> > 2.      When I get a smaller mesh (4x smaller), I am able to cache it as<br>
>> > a<br>
>> > volume. However, when playing it back, it keeps reloading while showing<br>
>> > the<br>
>> > green bar as below at each time step. Is that supposed to happen? Is<br>
>> > that<br>
>> > rendering? Is there a way to eliminate it or make it faster?<br>
>><br>
>> Yes, that's rendering. Cache doesn't cache rendering artifacts. Seems<br>
>> to me you have unstructured grid which is using  the slow path for<br>
>> volume rendering. Another option is to apply "Resample To Image"<br>
>> filter to resample the dataset to an image and volume rendering the<br>
>> result. Then rendering should be much faster. You can also resample<br>
>> and generate the image as a processing stage and save the resampled<br>
>> dataset out and then load and render it in the animation loop.<br>
><br>
><br>
><br>
><br>
> --<br>
> Best Regards,<br>
> Mohamed Beshr<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_626074007467044087gmail_signature" data-smartmail="gmail_signature">Best Regards,<div>Mohamed Beshr</div></div>
</div>
</div></div></blockquote></div><br></div>