wertt22's Forum Posts

  • canvas plug had problem when 3d scale change,and shader can,t use for zelevation mesh changed obj。。。

  • Physics behavior performance will likely be a lot better than your code - events are slow.

    > physic filter

    What does this mean?

    collsion filter, why event slow? use event can editor Custom physic code easy,like add collsion filter to obj

  • Is there a reason why you can't use Physics and the built-in collision detection?

    yes i had some reason

    1 performence 2 physic filter 3 understand the box2d code

  • How to achieve changes in the angle and position of an object, and how to determine physical contact

  • thanks for ashley and rhound,s answer

  • i have to reinstall all plug when addon lost。。。。。。

  • So I managed to to make a demo of realtime shadows between two cubes an a ground plane with a point light. It's using the shadow volume method using polygon clipping.

    https://www.dropbox.com/s/f9x1ov9fy7y7bpr/3d_shadow_volume.c3p?dl=1

    You can drag the cubes if you click on the the middle of them. The fireflies in the shadows are from Z-buffer precision limits. The edges show sometimes as well since the shadows are offset slightly to reduce z-fighting.

    To fit it into 25 events it's currently limited to just the two cubes and ground plane. However I think I can see at least one more event I can squeeze out of it so we could have any number of cubes after some refactoring, but that's for another day. Overall it was an interesting test, but to make it simple to use in general would require a lot more work.

    Anyways, cheers!

    EDIT:

    made it so you can add as many blocks as you want and added block color.

    nice jop!you use mesh creat everyting! real usefull!You're a math genius。

  • can we get point list (camera can see) for 3d model.and render point poly with black color to make 3d shadow ....

    use p black caculate p red

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • nice job

  • so we can make a 2d camera。。。。。。。。

  • i mean render 3d shape to 2d sprite so we can sortzorder by Y

    and use isometric camera but the 3dlayer is always on top of 2d layer

  • it's easy on other engine. can c3 do it. so we can make game easy.

  • solved c3 giveup http.......

  • You're probably running in to the cross-domain request security restrictions imposed by browsers (aka CORS). See the AJAX manual entry for more details.

    and resolve()function is exe here

    if (request.readyState === 4) {

    resolve()

    }