jagj10 / positionbasedfluids Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://jagj10.github.io/projects/pbf.html
Home Page: http://jagj10.github.io/projects/pbf.html
Hi,
when I try to run the code, the console prints this error:
ERROR::SHADER::PROGRAM::LINKING_FAILED
0(35) : error C7623: implicit narrowing of type from "vec3" to "float"
final.vert
final.frag
do you how to fix it?
Hi,I've been trying to run the PositioBasedFluids-master demo,It showed that the fragment complation_failed Then I changed the "final.frag"line35
float squiggly = clamp(sum * (vec3(1, 1, 1) - vec3(0, 0.2, 0.6)), 0, 1); fragColor = (1 - foamIntensity) * fluid + (foamIntensity * (0.9 - squiggly));
to
vec3 squiggly = clamp(sum * (vec3(1.0f, 1.0f, 1.0f) - vec3(0.0f, 0.2f, 0.6f)), 0.0f,1.0f); fragColor = (1 - foamIntensity) * fluid + vec4((foamIntensity * (0.9 - squiggly)),0.0f);
now it can show the initial interface ,but when I run the fluid , my computer crasded.So I can't get the bug in detail. Maybe there is some problem in ParticleSystem.cu line 502-515.
My computer configuration:CPU intel 6700HQ, GPU GTX 960M, win10 professional +vs2013+cuda8.0
Hi,
I've been trying to run the PositioBasedFluids-test demo ,But ...\PositionBasedFluids-test\PositionBasedFluids\meshes\bunny_closed_fixed.sdf missed.Can you offer me that . Thanks a lot.
Hi,
I want to konw how can I get the " *.cobj " object file, why not use the " *.obj file ", thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.