-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does k3d-jupyter support to render a time series of 3D volume? #444
Comments
Hi @tfunatomi ! k3d.volume and k3d.mip have important parameter called "color_range". For static data it is calculated authomatically if user will not pass it. For time series data that automation is disabled. So if you will pass color_range like that:
everything will be fine. Thanks for spoting that problem. I should either add infomation about that constraint to docs or implement feature to calculate color_range for timeseries data. btw. Please remember that in animation parameters are interpolated using js. So in your case you will try to interpolate 317x 512 x 512 floats number in pure js. That will be slow. Animation in k3d have special rule that if time == exactly a keypoint interpolation will be avoided. btw. I have in my mind idea to do interpolation for k3d.volume and k3d.mip on shader level. |
Thanks @tfunatomi . Fix is on devel |
Hi! Please check https://pypi.org/project/k3d/2.16.1/ :) |
I appreciate your quick response! |
Description
I want to render a time series of a 3D volume.
It seems that the animation for the time series works, but the rendering result looks strange.
What I Did
When I try to render a time series of a 3D volume by passing a dictionary to
k3d.mip
ork3d.volume
, there is no error but the rendering result becomes very different from the one when rendering a time step.I would be grateful if you could help me.
The text was updated successfully, but these errors were encountered: