Digital Art Zone

 
   
1 of 2
1
Breast bounce script for DAZ Studio 4.5
Posted: 08 April 2013 03:47 PM   [ Ignore ]
New Member
Avatar
Total Posts:  21
Joined  2003-10-24

Hi, I have enjoyed in the DAZ Studio always.

I wrote a script that shake the breast.

This script is to calculate the vibration damping based on the movement of the bone, to set the parameters of the morph.
The script may have a bug, but I want you to try out if you’re interested.

detail
http://amarijun.wordpress.com/2013/04/08/daz-studio-script-damped-oscillation-simulator/

Image Attachments
DFSimScreen.JPG
 Signature 

BLOG : Vectorized nature

Profile
 
 
Posted: 08 April 2013 05:12 PM   [ Ignore ]   [ # 1 ]
Active Member
RankRank
Total Posts:  903
Joined  2009-12-07

Wow, absolutely brilliant. It looks useful for waaaay many more things than just bobbies grin

Hair, skirts etc. Perhaps a first step towards soft-body physics in Studio?

Thank you I am going to play with it.

 Signature 

PoseMaster for DAZ Studio and PoseMaster People Pack now sold at Rendo.

Profile
 
 
Posted: 08 April 2013 05:16 PM   [ Ignore ]   [ # 2 ]
Addict
Avatar
RankRankRankRank
Total Posts:  2673
Joined  2011-12-10

cridgit, if you have time, please post anything you can on results with this smile

 Signature 

My DeviantArt Galleries
My ShareCG Gallery
OPENSUBDIV Testing and Discussion
3Delight Surface and Lighting Thread

Profile
 
 
Posted: 08 April 2013 05:25 PM   [ Ignore ]   [ # 3 ]
Power Member
Avatar
RankRankRank
Total Posts:  1589
Joined  2011-11-16

Any chance of getting this to work in Daz 4.0?

Profile
 
 
Posted: 08 April 2013 05:34 PM   [ Ignore ]   [ # 4 ]
Active Member
RankRank
Total Posts:  903
Joined  2009-12-07

Been playing for 10 mins but you need to type in the internal name of the property which makes it very hit and miss, because you need to go into the property editor to find out what the name of the property is. I haven’t had mush luck yet.

Some suggestions to improve the script (I think it has HUGE potential):
- Provide drop-down list of figures / properties (I was trying a scene where Laurel kicks Hardy’s butt and Hardy’s butt shows the impact of the kick). But I couldn’t get the figures or property names right.
- Provide a start / end frame (I might only want to apply the script for one small part of the animation sequence, e.g. only when Laurel’s fott makes contact with Hardy’s butt).

I’ll post more suggestions when I’ve played more.

 Signature 

PoseMaster for DAZ Studio and PoseMaster People Pack now sold at Rendo.

Profile
 
 
Posted: 08 April 2013 05:36 PM   [ Ignore ]   [ # 5 ]
Active Member
RankRank
Total Posts:  903
Joined  2009-12-07
Tramp Graphics - 08 April 2013 05:25 PM

Any chance of getting this to work in Daz 4.0?


It won’t work if it has been encrypted in DS4.5 (which it hasn’t).

It might work if it hasn’t used the new API in DS 4.5 (the API’s were re-written for 4.5). You should try it.

 Signature 

PoseMaster for DAZ Studio and PoseMaster People Pack now sold at Rendo.

Profile
 
 
Posted: 08 April 2013 05:42 PM   [ Ignore ]   [ # 6 ]
Power Member
Avatar
RankRankRank
Total Posts:  1589
Joined  2011-11-16
cridgit - 08 April 2013 05:36 PM
Tramp Graphics - 08 April 2013 05:25 PM

Any chance of getting this to work in Daz 4.0?


It won’t work if it has been encrypted in DS4.5 (which it hasn’t).

It might work if it hasn’t used the new API in DS 4.5 (the API’s were re-written for 4.5). You should try it.

OK. Second question: is this only for animations or can it be used for “still” renders.

Profile
 
 
Posted: 09 April 2013 05:59 AM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  15803
Joined  2003-10-09
cridgit - 08 April 2013 05:34 PM

Been playing for 10 mins but you need to type in the internal name of the property which makes it very hit and miss, because you need to go into the property editor to find out what the name of the property is. I haven’t had mush luck yet.

You can get the name of the property by clicking the gear icon on its slider, opening the Parameter Settings dialogue box, and copying the content of the Name field.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 09 April 2013 06:24 AM   [ Ignore ]   [ # 8 ]
Power Member
Avatar
RankRankRank
Total Posts:  2304
Joined  2006-01-19

mcjHIDKit has unencrypted source code for filling a listView with a figure’s properties

a while ago i made an effect similar to this using delay/lag but it didn’t bounce ! so there’s progress (scientific ) progress right there smile

Profile
 
 
Posted: 09 April 2013 07:29 AM   [ Ignore ]   [ # 9 ]
Active Member
Avatar
RankRank
Total Posts:  766
Joined  2012-07-21

Very, very interesting !!
Thanks for sharing, I hope to find some time tomorrow to try this.

 Signature 

my freebies at ShareCG
my store at DAZ3D

Profile
 
 
Posted: 09 April 2013 08:21 PM   [ Ignore ]   [ # 10 ]
Active Member
Avatar
RankRank
Total Posts:  679
Joined  2012-02-06

Thank you so much for sharing this!  It’s definitely something I’ll have to try tongue laugh

 Signature 

LuxCompagno at deviantart

Profile
 
 
Posted: 10 April 2013 11:33 PM   [ Ignore ]   [ # 11 ]
New Member
Avatar
Total Posts:  21
Joined  2003-10-24

just updated to 0.4

add : start/end frame
add : node/property selection window

thanks for reply :

cridgit, I am interested in physics simulation. However, since I have never used DAZ SDK , this is my first time for I used the script for practice.
Soft body is difficult genre. I think I would like to start to explore the SDK in C + + from the rigid body, thanks.

Tramp Graphics, I am sorry. Since I do not have now the environment of DAZ Studio 4.0, I can not confirm the operation…
The text source code is not encrypted. So I think, and you can get to try.

Casual, I modified my source code with seeing your codes in your site.
it seems very difficult to learn DAZ script now, because unfortunately official script documentation is poor,
I wrote script with the C++ SDK as reference, to imagine how these APIs are mapped to the Ecma script.
Your sources are milestones for script beginners.
I am deeply grateful to you !

BlackFeather1973, banditcameraman,
I usually enjoy in DAZ Studio, so I am very happy to be able to make material !

 Signature 

BLOG : Vectorized nature

Profile
 
 
Posted: 10 April 2013 11:41 PM   [ Ignore ]   [ # 12 ]
Power Member
Avatar
RankRankRank
Total Posts:  1589
Joined  2011-11-16
nmizu - 10 April 2013 11:33 PM

just updated to 0.4

add : start/end frame
add : node/property selection window

thanks for reply :

cridgit, I am interested in physics simulation. However, since I have never used DAZ SDK , this is my first time for I used the script for practice.
Soft body is difficult genre. I think I would like to start to explore the SDK in C + + from the rigid body, thanks.

Tramp Graphics, I am sorry. Since I do not have now the environment of DAZ Studio 4.0, I can not confirm the operation…
The text source code is not encrypted. So I think, and you can get to try.

Casual, I modified my source code with seeing your codes in your site.
it seems very difficult to learn DAZ script now, because unfortunately official script documentation is poor,
I wrote script with the C++ SDK as reference, to imagine how these APIs are mapped to the Ecma script.
Your sources are milestones for script beginners.
I am deeply grateful to you !

BlackFeather1973, banditcameraman,
I usually enjoy in DAZ Studio, so I am very happy to be able to make material !

OK, what about my second question. Is this only for animations or for single frame “still” renders too?

Profile
 
 
Posted: 11 April 2013 12:42 AM   [ Ignore ]   [ # 13 ]
New Member
Avatar
Total Posts:  21
Joined  2003-10-24

This script calculates the vibration with simulating the differential equations based on the change in the value of the property between the frames.
So, it can not calculate the vibration of the target property if there is not many numbers of consecutive frames before and after, so it assumes the animation.
However, because this script simply set the property changes to the timeline, the rest is a matter of rendering.
Of course,  rendering only 1 frame ,  it is just still image.

My English is poor, so I hope I was not misunderstood your question…

 Signature 

BLOG : Vectorized nature

Profile
 
 
Posted: 11 April 2013 12:57 AM   [ Ignore ]   [ # 14 ]
Power Member
Avatar
RankRankRank
Total Posts:  2304
Joined  2006-01-19
nmizu - 10 April 2013 11:33 PM

... documentation is poor,

well this was a difficult search but i found it !

http://docs.daz3d.com/lib/exe/fetch.php/public/software/dazstudio/3/ds3_daz_script_development_kit_3.0.1.144_docs.zip

it’s the documentation for the daz studio 3 scripting language

90% of it still works with daz studio 4

many of the functions to access the geometry will not work

—-

also
to get a list of data and function members of an object you can use this trick, which i saw attributed to Rob Whisenant
example, to see a list of the member functions and variables for DzNode objects

oNode = new DzNode()
for( 
member in oNode )
{
 debug
member )

 

Profile
 
 
Posted: 11 April 2013 01:17 AM   [ Ignore ]   [ # 15 ]
Power Member
Avatar
RankRankRank
Total Posts:  1589
Joined  2011-11-16
nmizu - 11 April 2013 12:42 AM

This script calculates the vibration with simulating the differential equations based on the change in the value of the property between the frames.
So, it can not calculate the vibration of the target property if there is not many numbers of consecutive frames before and after, so it assumes the animation.
However, because this script simply set the property changes to the timeline, the rest is a matter of rendering.
Of course,  rendering only 1 frame ,  it is just still image.

My English is poor, so I hope I was not misunderstood your question…

Nope, no misunderstanding. You answered my question. It’s for animation, that’s all I needed to know.

Profile
 
 
   
1 of 2
1