Welcome to Fractal Forums

Fractal Software => Synthclipse => Topic started by: _revers_ on September 10, 2014, 08:10:14 AM




Title: Synthclipse 0.9.6 released.
Post by: _revers_ on September 10, 2014, 08:10:14 AM
Synthclipse 0.9.6 released. Downloads. (http://sourceforge.net/projects/synthclipse/files/synthclipse-0.9.6/)

Changelog:
- Added Spout (http://spout.zeal.co/) sharing functionality on Windows (see screenshot below)
- Fixed rendering with custom Viewport size in JSX scripts
- Fixed block comments parsing inside a code
- Fixed GLSL Sandbox importer

(http://synthclipse.sourceforge.net/img/new/spout_receiver_mini..jpg) (http://synthclipse.sourceforge.net/img/new/spout_receiver.jpg)


Title: Re: Synthclipse 0.9.6 released.
Post by: cKleinhuis on September 10, 2014, 09:03:25 AM
super cool, thank you !


Title: Re: Synthclipse 0.9.6 released.
Post by: cKleinhuis on September 10, 2014, 09:25:49 AM
hi there, just tested the spout feature, it is working ... buuuuuuuut there is a little problem, because eclipse does not render in background, can i enable/disable application background behaviour ? same occured to me when rendering images in most cases it is ok to stay idle in background, but for rendering sequences and for spout output it has to continue render... ;)

the behaviour might somehow eclipse induced, funny thing is when i work on second screen eclipse continues rendering, but for the spout thing the second screen is my current video display, so i cant switch screens easily :(


Title: Re: Synthclipse 0.9.6 released.
Post by: cKleinhuis on September 10, 2014, 09:42:57 AM
lol, now i need to take a peak into your javascript examples, i would like to make some kind of slideshow playing various shaders one after another, i think i can it work out with the example script you have provided

but i wonder how parameters are handled, do they occur tab-by-tab in an extensive javascript script, and furthermore i wonder if javascript can display property sliders as well ;)


Title: Re: Synthclipse 0.9.6 released.
Post by: _revers_ on September 10, 2014, 11:02:33 AM
hi there, just tested the spout feature, it is working ... buuuuuuuut there is a little problem, because eclipse does not render in background, can i enable/disable application background behaviour ? same occured to me when rendering images in most cases it is ok to stay idle in background, but for rendering sequences and for spout output it has to continue render... ;)

the behaviour might somehow eclipse induced, funny thing is when i work on second screen eclipse continues rendering, but for the spout thing the second screen is my current video display, so i cant switch screens easily :(

I will investigate this in the evening.

lol, now i need to take a peak into your javascript examples, i would like to make some kind of slideshow playing various shaders one after another, i think i can it work out with the example script you have provided

but i wonder how parameters are handled, do they occur tab-by-tab in an extensive javascript script, and furthermore i wonder if javascript can display property sliders as well ;)

You need to tell Synthclipse that you want a tab with parameters (in the Uniform Controls View) for particular shader or JSX script. Using one of:

Synthclipse.createControls(JSFragxRenderer) (http://synthclipse.sourceforge.net/scripting/api/org/synthclipse/scripting/core/JSSynthclipse.html#createControls-org.synthclipse.scripting.core.JSFragxRenderer-) (example (http://sourceforge.net/p/synthclipse/code/ci/synthclipse/tree/org.synthclipse.examples/examples_jsx/III.%20Mixing%20Shaders/2.%20Shader%20Tiles/shader-tiles.jsx))

Synthclipse.createControls(GLSLProgram) (http://synthclipse.sourceforge.net/scripting/api/org/synthclipse/scripting/core/JSSynthclipse.html#createControls-org.synthclipse.scripting.gl.GLSLProgram-)  (example (http://sourceforge.net/p/synthclipse/code/ci/synthclipse/tree/org.synthclipse.examples/examples_jsx/II.%20Synth%20API/1.%20ProgramFactory/program-factory.jsx))

Synthclipse.createScriptControls() (http://synthclipse.sourceforge.net/scripting/api/org/synthclipse/scripting/core/JSSynthclipse.html#createScriptControls--) (example (http://sourceforge.net/p/synthclipse/code/ci/synthclipse/tree/org.synthclipse.examples/examples_jsx/III.%20Mixing%20Shaders/2.%20Shader%20Tiles/shader-tiles.jsx))

I see that there is a bug in the docs:
"Sets control parameters for a Uniform Control variables [...]"
is somehow missleading.

It should be:
"Creates tab with UI elements in the Uniform Controls View, that controls uniform variables [...]"
I will correct this later.


Title: Re: Synthclipse 0.9.6 released.
Post by: cKleinhuis on September 10, 2014, 11:34:43 AM
alright, thank you, so i have just another thing you could implement easily :) it is the "downscale" functionality found in mandelbulb3d, when working on a complex shader it is often enough to render a small view, e.g. 1920x 1080 is too big but the desired resolution, so when developing clicking on "/4" would render it just 480 times big, a downscale list "/2,/3,/4" and so on would be helpful, and furthermore a render size preset drop down ;)


Title: Re: Synthclipse 0.9.6 released.
Post by: _revers_ on September 10, 2014, 11:51:25 AM
Do you mean functionality that makes easier using buffer size:

(http://bankfotek.pl/image/1787120.jpeg)

like buttons "Double size", "Half size" and a Combo Box with presest sizes? All working without the need of recompiling a shader?
I could certainly do that in the next version.


Title: Re: Synthclipse 0.9.6 released.
Post by: _revers_ on September 19, 2014, 11:32:47 PM
(http://synthclipse.sourceforge.net/img/temp/buffer_size.png)

Looks fine? :)


Title: Re: Synthclipse 0.9.6 released.
Post by: cKleinhuis on September 19, 2014, 11:47:52 PM
great, but in my mind smaller sizes would just be implemented as factors, /2 /3 /4 of selected size, and always aspect ratio correct fitted into the preview window ;)
the presets in general are just fine, but overdesigned if smaller preview values would crumple up the list


Title: Re: Synthclipse 0.9.6 released.
Post by: _revers_ on September 20, 2014, 12:03:20 AM
"1/2 Viewport", "1/4 Viewport" and "1/6 Viewport" always maintain aspect ratio of the Viewport, as in Fragmentarium. Do you think I should also add 1/3 and 1/5 ratios? (I've taken 1/2, 1/4, 1/6 ratios from Fragmentarium, in which there are no other predefined ratios).

As of the fixed sizes, they are optional. By default there is none defined.
All seen in the screenshot: "128 x 80", "320 x 240", "640 x 480", "800 x 600", "1024 x 768" are user defined.