Announcement

Collapse
No announcement yet.

4.19 gameworks need help enabling GRB'S

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    4.19 gameworks need help enabling GRB'S

    I made a video that basically explains its all. I was given explicit instructions on how to do this by a person from Nvidia but i think i suck at visual studio! lol

    so basically I am trying to enable the unofficial gpu accelerated rigid bodies functionality.

    E0020 identifier "PCudaContextManager" is undefined PhysicsPublic.h
    E0020 identifier "GCudaContextManager" is undefined PhysicsPublic.h
    E0020 identifier "PCookingParams" is undefined PhysLevel.cpp


    fixed E0020 identifier "PCudaContextManager" is undefined PhysicsPublic.h
    also fixed some other problems where i copy pasted so it had a 0x0a invalid namespace thingy so i backspaced and put the code back in the right place
    and now i get..... Click image for larger version  Name:	error3.jpg Views:	1 Size:	297.5 KB ID:	1529046

    fixed that and now i get ............arggh!! hahaa
    Click image for larger version

Name:	error4.jpg
Views:	14
Size:	297.3 KB
ID:	1529049 PCookingParams undeclared identifier
    Last edited by DigitalDemolition; 09-17-2018, 08:43 PM.

    #2
    Click image for larger version  Name:	accepted-code-part-2.jpg Views:	1 Size:	174.7 KB ID:	1530514 almost a week later of working on this, im slowly ....meticulously adding 1 to 2 lines of code bit by bit then rebuilding the whole solution to deduce the erroneous lines of code. so far these lines work fine Click image for larger version

Name:	accepted-code-part-4.jpg
Views:	35
Size:	261.3 KB
ID:	1530857
    Click image for larger version  Name:	accepted-code-part-1.jpg Views:	1 Size:	131.2 KB ID:	1530513
    Last edited by DigitalDemolition; 09-21-2018, 08:05 PM.

    Comment


      #3
      so the part i am stuck on is.......
      GCudaContextManager = PxCreateCudaContextManager(*GPhysXFoundation, CudaContextManagerDesc); //added by r
      i cannot for the life of me figure out how to define or input the proper headers for GCudaContextManager as i have no clue where it is trying to call from

      i figured it out. now i'm stuck at.... PCookingParams and i definitely have no clue where it comes from.
      edit! apparently it is derived from PxCooking.h header file and i added that into the headers but i don't know how to declare/define it.
      Click image for larger version

Name:	pcookingparams.jpg
Views:	15
Size:	218.7 KB
ID:	1530859


      Click image for larger version  Name:	pcookingparams.jpg Views:	1 Size:	218.7 KB ID:	1530852
      Attached Files
      Last edited by DigitalDemolition; 09-21-2018, 08:08 PM.

      Comment


        #4
        I got it all working and for some reason PCookingParams.buildGPUData = true;
        was only accepted in PhysXCooking.cpp as i had thought it belonged in another location...whoops! now all i have to do is reinstall my graphics driver because of some other unrelated problem with nvidia display driver. hopefully someone else in the future can see this. if you need any help with doing this i will be able to help you if you prefer to accelerate rigid bodies on your Nvidia graphics card!
        Attached Files

        Comment


          #5
          if you want to check out grb's running in my videogame using the older UDK which i still love check out the link below!
          https://www.youtube.com/watch?v=7_fKs35djxk&t=69s

          Comment

          Working...
          X