setting realistic video projection

Home Forums General Questions setting realistic video projection

This topic contains 5 replies, has 3 voices, and was last updated by Avatar abin 2 days, 3 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #15532
    Avatar
    abin
    Newbie

    Hello, I try to set a realistic video projection which looks like a animated light beam from a spot. I tested already this code: https://zjbcool.com/video-texture.html, but I am absolutely not satisfied with that effect. With this example I can’t fake properly a light and material transparency. So I was thinking maybe, there is a way to set animated GIF or sprite(for 800frames??) and add it to the spot lamp to get lightning effect which also project proper a geometry on the topology of mesh. What do you think?

    • This topic was modified 6 days, 3 hours ago by Avatar abin.
    #15547

    You can create a texture atlas of frames and animate it. You can put as much as you can frames as you want on such atlas, look ate the Industrial Robot demo for more informaton. Welding sparkls was made using this method.

    Co-founder and lead graphics specialist at Soft8Soft.

    #15551
    Avatar
    abin
    Newbie

    aha, interesting, I made already such a texture atlas, I call it sprite, but I think, I can’t find a way to project that as light on the wall. I add screenshot from the project, you can see that the video in the corner, dosn’t look like a realistic light projection, I search for solution to add the sprite to the lamp, because that room corner hat advanced topology and this what I did is just a very bad fake.

    I found on playcanvas possibility to add an image to the spot but now just looking for possibility add a sprite. https://developer.playcanvas.com/en/tutorials/light-cookies/

    • This reply was modified 5 days, 3 hours ago by Avatar abin.
    Attachments:
    You must be logged in to view attached files.
    #15685
    Avatar
    abin
    Newbie

    I found possibility to project the animated video directly from spotlight. I have a script which is working on playcanvas:

    Is it possible to work with this script on verge3d?

    #15686
    Yuri Kovelenov
    Yuri Kovelenov
    Developer

    Hi,

    I found this discussion on light cookies with three.js:
    https://stackoverflow.com/questions/38629599/how-to-implement-a-projector-with-a-cookie-in-three-js
    Might be of some help.

    Founder & CEO at Soft8Soft
    LinkedIn | FB | Twitter | VK | 新浪微博

    #15687
    Avatar
    abin
    Newbie

    :good: for me to difficult yet, but thank you so much for your fast response :rose:

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

You must be logged in to reply to this topic.