• PhoenixFD插件流体模拟——UI布局【Preview】详解


    Liquid Preview

    流体预览

     本文主要讲解Preview折叠栏中的内容。原文地址:https://docs.chaosgroup.com/display/PHX3MAX/Liquid+Preview

    主要内容

    综述


    The parameters in this rollout control the representation of the fluids in the viewport.此折叠栏中的参数控制视图中流体的表示形式。

    All enabled values are drawn if the content is within the specified range. 如果内容在指定范围内,则绘制所有启用的值。

    UI Path: ||Select Liquid Simulator | LiquidSim object|| > Modify panel > Preview rollout

    参数



     

    Read Cache for Preview | prv_read_cache – Allows to completely disable reading of cache files in order to speed up the viewport and the simulation.允许完全禁用高速缓存文件的读取,以加快viewport和仿真。

    When cache files are not read, neither voxels and particles, nor the grid bounding box or the Cache File Content under the Simulation rollout will be shown.

    当缓存文件未被读取时,将不会显示体素和粒子,也不会显示模拟折叠栏下的网格包围框或缓存文件内容。

    This way scrolling the timeline would be quick as there will be no access to hard disk or the network.这样滚动时间轴将很快,因为将没有访问硬盘或网络。

    If you still need to see the grid bounding box and the Cache File Content info, you could leave this option to Always, and instead disable all voxel preview options, the Mesh PreviewGPU Preview and all particle previews. The intended use for this parameter is as a last step performance optimization - once you're done tweaking your setup and you're ready to commit to a high-resolution, overnight simulation, disable the preview of cache files.

    Always – Cache files are always read by the preview.缓存文件总是由预览读取。
    Disable During Sim
     – Cache files are read only when the simulation is stopped.只有当模拟停止时才读取缓存文件。

    This would speed up the simulation and is good for overnight simulations where you don't need to watch the simulation constantly.

    Don't Preview Caches – Cache files are never read for the preview.缓存文件从不为预览而读取。

    They will only be read during rendering, or in case any of the Phoenix tools requires them - e.g. the Particle Shader, the Grid Texture, etc. 

    Detail Reduction | gpudown – Decreases the grid and particle detail in the preview. 减少预览中的网格和粒子细节。

    A value of 0 means no reduction.值为0表示没有减少。

    Increase this value if the interface starts to lag due to the simulation being very large.如果由于模拟非常大,接口开始滞后,则增加此值。

    This parameter controls both the viewport preview and the GPU preview.

    Auto Reduction – Enables automatic adjustment of the Detail Reduction parameter.启用自动调整详细信息约简参数。

    The preview detail will be reduced up to a point where the preview will display fast without blocking the interface. Note that the detail will only decrease automatically, but will not increase.

    Show Mesh | show mesh – When enabled, shows the implicit surface as a mesh.启用时,将隐式表面显示为网格。

    This mode overrides the Voxel Preview mode.此模式覆盖体素预览模式。

    Note that if Render Mode is set to Ocean Mesh, the ocean will have lower detail in the preview than in the render in order to speed up the viewport display.

    注意,如果渲染模式设置为Ocean Mesh,为了加速viewport的显示,Ocean在预览时的细节比渲染时要低。

    Voxel Preview 体素预览


    ! Phoenix FD can only preview the channels present in the cache file for the current frame. To see the list of available channels and their ranges, go to the Cache File Content section of the Simulation roll-out.


     

    Only if selected | show_only_sel – When enabled, the viewport preview is only drawn if the simulator is selected.

    Active view only | prv_avonly – When enabled, only the selected viewport shows the content of the simulator.

    Show box | showgrid – Shows the bounding box of the simulator. The green outline is drawn based on the settings in the Grid roll-out while the red outline displays the bounds of the currently loaded cache file, if it exists.

    Graph cells | gridcells – Shows a lattice with the cell sizes on the sides of the simulator's box when there is a loaded cache file.

    Only the overlap of | prv_and – When enabled, shows only the cells where the following selected channels overlap.

    Liquid prv_temperatureprv_t_threshold, prv_t_threshold2, prv_t_color, prv_t_color2 – Enables the representation of the liquid channel.
    Velocity prv_velocity, prv_v_threshold, prv_v_threshold2, prv_v_color, prv_v_color2 – Enables the representation of the velocity channel.
    Viscosity | prv_viscosity, prv_visc_color1, prv_visc_color2, prv_visc_threshold1, prv_visc_threshold2 - Enables the representation of the viscosity channel.
    Special | prv_smoke, prv_smoke_threshold, prv_smoke_threshold2, prv_smoke_color, prv_smoke_color2 – Enables the representation of special channels. 
    Forces | prv_forcesprv_f_thresholdprv_f_threshold2prv_f_colorprv_f_color2, prv_force_list – Enables preview of how Phoenix forces or standard 3ds Max forces will affect the simulation. 
    RGB prv_uvw, prv_uvw_threshold, prv_uvw_threshold2 – Enables the representation of the RGB channel. 

    Auto Range | prv_autorange – When enabled, automatically adjusts the preview ranges of visible channels for the current frame so that important data is always visible and the preview is always quick.

    Using the Add or Remove buttons will allow you to select which forces will be previewed. Note that the force preview is exclusive with all other voxel channel previews and will override other voxel channels. Unlike other voxel preview channels which use the size of the loaded cache, the Forces preview can also work without a loaded cache and will use the grid size of the Simulator.

    Additionally, some Phoenix FD and standard 3ds Max forces require the previous velocity at their acting position in the grid. This is not yet supported by the Forces preview. As a result, forces such as the Drag force are shown as if their velocity is always 0 and will not be visible. In addition, forces that act differently depending on the quantity of content in the grid (e.g. amount of liquid, smoke, or no content) are not yet supported by the preview.

     

    Particles



     

    Particle Preview | prv_particles – Enables the preview of particles. The controls below affect the visualization of the currently selected particle group.

    Show | show_prt_face – Enable the preview of the currently selected particle group in the viewport.

    Particle color | prv_prt_color_face – Specifies the color of the particles when standing. The moving particles are displayed with modified color. The faster the particles, the whiter they appear. Note that if the particle system has a RGB channel exported, it will be used instead of the Particle color. (The preview will still be affected by the White speed if the particle system has a Velocity channel.)

    Auto White Speed | prv_prt_awspeed_face – When enabled, automatically calculates the preview White Speed based on the particle velocity.

    White Speed | prv_prt_wspeed_face – When Auto White Speed is disabled, allows the user to specify the speed at which the particle preview color becomes pure white.

    Draw Just a Slice



    Draw Just a Slice | prv_sect – When enabled, only a voxel-thick cross-section of the grid is visible. This allows for a better view of occluded details and can help when previewing very rich data such as velocity fields.

    Along Axis | prv_sect_axis – Specifies the axis along which the grid will be sliced.

    Slice Level | prv_sect_lvl – Specifies the offset of the slice from the bottom center of the grid in voxels.

  • 相关阅读:
    iframe显示高度自适应 兼容多浏览器
    Asp.Net在Global.asax中实现URL 的重写
    文件流下载 ASP.NET
    Asp.Net实现全局定时器功能
    C#中获取本机IP地址,子网掩码,网关地址
    Asp.Net缓存实例
    Google API 天气数据缓存到一个XML中
    获取服务器信息
    C# NET 中英混合字符串截断实例
    Asp.Net实现长文章分页显示功能
  • 原文地址:https://www.cnblogs.com/wildbloom/p/10626322.html
Copyright © 2020-2023  润新知