mcjS_Shapes_TypeA
Introduction
_________________________________________I created some S Shaped animation paths using the Daz Script script shown below
then i used mcjTransport to create tubes that follow those paths
then i rendered them as 180 80x800 pixels PNGs
and that's what you get here !
History
_________________________________________October 30th 2015 5:30am - Release
Installation
_________________________________________Download the Zip Package found at the bottom of this page
Unzip it into your daz studio content folder
typically :
C:\program files\daz\studio\content\
or
C:\Users\YOURNAME\Documents\DAZ 3D\Studio\My Library
once installed the 360 PNG images
will be in content/Runtime/Textures/mCasual/S_Shapes_TypeA
The 180 material presets will be in your Content library under
content/Shaders/mcasual/S_Shapes_TypeA
Use
_________________________________________select an object in the scene, typically a Primitive-Plane
apply one of the 180 material presets found in your library under
content/Shaders/mcasual/S_Shapes_TypeA
note, the 180 Diffuse color maps are in the folder
content/Runtime/Textures/mCasual/S_Shapes_TypeA
and are named A000.PNG, A001.PNG ... A179.PNG
they all contain an alpha/transparency layer
But since Daz Studio doesnt use those alpha layers
i also included alpha/opacity maps
named xA000.PNG, xA001.PNG ... xA179.PNG
You have entered the nerd room
_________________________________________Here is the script i used to create the animated paths that were
then used by mcjTransport to created the tubes ( morphs actually )
The line that reads "var step = 34 .... " is what sets the animation pattern
i used values 0 to 180 but there's probably interesting shapes to find using fractions
As you can see, it's the object ( usually a null node ) named Spline that will be animated
so you need something labeled Spline in your scene
TEXT BOX
var tick = Scene.getTimeStep();
var node = Scene.findNodeByLabel( "Spline" );
var pi = Math.PI;
var step = 34 * pi / 180; //<< try 32 degrees
var p = node.getWSPos( 0 );
var r = node.getWSRot( 0 );
var a = 0
var Y = DzVec3( 0, 1, 0 );
var rerot = Y.getRotationTo( DzVec3( Math.sin(a), Math.cos(a), 0 ) )
for( var fr = 0; fr <= 720; fr++ )
{
t = fr * tick;
node.setWSPos( t, p );
r = r.multiply( rerot )
p = p.add( r.getYAxis() )
a = a + step;
rerot = Y.getRotationTo( DzVec3( Math.sin(a), Math.cos(a), 0 ) )
}
License
_________________________________________by mCasual/Jacques
You can use this prop freely for personal or commercial use.
you may credit this prop to mCasual/Jacques
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.