_revers_
|
|
« on: August 27, 2014, 03:28:53 PM » |
|
Synthclipse 0.9.4 released. Downloads.Changelog: - Added Frame Stepper buttons in the Rendering View (see screen below). - "Preferences -> General -> Workspace -> Save automatically before build" now works as expected (no more "Do you want to save?" dialog before launching). - Added synth_CameraPosition uniform (same as "Eye" uniform - it is just alias). - Fixed refreshing texture issue when loading presets - Checkbox Uniform Controls are now toggled when clicking anywhere within control space (not only by clicking on a checkbox) - Fixed Shadertoy import of textures tex14.png, tex15.png (they use different filter and wrap mode than default) Here are screenshots of a new Frame Stepper: To the buttons "Previous animation frame" and "Next animation frame" a key shortcuts can be bound (via "Window -> Preferences -> General -> Keys").
|
|
|
Logged
|
|
|
|
cKleinhuis
|
|
« Reply #1 on: August 27, 2014, 03:48:08 PM » |
|
awesome, thank you for these quick fixes
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
cKleinhuis
|
|
« Reply #2 on: August 30, 2014, 03:34:30 AM » |
|
working fine!
now what occured to me is that
-the parameters of the current edited shader are reseted after new compile, it would be nice to just keep current parameter - single frame stepping at ends shall modulo to zero (for checking loops frame by frame)
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
cKleinhuis
|
|
« Reply #3 on: August 30, 2014, 12:46:17 PM » |
|
control/timeline: - options after build: "pause" <-just recompile and rerender current picture
|
|
« Last Edit: August 30, 2014, 01:23:25 PM by cKleinhuis »
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
_revers_
|
|
« Reply #4 on: August 30, 2014, 06:22:41 PM » |
|
I will implement these features in Synthclipse 0.9.5. It will be released next week.
|
|
|
Logged
|
|
|
|
cKleinhuis
|
|
« Reply #5 on: August 30, 2014, 06:52:52 PM » |
|
just tried export to shadertoy, i get an "null pointer" error when trying to export
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
_revers_
|
|
« Reply #6 on: August 30, 2014, 10:38:40 PM » |
|
Could you give me an Exception Stack Trace from that event? To get it open the Error Log view, find proper error event and double click on it. Event Details dialog will appear. Copy the Exception Stack Trace from it and post it here or send it via PM to me. Although I don't have erros when exporting Shadertoy shaders, I see that there are definitely some other bugs in it. I need to fix them anyway.
|
|
|
Logged
|
|
|
|
cKleinhuis
|
|
« Reply #7 on: August 31, 2014, 12:16:31 AM » |
|
here you go:
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
_revers_
|
|
« Reply #8 on: August 31, 2014, 08:37:07 AM » |
|
Could you please copy only the whole Exception Stack Trace text? On the screenshot you've provided there is visible only the top most Exception. Real source Exception is usally on the bottom of the Stack Trace.
|
|
|
Logged
|
|
|
|
cKleinhuis
|
|
« Reply #9 on: August 31, 2014, 08:45:25 AM » |
|
this is it java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:423) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1059) at org.synthclipse.ide.wizards.ExportShadertoyWizard.performFinish(ExportShadertoyWizard.java:111) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.jface.window.Window.runEventLoop(Window.java:832) at org.eclipse.jface.window.Window.open(Window.java:808) at org.synthclipse.ide.IDEHelper.openWizard(IDEHelper.java:854) at org.synthclipse.ide.handlers.ExportShadertoyHandler.execute(ExportShadertoyHandler.java:24) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:825) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:701) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.java:685) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:613) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) Caused by: java.lang.NullPointerException at org.synthclipse.core.gl.parser.CodeCleanerParser.appendUniforms(CodeCleanerParser.java:369) at org.synthclipse.core.gl.parser.CodeCleanerParser.parse(CodeCleanerParser.java:341) at org.synthclipse.core.shadertoy.ShadertoyExporter.export(ShadertoyExporter.java:45) at org.synthclipse.ide.wizards.ExportShadertoyWizard.exportFile(ExportShadertoyWizard.java:157) at org.synthclipse.ide.wizards.ExportShadertoyWizard.access$0(ExportShadertoyWizard.java:151) at org.synthclipse.ide.wizards.ExportShadertoyWizard$1.run(ExportShadertoyWizard.java:127) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) Root exception: java.lang.NullPointerException at org.synthclipse.core.gl.parser.CodeCleanerParser.appendUniforms(CodeCleanerParser.java:369) at org.synthclipse.core.gl.parser.CodeCleanerParser.parse(CodeCleanerParser.java:341) at org.synthclipse.core.shadertoy.ShadertoyExporter.export(ShadertoyExporter.java:45) at org.synthclipse.ide.wizards.ExportShadertoyWizard.exportFile(ExportShadertoyWizard.java:157) at org.synthclipse.ide.wizards.ExportShadertoyWizard.access$0(ExportShadertoyWizard.java:151) at org.synthclipse.ide.wizards.ExportShadertoyWizard$1.run(ExportShadertoyWizard.java:127) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
_revers_
|
|
« Reply #10 on: August 31, 2014, 10:09:50 AM » |
|
Thank you. This is very helpful.
|
|
|
Logged
|
|
|
|
cKleinhuis
|
|
« Reply #11 on: September 02, 2014, 08:09:53 AM » |
|
i have found another oddity some uniform controls are rendered inactive, for example is not slideable for me, i have not really figured out what causes it, but i get at most one editable slider parameter uniform float BPM=120; //! slider[1, 120, 240]
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
|
cKleinhuis
|
|
« Reply #13 on: September 02, 2014, 10:04:12 AM » |
|
i just read it in the documentation as well, right, its a feature and its working when i used the variable it became editable
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
cKleinhuis
|
|
« Reply #14 on: September 02, 2014, 10:08:28 AM » |
|
in fact i have so much fun with that ide, even code hinting works (ctrl-space) and what astonished me was that even code formatting works very nicely (CTRL-SHIFT-F) awesome tool!
can you explain how various importers/exporters work, i mean what is done with includes in fragmentarium i did not import anything yet, are includes copied as well ? and how is the shadertoy exporter meant to work ? does it create a single file out of various includes?
regarding shadertoy i experienced that shadertoy is having a much more strict syntax, e.g. "1" is not interpreted implicitly as float, one need to manually make it a "1.0" to make it work in shadertoy is there a more strict compile mode available in synthclipse ?! usually the more strict modes are sometimes annoying but in general i would use them just to get the most compatible piece of code out of it...
|
|
|
Logged
|
---
divide and conquer - iterate and rule - chaos is No random!
|
|
|
|