|
cloth ?
#473198
06/20/18 23:02
06/20/18 23:02
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Hi guys! Can anyone else get cloth example from samples folder working? For me it just doesn't get created, PVD doesn't show it as well. I wonder why it's not working. I even installed PhysX System software but it doesn't fix the problem. I remember that it used to work out of the box, but maybe before the 'latest' update? Best regards!
|
|
|
Re: cloth ?
[Re: 3run]
#473216
06/21/18 17:59
06/21/18 17:59
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
|
|
|
Re: cloth ?
[Re: 3run]
#473546
07/21/18 17:05
07/21/18 17:05
|
Joined: Oct 2004
Posts: 900 Lgh
rojart
User
|
User
Joined: Oct 2004
Posts: 900
Lgh
|
Please check the new dll from here. I know what is happening, but for now I'm waiting for answers, thanks!
|
|
|
Re: cloth ?
[Re: rojart]
#473549
07/21/18 18:30
07/21/18 18:30
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Here it goes: Log of A8 Engine 8.47.1 run at Sat Jul 21 21:28:14 2018 Мага on Windows NT/2000/XP version 6.1 Build 7601 Options clothdemo.c -diag -tl -debug App: C:Program Files (x86)GStudio8SED.exe in C:UsersМагаDesktopcloth MM mixer opened DSOUND device opened DI interface opened Start Window opened(c) Conitec - www.3dgamestudio.comA8 Engine - Pro Edition V8.47.1 - Mar 9 2016 Development version Registered to: Magomet Kochkarov Mouse found Динамики (ASUS Xonar DX Audio Device) opened NVIDIA GeForce GTX 1060 6GB pure T&L device 1ff9 detected D3D device NVIDIA GeForce GTX 1060 6GB 1ff9 selected. ackphysX.dll opened acknet.dll opened ackoal.dll opened ackphysX.dll opened Compiling CLOTHDEMO.C - [Esc] to abort...... PATH C:Program Files (x86)GStudio8code PATH C:Program Files (x86)GStudio8templatesimages.......... on_ent_remove_px: function not found on_exit_px: function not found on_level_load_px: function not found.... 0.293 sec Running CLOTHDEMO.C. 2 objects Main started at 1.376 in debug mode D3D_Init Window: 720x480 -> Window: 1x720x480x32 Video memory found: 1646 MB LevelInit at 1.421 0 lmaps 0 textures...ok LevelReady at 1.422 Opening PhysX... - GPU: NVIDIA GeForce GTX 1060 6GB - gHardwareSimulation: 1 ok def_startup started mtlfx_startup started Main loop at 2.677.... 1st frame with 1646 MB. at 2.692 Normal exit at 3.623 Close level,DLL Never used -diag before, I simply added -diag in SED Preferences, under Command Line Options and then clicked Debug Run. If it's needs to be done differently, just let me know how and I'll do it man. Thank you very much for helping out!
|
|
|
Re: cloth ?
[Re: rojart]
#473551
07/21/18 18:44
07/21/18 18:44
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Now it crashed SED (if I run in debug mode, in 'run current script' mode, it simply crashes as before. Log of A8 Engine 8.47.1 run at Sat Jul 21 21:41:53 2018 Мага on Windows NT/2000/XP version 6.1 Build 7601 Options clothdemo.c -diag -tl -debug App: C:Program Files (x86)GStudio8SED.exe in C:UsersМагаDesktopcloth MM mixer opened DSOUND device opened DI interface opened Start Window opened(c) Conitec - www.3dgamestudio.comA8 Engine - Pro Edition V8.47.1 - Mar 9 2016 Development version Registered to: Magomet Kochkarov Mouse found Динамики (ASUS Xonar DX Audio Device) opened NVIDIA GeForce GTX 1060 6GB pure T&L device 1ff9 detected D3D device NVIDIA GeForce GTX 1060 6GB 1ff9 selected. acknet.dll opened ackoal.dll opened ackphysX.dll opened ackphysX_old.dll opened Compiling CLOTHDEMO.C - [Esc] to abort...... PATH C:Program Files (x86)GStudio8code PATH C:Program Files (x86)GStudio8templatesimages.......... on_ent_remove_px: function not found on_exit_px: function not found on_level_load_px: function not found.... 0.298 sec Running CLOTHDEMO.C. 2 objects Main started at 1.378 in debug mode D3D_Init Window: 720x480 -> Window: 1x720x480x32 Video memory found: 1646 MB LevelInit at 1.414 0 lmaps 0 textures...ok LevelReady at 1.415 Opening PhysX... - GPU: NVIDIA GeForce GTX 1060 6GB - gHardwareSimulation: 1 ok def_startup started mtlfx_startup started Main loop at 2.674.... 1st frame with 1646 MB. at 2.690 Normal exit at 3.821 Close level,DLL Renamed old 'ackphysX.dll' to 'ackphysX_old.dll' and placed new one in 'acknex_plugins' folder.
|
|
|
Re: cloth ?
[Re: rojart]
#473554
07/21/18 20:45
07/21/18 20:45
|
Joined: Oct 2004
Posts: 900 Lgh
rojart
User
|
User
Joined: Oct 2004
Posts: 900
Lgh
|
just for clarity, you need to open one ackphysX.dll, but not two at the same time.
from your log file: ... acknet.dll opened ackoal.dll opened ackphysX.dll opened ackphysX_old.dll opened <- Wrong! ...
Last edited by rojart; 07/21/18 20:46.
|
|
|
Re: cloth ?
[Re: rojart]
#473556
07/22/18 00:57
07/22/18 00:57
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Ok, removed .dll Here is log Log of A8 Engine 8.47.1 run at Sun Jul 22 03:54:51 2018 Мага on Windows NT/2000/XP version 6.1 Build 7601 Options clothdemo.c -diag -tl -debug App: C:Program Files (x86)GStudio8SED.exe in C:UsersМагаDesktopcloth MM mixer opened DSOUND device opened DI interface opened Start Window opened(c) Conitec - www.3dgamestudio.comA8 Engine - Pro Edition V8.47.1 - Mar 9 2016 Development version Registered to: Magomet Kochkarov Mouse found Динамики (ASUS Xonar DX Audio Device) opened NVIDIA GeForce GTX 1060 6GB pure T&L device 1ff9 detected D3D device NVIDIA GeForce GTX 1060 6GB 1ff9 selected. acknet.dll opened ackoal.dll opened ackphysX.dll opened Compiling CLOTHDEMO.C - [Esc] to abort...... PATH C:Program Files (x86)GStudio8code PATH C:Program Files (x86)GStudio8templatesimages.......... on_ent_remove_px: function not found on_exit_px: function not found on_level_load_px: function not found.... 0.307 sec Running CLOTHDEMO.C. 2 objects Main started at 1.386 in debug mode D3D_Init Window: 720x480 -> Window: 1x720x480x32 Video memory found: 1646 MB LevelInit at 1.429 0 lmaps 0 textures...ok LevelReady at 1.430 Opening PhysX... - GPU: NVIDIA GeForce GTX 1060 6GB - gHardwareSimulation: 1 ok def_startup started mtlfx_startup started Main loop at 2.712.... 1st frame with 1646 MB. at 2.726 Normal exit at 3.843 Close level,DLL
|
|
|
Re: cloth ?
[Re: 3run]
#473559
07/22/18 09:06
07/22/18 09:06
|
Joined: Oct 2004
Posts: 900 Lgh
rojart
User
|
User
Joined: Oct 2004
Posts: 900
Lgh
|
|
|
|
Re: cloth ?
[Re: 3run]
#473573
07/23/18 18:12
07/23/18 18:12
|
Joined: Oct 2004
Posts: 900 Lgh
rojart
User
|
User
Joined: Oct 2004
Posts: 900
Lgh
|
Take a look in the ackphysX.h file.
var CLOTH_DEFAULT[40] =
{
...
// Flag bits.
0 // NX_CLF_HARDWARE is set automatically, depending on your GPU (see above)
...
}
Therefore this function in the old dll will not work, but with my new dll should work.
cloth options[37] &= ~NX_CLF_HARDWARE;
|
|
|
Re: cloth ?
[Re: 3run]
#473611
07/26/18 17:11
07/26/18 17:11
|
Joined: Oct 2004
Posts: 900 Lgh
rojart
User
|
User
Joined: Oct 2004
Posts: 900
Lgh
|
Gladly, I found the issue!
rename the nvcuda.dll file to nvcuda-dll from C:\Windows\SysWOW64\ folder.
Now the clothdemo should work in the CPU mode.
Last edited by rojart; 07/26/18 18:47. Reason: solution
|
|
|
|