蕉太狼
蕉太狼
给个输入的数据,比如obj给我,我来调一下,主要我也在厂里打工,不会很及时回复,见谅 > In other words, I notice my morton code is not increase. So how to fixed it?
> 有些example是比较早的几个版本效果,应该调调粘度,涡度的参数就行 因为最近在学习sdf相关的东西,可能后续会做一个更好的架构,到时候我在添加更好的example出来,工作实在太忙了
粘性部分在这里:line 181 - line 246 https://github.com/lyd405121/wcsph/blob/master/dfsph.py 都是从这里移植的: https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/blob/master/SPlisHSPlasH/Viscosity/Viscosity_Weiler2018.cpp
## Try to add this feature - But Failed TAT - Only few files downloaded successfully!  ```js async function download_one(fileurl, file_name) { console.log("downloading " + file_name); fetch(fileurl).then((res) => res.blob().then((blob)...
> In other words, I notice my morton code is not increase. So how to fixed it? - Recently, I make a [new repostory](https://github.com/lyd405121/ti-bvh) to do bvh things - And...
# How to play imgui in wsl - If you have a windows pc but want to test your code(like imgui apps) in linux,wsl is your choice - Windows Subsystem...
- I met the same error in visual studio 2022,Here is my solution: - Open project setting -> C/C++ ->Language->Comformance Mode(符合模式)->Default
> You probably use the same string buffer with 2 edit texts. Please share your code, so I could be a bit more specific. ## More Info - I just...
> It's because an example uses the same buffer for all nodes. You should replace it with your own buffer that's unique for each node  Thanks!
## 理想情况下 - 没有约束(碰撞体,边界条件),没有风阻的情况下,布料就和一块木板一样自由下落 ## 计算机仿真 - 由于浮点数在计算上表示有限,有时候会出现精度问题,比如每个质点下落应该加上9.8m/s的速度,实际上是9.80001,也有可能是9.799999。 - 然后如果你学过数值分析一类的课程就会知道,误差在某些情况会被放大,形成数值振荡(不收敛) ## 解决方法 - 一个使用更高的精度如float32到float64 - 另外一个是引入damping,通降低数值误差对仿真的影响 ## PS - 也有可能是代码问题,这个就得debug咯