Announcement

Collapse
No announcement yet.

VRayGeomMeshFile prim and Materials

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

  • VRayGeomMeshFile prim and Materials

    Hi,
    I've been experimenting with vrmeshes as VRayGeomMeshFile prim (VRayProxy) and I can see I can bind a UsdMaterial to it.
    But I assume it binds all its shaders to all the meshes of the vrmesh object, right ?
    Is there a way to have a fully embedded vrmesh, or even, load a vrscene in VRayGeomMeshFile (or another usd procedural for vrscenes) ?
    With complex scenes in USD, having the ability to fully expand meshes/shapes directly in the renderer, bypassing the usd->hydra conversion first, could save extra memory.
    Cheers,
    Paolo

  • #2
    > But I assume it binds all its shaders to all the meshes of the vrmesh object, right ?

    There is V-Ray proxy material that could be used.

    > Is there a way to have a fully embedded vrmesh, or even, load a vrscene in VRayGeomMeshFile (or another usd procedural for vrscenes) ?

    "fully embedded vrmesh" isn't it alreedy fully embedded vrmesh? Or may be I don't understand the question.

    > load a vrscene in VRayGeomMeshFile

    No, and there are no plans for that. May I ask why do you need to mix vrscene with USD?

    > bypassing the usd->hydra conversion first, could save extra memory.

    And could cause a lot of issues once you'll need smth more then just "load asset as is".
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Thanks for your reply.

      by 'fully embedded vrmesh" I meant including shading. I understand that's not the case, so it needs a shader to be re-applied, hence asking for a vrscene which seems to have all its data fully embedded in the file.

      About why mixing, I'm interested in looking at how to optimize large scenes, and embedding as much as possible in an "asset" if it is not needed to be touched/modified, could be quite useful, and yes, renderer-specific, but that's fine.

      why would it cause more issues if you need to smooth more ? is the vrmesh pre-smooth ? it's actually not a big issue if that's the case, compared to how much you can save, knowing the details you need, you could have variants with more or less details.

      Comment


      • #4
        > why would it cause more issues if you need to smooth more ?

        Sorry for shortening the word, by "smth" I meant "something", e.g. if you'll want to "customize" vrscene after loading.
        If you want only to render it as is without any adjustements (well except transform of course) then it's doable.
        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
        andrei.izrantcev@chaos.com
        Support Request

        Comment


        • #5
          ah yes, absolutely, that's the expected behaviour for sure.
          so, to recap, for now, what I can use is a vrmesh with only geometry (materials defined as usd-prims/materials).

          and.... something else in the future ? ^_^

          Comment


          • #6
            > what I can use is a vrmesh with only geometry (materials defined as usd-prims/materials).
            > and.... something else in the future ?​

            Yes
            V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
            andrei.izrantcev@chaos.com
            Support Request

            Comment

            Working...
            X