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.

Verge3D 3.4 pre1 available!

Home Forums Official Announcements Verge3D 3.4 pre1 available!

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #31801
    Yuri KovelenovYuri Kovelenov
    Developer

    We are beginning a new release cycle! Here is the first portion of features that will be included in Verge3D 3.4:

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31802
    Yuri KovelenovYuri Kovelenov
    Developer

    Multi-line and Script Puzzles

    A puzzle for typing multi-line text is now available in the Text category. It can be used with all puzzles that accept text as input.

    We also implemented a puzzle for executing JavaScript, available from the Advanced category. Coupled with the above-mentioned multi-line puzzle, it allows you to use line numbering and syntax highlighting when editing your code.

    Blender-Specific

    You can now create custom real-time shaders using the Open Shading Language (OSL). This experimental (for now) feature can be enabled in Blender in the Scene tab by switching to Cycles first and then turning on the corresponding checkbox:

    As a result, you’ll be able to use the Script node in your material.

    The shaders themselves can be written using OSL code, or borrowed from some shader library. For example, here is how the code for the 3ds Max’ checker shader looks like:

    3ds Max-Specific

    We continued our work on supporting OSL shaders. For this update, we supported the OSL node called HDRi Environment (3ds Max 2021 only). This node allows to create environment lighting with custom background and ground surface. Uber Bitmap is another OSL node supported for this update.

    Also, a new OSL-to-GLSL converter is now used in the exporter. It now works more robustly and generates more compact code.

    Arnold’s node Map to Material is now supported. This node allows you to create custom shaders by using Maps.

    The option in the Export Settings called Export within playback range now correctly works.

    We fixed a rare exporter crash when a mesh without vertices, which at the same time has a UVW Map modifier applied, is present in the scene.

    Other Improvements

    The set style and set attribute puzzles now work in IE 11.

    The replace texture and get texture param puzzles now correctly work with video textures.

    The JavaScript method Material.toJSON() no longer crashes with node-based materials.

    We added a new chapter to the User Manual where we outlined some hardware limitations you may encounter when creating your scenes. At the moment, it provides clarifications with regard to the “Too many attributes” error.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31803
    Yuri KovelenovYuri Kovelenov
    Developer

    As usual, you can grab the preview bundle from the downloads page!

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31804
    core3dcore3d
    Licensee

    Awesome! Thanks.

    #31814
    Avatarweb
    Licensee

    Thank you very much, for this release. Will test it asap.

    I was wondering because of the videoPuzzle stuff:
    The replace texture and get texture param puzzles now correctly work with video textures.

    I updated the app and resaved the puzzle logic. But I cant see any changes in the corresponding puzzles. Is this fix implemented in the v3d.js? Because Ivan said that this is a puzzle based issue.

    Edit:
    Think I found it. It seems to be in the “matGetEditableTextures” function

    • This reply was modified 1 month ago by Avatarweb.
    #31829
    Yuri KovelenovYuri Kovelenov
    Developer

    Think I found it. It seems to be in the “matGetEditableTextures” function

    glad it’s working for you!

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31865
    GlifTekGlifTek
    Licensee

    I was FLOORED when I saw the new JS script text puzzle. :yahoo:

    Wowowow!

    Thanks guys, for making things easier for the development flow!
    :good:

    EDIT: do variables still have to be “passed” to the javascript text funciton as they would in Call JS app.ExternalInterface, or can they be referenced just as you would in puzzles?

    • This reply was modified 1 month ago by GlifTekGlifTek.
    #31876
    Yuri KovelenovYuri Kovelenov
    Developer

    EDIT: do variables still have to be “passed” to the javascript text funciton as they would in Call JS app.ExternalInterface

    yep!

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31879
    GlifTekGlifTek
    Licensee

    EDIT: do variables still have to be “passed” to the javascript text funciton as they would in Call JS app.ExternalInterface

    yep!

    yuri,
    how does one do that?

    if I’m sending a call JS, i simply include it in the “with”.

    when i concatenate two new script text blocks with a variable between, it gives the entire value (which looks like a useful technique elsewhere).

    how can one not use call js, use the new txt script puzzles, and still include the variables.

    do you have to bounce them to a call js that just takes it then returns it?

    thanks!

    #31891
    Yuri KovelenovYuri Kovelenov
    Developer

    how can one not use call js, use the new txt script puzzles, and still include the variables.

    you can save your variable in some global namespace, for example, or even to window namespace.

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31893
    GlifTekGlifTek
    Licensee

    how can one not use call js, use the new txt script puzzles, and still include the variables.

    you can save your variable in some global namespace, for example, or even to window namespace.

    hi yuri,
    so do you mean do that through a call js?
    pass a puzzleVar in a call js “with” …to an externalInterface function
    then give a window.globalVar… that passed puzzleVar as value…
    then it’s accessable in the new script text puzzle code?

    #31894
    GlifTekGlifTek
    Licensee

    yep that’s exactly what you mean.
    got it…
    a

    with

    console output:
    “window.puzzleVarGlobal from ExternalInterface: foo
    window.puzzleVarGlobal from Script puzzle: foo”
    :good:

    … maaaaayybee make a special Variable puzzle that makes global variables so people don’t have to do this with every variable they want to use in the script? (could do it in bulk i guess)

    the script text puzzle is great. :heart:

    • This reply was modified 4 weeks, 1 day ago by GlifTekGlifTek.
    Attachments:
    You must be logged in to view attached files.
    #31898
    Yuri KovelenovYuri Kovelenov
    Developer

    we’ll think about it!

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31899
    GlifTekGlifTek
    Licensee

    we’ll think about it!

    a settings gear “with” for the exec puzzle like call js would be rad too.

    • This reply was modified 4 weeks, 1 day ago by GlifTekGlifTek.
Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.