Search found 32 matches

by kemarofangs
01 Apr 2017, 05:18
Forum: General Discussion
Replies: 31
Views: 7523

Re: Effects

How far into the future will the implementation of the effects be? Will HLSL pixel shader version 3 (PS_3) be used? I ask because I need to know if it's worth waiting or I should just stick to WPF until it is implemented. Thanks
by kemarofangs
27 Mar 2017, 19:37
Forum: General Discussion
Replies: 3
Views: 1028

Re: How do I create a new GeometryCollection from code?

I think they have worked on geometry classes some but there is a lot of support missing. I had put in a feature request but never got around to testing their resolution yet (as of 1.2.6f6 version). This concerned reading simple geometry data in the xaml from the code behind. Issue Tracker <Path x:Na...
by kemarofangs
23 Mar 2017, 22:48
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

Is there a way to get a RenderTexture from an existing FrameworkElement? I can call this from unity to process the shader effect. Graphics.Blit(renderTexture_source, renderTexture_destination, material); I'd like to reference a FrameworkElement's texture at the current frame as the source RenderText...
by kemarofangs
23 Mar 2017, 20:55
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

Hey, I've almost got a test case working but need some more help. I can assign a blank rendertexture to the material shader but do not know how to assign "frameworkElement" as the unprocessed starting image. Do I need to populate the renderTexture with the starting image (frameworkElement > {CODE MA...
by kemarofangs
07 Mar 2017, 19:13
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

Yeah that 15% is abysmal for only one small effect. I can't use the color mask approach.

So is this what I need to do...
1) Learn to make a pixel shader (HLSL files)
2) Assign said pixel shader file to a texture2d material.
3) Pass the texture2d to noesis via a RenderTexture.
by kemarofangs
05 Mar 2017, 20:28
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

Thanks for the help. I have plenty of ideas and methods now at least. The color mask solution works but uses around 15% cpu at the moment for a realistic looking fire effect. Once I integrate the other pieces of my project I'll check the performance again and move to a pixel shader approach if I see...
by kemarofangs
02 Mar 2017, 07:51
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

It's late but looking at the unity side involving texture2d I've come up with some code to test for tomorrow. private UnityEngine.Texture2D m_texture2d = null; private Noesis.ImageBrush m_imageBrush = null; /// <summary> /// Important! /// Texture has to be set as read only in order to manipulate pi...
by kemarofangs
02 Mar 2017, 06:10
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

I figured out how to make a color mask and the code below does work in unity -> noesis. This example uses a texture atlas (Just alter the viewbox to change sub textures). Haven't tested speed yet with many copies of this. I'll look at the rendertexture thread about the spaceboy example in the meanti...
by kemarofangs
27 Feb 2017, 02:29
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

This paragraph will explain how I'm currently using unity and noesis. I don't know if I'm using it properly but deperately needed a useful vector graphics based platform as unity's graphics system is in my opinion terrible and vector unfriendly. I'm really only using unity as a platform publisher. I...
by kemarofangs
26 Feb 2017, 23:30
Forum: General Discussion
Replies: 19
Views: 4924

Re: Particle Effects And Bitmap Pixel Manipulation

I'm using unity. The images are already made. I just need to alter the single color that makes up an image each frame. Here is the guide I was going by http://martincrownover.com/gamemaker-examples-tutorials/particles-fire/. The guide is using gamemaker but the algorithms and process would be the sa...