Title: new tech-demo: Parallax Mapping Post by: _revers_ on August 28, 2014, 12:22:11 AM I've added a new tech-demo: Parallax Mapping (http://synthclipse.sourceforge.net/demos/jsx_demos.html#Parallax_mapping).
I've also finally updated FAQ with the question: Why there is no Synthclipse perspective after first Eclipse startup? (http://synthclipse.sourceforge.net/faq.html#Why_there_is_no_synthclipse_perspective) Title: Re: new tech-demo: Parallax Mapping Post by: cKleinhuis on September 23, 2014, 02:05:40 AM nice example, paralax mapping is one of the coolest things gpus enable us ;)
nevertheless, i had no time to look into the jsx coding of synthclipse :( Title: Re: new tech-demo: Parallax Mapping Post by: _revers_ on September 23, 2014, 09:57:17 AM Yeah, parallax mapping is a cool effect. Height mapping in general is fun, like for example generating terrain from a noise texture or function.
JSX scripts aren't hard to write. The best way to learn how to do it is to examine/read examples from the main menu "Synthclipse -> JSX examples...". In every script, in header comment, there are references to the documentation of particular classes used in it. (http://synthclipse.sourceforge.net/scripting/api/index.html) If you have any problems or questions, just let me know. I'll try to help you. Title: Re: new tech-demo: Parallax Mapping Post by: cKleinhuis on September 23, 2014, 10:23:26 AM yeah, i have not a concrete idea for what it would be useful to use
the only thing i can imagine for what it could be useful is to have more than a single time variable that the script depends on, because for the stuff i do i want to change some speeds without changing current view, e.g. if a time*timeFactor part of the script controls a certain rendering, if one changes the "speed" variable the result jumps around because it is only dependent of the "time" variable so, for changing speeds an external "count" variable has to be maintained without chaning its value when speed changes, this is something i need for vjing stuff,to change speeds of certain parameters, which is what such a jsx script could handle Title: Re: new tech-demo: Parallax Mapping Post by: _revers_ on September 23, 2014, 11:52:10 AM Do you mean functionality like below? Suppose we have following uniform variable in SomeShader.stoy file: Code: uniform float MyTime; JSX script then could set it using some Timer like this: Code: var fragxRenderer = null; It is not working code in current Synthclipse version. I just want to know is it conceptually what you would like to achieve? |