Announcement

Collapse
No announcement yet.

GPU Preview with objects

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

  • GPU Preview with objects

    The GPU preview doesn't properly draw above objects in the 3DS Max viewport. It seems to always draw below/under objects regardless of the angle it's viewed - this must be because the viewport doesn't also use the GPU so perhaps there is a way to get a representation of objects in the GPU preview. Even just some voxels to represent the object would be useful. Other than that, the GPU preview is fantastic!
    Josh Clos
    FX / 3D Generalist

  • #2
    Hey

    It's a Max thing unfortunately, and Maya does roughly the same. We haven't found a way to tell the viewport the exact depth of the volumetric effects, as they aren't real geometries. What Max and Maya see in the viewport is the bounding box of the sim, and the sides of the box that face the camera would overlap everything inside the box and behind it...
    Svetlin Nikolov, Ex Phoenix team lead

    Comment


    • #3
      Ok that's understandable. Do you know of a trick to get it draw completely above instead of below? I've noticed that when I display smoke in the viewport, it draws above but when I disable smoke it draws below. Could be a glitch or something.
      Josh Clos
      FX / 3D Generalist

      Comment


      • #4
        I guess one quick workaround I found is to enable the smoke and set it's opacity to 0.01 - that way the fire draws on top and the smoke isn't really visible.
        Josh Clos
        FX / 3D Generalist

        Comment


        • #5
          Interesting effect - can you share a screenshot of how this looks?
          Svetlin Nikolov, Ex Phoenix team lead

          Comment


          • #6
            Yea sure - Here are some screenshots:

            Click image for larger version

Name:	joshclos_gpu_001.jpg
Views:	1
Size:	46.2 KB
ID:	866572

            Click image for larger version

Name:	joshclos_gpu_002.jpg
Views:	1
Size:	47.5 KB
ID:	866573

            Click image for larger version

Name:	joshclos_gpu_003.jpg
Views:	1
Size:	76.8 KB
ID:	866574

            If you have smoke in the sim it will draw above geometry and fire draws below. So if you have a sim that is just fire and you need it to draw above for a nicer viewport preview, you can force it to draw above by activating smoke and setting opacity really low (so it still appears to be just fire).
            Josh Clos
            FX / 3D Generalist

            Comment


            • #7
              Wow, that's an unexpected side effect. Gotta investigate to see if we could use it somehow..
              Svetlin Nikolov, Ex Phoenix team lead

              Comment

              Working...
              X