Coder Social home page Coder Social logo

cinderflex's People

Contributors

bantherewind avatar joelpryde avatar lritesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cinderflex's Issues

flex.h not found

hi Joel,
I haven't found flex.h anywhere, has it been renamed in Flex SDK?

Starting with Flex

Hi there, I found this cinder block and wanted to play around to see what I can do with it and got stuck with the sample. Downloaded and installed CUDA, flex and this sample project. All paths are set as they should, but here is the thing.

NvFlexSolverDesc solverDesc; NvFlexSetSolverDescDefaults( &solverDesc ); solverDesc.maxParticles = particleCount; solverDesc.maxDiffuseParticles = 0; mSolver = NvFlexCreateSolver( mLibrary, &solverDesc );

Throws an error. The fix:
mSolver = NvFlexCreateSolver(mLibrary, particleCount, diffuseParticleCount);

Next error (no such method)
NvFlexSetActiveCount( mSolver, particleCount );

Commenting this line now compiles the sample, but then a serious memory leak is created and the particles don't move. They are positioned and you can move around, but nothing happens despite setting some initial parameters. What can I do to get this sample project working?

Thanks!

doesn't work properly in release build

ezgif com-video-to-gif

Hi @joelpryde

First of all, thanks for this awesome block. It's amazing!

It works just fine in debug build as the demo video you posted to old cinder forum but it seems collision between particles not working in release build like the video I have attached here.

my working environment info is following,

  • windows 10
  • visual studio 2015
  • cinder 0.9.2dev 64bit
  • flex 1.2.0
  • cuda 9.1
  • geforce gtx 970

Logs only complain about PDB files but no specific error messages.

CinderFlex.exe' (Win32): Loaded 'C:\Users\avseoul\Documents\Github\Cinder\blocks\CinderFlex\sample\vc2015\x64\Release\CinderFlex.exe'. Module was built without symbols.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\ntdll.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\KernelBase.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\ws2_32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\sechost.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\rpcrt4.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\nsi.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\shlwapi.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\msvcrt.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\combase.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\gdi32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\user32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\comdlg32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\SHCore.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\opengl32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\Users\avseoul\Documents\Github\Cinder\blocks\CinderFlex\sample\vc2015\x64\Release\NvFlexReleaseCUDA_x64.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\advapi32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\shell32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.10240.16384_none_0212ec7eba871e86\comctl32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\windows.storage.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\kernel.appcore.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\glu32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\ddraw.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\powrprof.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\Users\avseoul\Documents\Github\Cinder\blocks\CinderFlex\sample\vc2015\x64\Release\cudart64_80.dll'. Module was built without symbols.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\profapi.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\dciman32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\ole32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\oleaut32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.10240.17319_none_89a9f4e99af45e30\GdiPlus.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\version.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\IPHLPAPI.DLL'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\wininet.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\winnsi.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\imm32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\msctf.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\uxtheme.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\dwmapi.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvoglv64.dll'. Cannot find or open the PDB file.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\setupapi.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\cfgmgr32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\wtsapi32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\devobj.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\wintrust.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\msasn1.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\crypt32.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\ntmarta.dll'. Symbols loaded.
The thread 0x1cb8 has exited with code 0 (0x0).
The thread 0xf88 has exited with code 0 (0x0).
The thread 0x1f70 has exited with code 0 (0x0).
The thread 0x1f74 has exited with code 0 (0x0).
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvspcap64.dll'. Cannot find or open the PDB file.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\winsta.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\bcryptprimitives.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvcuda.dll'. Cannot find or open the PDB file.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvfatbinaryLoader.dll'. Cannot find or open the PDB file.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvapi64.dll'. Cannot find or open the PDB file.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\dxgi.dll'. Symbols loaded.
'CinderFlex.exe' (Win32): Loaded 'C:\WINDOWS\System32\DWrite.dll'. Symbols loaded.
The thread 0x4a8 has exited with code 0 (0x0).
The thread 0x1018 has exited with code 0 (0x0).
The thread 0x81c has exited with code 0 (0x0).
The thread 0x26e8 has exited with code 0 (0x0).
The thread 0xffc has exited with code 0 (0x0).
The thread 0x1388 has exited with code 0 (0x0).
The thread 0x1758 has exited with code 0 (0x0).
The thread 0xa14 has exited with code 0 (0x0).
The thread 0x1f9c has exited with code 0 (0x0).
The thread 0x1f98 has exited with code 0 (0x0).
The thread 0x25a0 has exited with code 0 (0x0).
The thread 0x950 has exited with code 0 (0x0).
The thread 0x27a4 has exited with code 0 (0x0).
The program '[9504] CinderFlex.exe' has exited with code 0 (0x0).

Any thought would be appreciated.

Thanks!
av

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.