PDA

View Full Version : I could not have done it without Zscript



shineout
07-23-01, 10:07 PM
Hi ZBrushers, I have used ZScript to produce this image. I could not do it without ZScript. Feel free to post your Zscript experience.
http://www2.zbrushcentral.com/zbc_uploads0/user_image-995951123oma.jpg
spiral.txt (http://www2.zbrushcentral.com/zbc_uploads/user_file-995951210ejo.txt)

juandel
07-24-01, 03:50 AM
looks like a mega :cool: script, shineout! can’t wait to give it a try! thank you mucho! :D

juandel

WingedOne
07-24-01, 04:51 AM
Here's my first experiment with Zscripts.

http://members.dca.net/shinzaho/zbrush/SineWave.JPG
http://members.dca.net/shinzaho/zbrush/Sinewave.txt

Digits
07-24-01, 07:04 AM
Nice to see some scripts coming out of the woodwork! Here is an example of my spiral script from the soon to be released version 2 of my Digit's Widgets. Perhaps one of you math wizards can take a look at it and make it better.

http://www2.zbrushcentral.com/zbc_uploads0/user_image-995982966lzz.jpg

Here is the script to play with.

Digit_Widgets_Spiral_script.txt (http://www2.zbrushcentral.com/zbc_uploads/user_file-995982917rqz.txt)

http://www2.zbrushcentral.com/zbc_uploads0/user_image-995982869fuf.jpg


To get started, make an object, keep it active in Move,scale or Rotate.

With this script you can utilize a script marker as an origin, Position your object and press the Marker "Save" button. You can save more markers by pressing the "M+ M-" button to select a number.

There are two types of spiral here, one with Z-Type off and one with Z-Type on.

Enter # of iterations (say 60)
AnglePlier will multiply the spread (leave at 1 for now)

XYScale will modify the angle (6 to 15 is good)

ZSAngle for Z-Type Off can be -360 to +360 degrees

Shift will move the calc from xyz to zxy or yxz (play with this)

With Z-Type ON make sure that ZSAngle is very small (say +- 1 to 5) otherwise it will spiral right off the canvas :)

WingedOne
07-29-01, 09:04 PM
Here's a Zscript example using the rand function.

http://members.dca.net/shinzaho/zbrush/randboxes.JPG
http://members.dca.net/shinzaho/zbrush/Random.txt

Kruzr
07-29-01, 09:12 PM
Hey Shinzaho . . . That's pretty nifty. :)

Reminds me of when I was a passenger in a Cessna going over downtown Detroit Michigan, many years ago. All it needs is a river down there. ;)

Have a good one . . . :cool: Mark.