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.

Freestyle

Home Forums Graphics / Blender Freestyle

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #7528
    jbetbe
    Customer

    Hi community,
    I’m going to try some work where it’s needed to achieve a canvas that looks like cartoon, 2D drawings, blue-print. Has someone tried it. Is it possible to make some kind of freestyle view in Verge?

    Thanks.
    Kind regards.

    #7529

    I’m going to try some work where it’s needed to achieve a canvas that looks like cartoon, 2D drawings, blue-print. Has someone tried it. Is it possible to make some kind of freestyle view in Verge?

    You can achieve different cartoon-like effects on materials, like sharp shading, solid colors and etc, but there’s no outline rendering in Verge. You can post the request of such feature in the Bugs and Requests forum.

    Co-founder and lead graphics specialist at Soft8Soft.

    #7531
    jbetbe
    Customer

    Hi Mikhail,
    Thanks for your answer. I’ll post it in other forum.

    #7579
    jbetbe
    Customer

    Hi,

    I’m still working to achieve some “drawing” designs but It doesn’t work what I’ve done. It looks good in Blender Internal but it doesn’t in Verge.
    I did some primitive demo :scratch: I’ll send you.
    I’ve found the following example in three.js but I don’t know where exactly put it in my App http://stemkoski.github.io/Three.js/Outline.html
    It seems to be this:
    `var outlineMaterial1 = new THREE.MeshBasicMaterial( { color: 0xff0000, side: THREE.BackSide } );
    var outlineMesh1 = new THREE.Mesh( sphereGeometry, outlineMaterial1 );
    outlineMesh1.position = sphere.position;
    outlineMesh1.scale.multiplyScalar(1.05);
    scene.add( outlineMesh1 );
    Where sphere and sphereGeometry are close to one of the objects in the scene.
    It’s written inside the .html file but in Verge we have a different file for it, where it’s referenced the entire scene, not the object aside, isn’t it?

    Thanks.

    #7584

    Hi,

    You can put this code inside the runCode function of your app js file. Then use
    var object = app.scene.getObjectByName("objectName");
    to find an original object.

    Chief 3D Verger | LinkedIn | Twitter

    #7586

    I’m still working to achieve some “drawing” designs but It doesn’t work what I’ve done. It looks good in Blender Internal but it doesn’t in Verge.

    Yes, Ramps are not supported on simple material, instead of that try to use Color Ramp in node material. Here’s an example for you.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft.

    #7616
    jbetbe
    Customer

    Hi Mikhail, I managed a good material with your indications, it looks quite good.
    But Yuri I was trying to change and copy some code to the runCode but nothing seems to happen. :scratch:
    But at least as I said, I work with a good material and adding a new one in some edges I could achive an acceptable effect.
    It will be nice to add the outline in an easy way or I should put the right code for it.

    Thanks

    #7620

    Hi,

    Just in case, couldn’t the post-process outline effect which is currently available in Verge3D work for you? https://www.soft8soft.com/docs/#manual/introduction/Puzzles.outline

    It can be seen in action in our teapot heater demo.

    Chief 3D Verger | LinkedIn | Twitter

    #7637
    jbetbe
    Customer

    Hi Yuri,
    I’ve tested it but it’s not the outline effect I’m trying out and black or darker colors don’t work.
    This is the reason why I’m asking about freestyle.
    I’ve managed it painting some edges :yahoo: I show you some demo with a simple cube.

    Thanks for your help.

    #7645

    Great you figured it out! :good:

    Chief 3D Verger | LinkedIn | Twitter

    #7685
    jbetbe
    Customer

    Thanks 😊👍

    #21392
    justin_blender
    Customer

    Hi Yuri,
    I’ve tested it but it’s not the outline effect I’m trying out and black or darker colors don’t work.
    This is the reason why I’m asking about freestyle.
    I’ve managed it painting some edges :yahoo: I show you some demo with a simple cube.

    Thanks for your help.

    Hi! Would you mind sharing the way you found the solution? I am very interested too! Thanks! :bye:

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.