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.

Sargento

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Annotations Occlusion #19815
    Sargento
    Participant

    If you need a fixed position element, that’s easy as well:
    – Crate the HTML element on your html document.
    – Position it at the center of the canvas ( using CSS, as usual ).
    – Use any 3D objects as button. Just like any html/js web document. There is the Events/when clicked puzzle to do that.
    – On that puzzle there is a do connector. You can use a HTML/set style puzzle to show (unhide) the html element.

    in reply to: Annotations Occlusion #19674
    Sargento
    Participant

    I’m sending you a ZIP file. Just extract it inside verge3D/applications folder.

    I added 2 empties: EmptyAnnotation and EmptyHTML in the scene.
    Created an HTML element inside the html document (image included).
    Then added the puzzles (image included).

    Hope this helps.

    Regards.

    :good:

    in reply to: Annotations Occlusion #19673
    Sargento
    Participant

    You should use HTML/bind puzzle to do that.
    First, you have to create the element using HTML inside your HTML document. You can use CSS as well to adjust its appearance. Don’t forget to assign an unique ID to that element.
    Create another object inside your 3D scene (could be an empty object) then use the HTML/bind puzzle to attach the HTML object to the 3D object.
    It’s pretty easy. :)

    in reply to: Annotations Occlusion #19031
    Sargento
    Participant

    I had to separate objects and modify boundaries to get a better result about fading annotations for this project. Now I’m happy with the results.

    Have a question: annotation opacity varies from 1 (when visible) to 0.25 (when occluded). I was wondering if it is possible to modify opacity to 0.0 when occluded.

    Regards.

    in reply to: Annotations Occlusion #18988
    Sargento
    Participant

    Agreed that it would be a good addition. However, this CSS property would disable mouse clicks as well, making annotations non-expandable.

    That’s true. Didn’t think about it as I’m not using mouse events. :scratch:

    Actually I disabled fade annotations as it looks better for this project.

    Thanks.

    in reply to: Annotations Occlusion #18945
    Sargento
    Participant

    This is what I’m working on for testing purposes: A Bird’s house https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:33210a9027/applications/sgt_Casa_Pajarera_01/sgt_Casa_Pajarera_01.html

    I noticed that mouse wheel (zoom) doesn’t work when hovering an annotation, so I added the next CSS text to the v3d-annotation CSS class: pointer-events: none;

    I think that that CSS rule should be added when inserting the annotation puzzle as well as the current rules.

    in reply to: Relative Position from Camera #18780
    Sargento
    Participant

    OK, I see.
    I think that would be a great addition.

    Thanks.

    in reply to: Relative Position from Camera #18738
    Sargento
    Participant

    In other words: I need the same behavior as the full-screen button but with a 3D object included in the scene.

    in reply to: Verge3D 2.14 pre3 available! #17924
    Sargento
    Participant

    Beautiful news. :good:

    in reply to: Verge3D 2.14 pre1 & pre2 available! #17716
    Sargento
    Participant

    Nice!!!! :yahoo:

    in reply to: Current Object #17141
    Sargento
    Participant

    I just noticed the existence of Current Object puzzle. :)

    It’s called Hovered Object and Picked Object.
    I’m still using the same structure, but instead of using the string generated I’m using the Hovered Object puzzle.

    It works perfectly inside a foreach loop. :yes:

    Thanks.

    in reply to: Current Object #16981
    Sargento
    Participant

    Here’s an image of the puzzles used:

    in reply to: Tinted Glass #16954
    Sargento
    Participant

    I’m really impressed with the new reflections added in 2.13.1 version. Now have reflections on curved surfaces. That’s a great addition. :good:

    When a refraction/reflection puzzle is applied, the object with the material selected in the puzzle doesn’t cast shadows anymore.
    I’ve placed another object (a little smaller) at the same position with a different material, an Alpha of 0.0 and Alpha Blend as Blend Mode and it does the trick. Now I get the shadows back. This trick works with refraction/reflection and simple refraction puzzles.

    Is it possible to keep the shadows when using any of those puzzles?

    Thanks.

    in reply to: Tinted Glass #16907
    Sargento
    Participant

    I just used Simple Refraction puzzle with Refraction BSDF shader and is exactly what I needed. It works like a charm. A tinted flat glass with refraction!! It’s a great addition to Verge3D. :good:

    The only issue I found is that materials with Reflection puzzle aren’t rendered through Simple Refraction.

    in reply to: Verge3D 2.13 for Blender is out! #16905
    Sargento
    Participant

    Do you have a demo file or tutorial with Simple Refraction puzzle in action?
    Or what are the steps to make it work?
    I’ve trying to use it with no success.

    Regards.

    UPDATE: Nevermind, I got it :good:
    I just needed to use Refraction BSDF material for that.
    It works great!!

Viewing 15 posts - 1 through 15 (of 18 total)