We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

saalemv3d

Forum Replies Created

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • in reply to: Add/Change Outline #52439
    saalemv3d
    Participant

    Thank you for the reply. It is what I was looking for but I should do it in JS not puzzle.

    This code works when I use inside the runCode(app) function.
    I need to use it outside this function. Outside, does not recognized.

    in reply to: Add/Change Outline #52428
    saalemv3d
    Participant

    Thanks for the reply.

    Actually, there is an object with sold and available materials. There is an outline for double click on material (I added in verge3d) but I want add outline to group of materials (for example, group of available) when check box is is checked. My new function for adding outline is outside of the PL.init function. So, v3d.apps[0].postprocessing.outlinePass.visibleEdgeColor = new v3d.Vector4(0,0,1,1) cannot be used out of scope.

Viewing 2 posts - 16 through 17 (of 17 total)