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.

Ben

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: batch geometry and flipped normals #70424
    Ben
    Customer

    Hi kdv, would you mind giving a quick example of how to use .computeVertexNormals() ?

    I have very little knowledge of coding, would it use an exec script node?
    Have gotten as far as trying the below amateur attempt in an exec script without any luck:

    var obj = app.scene.getObjectByName(VARS[‘object_reference’]);
    obj.computeVertexNormals()

    Thanks!

    in reply to: Reference batched geo #70151
    Ben
    Customer

    Thanks Yuri,
    That helped me get it working:

    1. Add all clones of object to clone_list

    2. batch geometry of clone_list

    3. Set a variable to the following using a create text node plugged into a get object node:
    “object_x”
    get length of clone_list
    “_batch”

    Variable now points to the batched geo. Thanks!

    in reply to: batch geometry and flipped normals #70147
    Ben
    Customer

    Hi Michael,
    I’m working on a scene that sounds very similar to yours and came across the same issue – I’ve got an array of tiles and every other tile is flipped on an axis to create a kind of repeating symmetrical pattern. I found that the flipped tiles were shaded fine when separate, but when I batched them all every other tile was darker.

    In my case I found that when batched the flipped tiles took lighting info from the underside instead, so since my HDRI was darker underneath the tiles were receiving less light and appeared darker. I was able to solve it by switching the material to a simple emission, since shadows etc weren’t important in my case. I expect a uniform background light would also do the job.

    I’m not sure how you could get them shaded correctly by directional lights etc though, is there any way to flip normals in verge?

    in reply to: Array Modifier (using puzzles) #70048
    Ben
    Customer

    Yeah I agree, but unfortunately they’re not symmetrical. I was actually surprised the tops weren’t flipped to backfacing polys when I inverted on one axis. Verge must handle things a little differently (definitely not complaining in this case).

    You’re right though I’ll need to keep an eye out for any odd rendering etc going forward..

    in reply to: Array Modifier (using puzzles) #70046
    Ben
    Customer

    Thanks v much for the info. In the end I used the clone puzzle based on the link kdv sent and the tiles are flipped where needed by inverting scale on x/y axes. The repeated uv approach maybe could have worked but I ended up needing to specify a dynamic gap between tiles, so physical polys were easier to manage. Thanks again

    in reply to: Renaming from examples #39167
    Ben
    Customer

    What’s the process of renaming an app? I’m worried about breaking something by renaming the wrong file… Thanks

    in reply to: Text Alignment #32370
    Ben
    Customer

    Hi Yuri thanks for the reply. We need to keep the text editable via puzzles so have to keep them as text objects, and need the geometry to create a bevelled effect so haven’t been able to use a texture-based approach. Will see if we can find some other workaround, but would be great to see this feature added in future if ever possible. Thanks

    in reply to: Reference Objects from Appended Scene #21118
    Ben
    Customer

    Thank you

Viewing 8 posts - 1 through 8 (of 8 total)