Forums > Jitter

[feature request: jit.gl.vertex] see example below-jit.gl.pix vs jit.gen in mesh


LLT
December 13, 2013 | 6:47 am

hello team cyclig74, do you intend to create a jit.gl.vertex object?

In the following example, I did a little test performance between jit.gl.pix and jit.gen with the same code. And a 300×300 matrix with the CPU (in this example) does not follow.
I know that is a pixel shader jit.gl.pix but it would be great to have a vertex shader to generate mesh with the GPU.

There are probably other ways to do the same with the most efficient CPU so but jit.gl.vertex would open new perspectives.

LLT


December 16, 2013 | 8:24 am

+ 1



JMC
December 17, 2013 | 12:59 pm

+1



LLT
December 30, 2013 | 3:22 am

we are only 3 to dream of a jit.gl.vertex?


December 30, 2013 | 8:14 am

thanks for the request. noted.



LLT
December 30, 2013 | 8:48 am

thank you for your attention rob, I’m nervous to see more.

jit.gl.vertex will do a lot of things.

and more jit.phys in the GPU too ;)


January 3, 2014 | 11:48 am

+1


January 3, 2014 | 10:40 pm

+1
Getting pixel and vertex shaders done in gen + export features would open up new worlds


January 4, 2014 | 6:58 am

+1


July 3, 2014 | 7:23 pm

+1


July 4, 2014 | 1:53 am

+1


July 4, 2014 | 4:13 am

+1000 ;-)

LLT, in your patch, if you’re benchmarking the two approaches, you should have turned off vsync in jit.window. Nice patch, by the way!


July 15, 2014 | 8:34 am

On my sample code,

jit.gl.pix’s cpu usage is more less than jit.gen’s.
but, jit.gen’s fps is larger than jit.gl.pix’s.

CPU usage
jit.gl.pix : 60% / jit.gen : 140%

fps(@sync 0)
jit.gl.pix : 70fps / jit.gen : 100fps

– Pasted Max Patch, click to expand. –
  • This reply was modified 2 weeks by  mirrorboy.

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