HenryPeng

How could i show particle on canvas2d

Recommended Posts

There's this Primitive I have to code which basically will display the content of a Scene through a given Camera. You're the third to need that so I guess I should put it on the top of my list now!

Do you think that such kind of primitive would answer your need?

Share this post


Link to post
Share on other sites

@HenryPeng @MasterK @stormwarestudios There's a SceneViewer2D Primitive under development right now. Basically you will be able to display a Scene's content (through a given Camera) or simply a Mesh inside a Rectangle based primitive.

There's a Trello Card for this. @Sebavan is the one in charge of the "SceneTexture" component that will allow to render a Scene content inside a Texture. Then I will use this to render the content inside the primitive. Sebavan is quite busy lately and I'm waiting for him. I'll keep you guys posted when significant progress will be made, but I just wanted you to know that "it's on his way".

Share this post


Link to post
Share on other sites

I think something like rendering group is more directly.

just dont limit screen canvas rendering on top. let it can seperate two rendering group. so that 3d mesh or particles can be display on top of screen canvas.

I don't think SV2D is very common. Like texture to rendering video is not common too.

Share this post


Link to post
Share on other sites
1 hour ago, MasterK said:

I think something like rendering group is more directly.

just dont limit screen canvas rendering on top. let it can seperate two rendering group. so that 3d mesh or particles can be display on top of screen canvas.

I don't think SV2D is very common. Like texture to rendering video is not common too.

I'm not sure I understand, so tell me if I'm correct or not: you would like to have three rengerGroup:

  1. The Game Scene
  2. The Screen Canvas
  3. UI Fx like particles rendered on the top of 2.

This is what you want?

Share this post


Link to post
Share on other sites
11 hours ago, Nockawa said:

I'm not sure I understand, so tell me if I'm correct or not: you would like to have three rengerGroup:

  1. The Game Scene
  2. The Screen Canvas
  3. UI Fx like particles rendered on the top of 2.

This is what you want?

Yeah~ almost.

anyway the different renderingGroups has independent render flow. just make screenCanvas as a renderingGroup. Let users to decide which level should screenCanvas be rendered. 

That way I needn't use second html canvas to show something on screenCanvas...

or needn't worldScreenCanvas to pretend screenCanvas so that particle or 3d mesh can display on UI(WSC).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.