Digital Art Zone

 
   
4 of 4
4
Released ! —mcjCollider plugin for DS4.5 PCWin
Posted: 03 December 2012 02:19 PM   [ Ignore ]   [ # 46 ]
Power Member
Avatar
RankRankRank
Total Posts:  2295
Joined  2006-01-19
BWSman - 03 December 2012 07:34 AM

The 32bit version doesn’t seem to be working for me.  I am assuming it would behave the same as the 3.1 version.

i’ll install DS4.5 32bit on my 64bit windows7 and test the 32bit plugin

the simplest test is to create a primitive-plane

move it up, say 200 cm

select it

in Daz Studio’s “create” menu, create an mcjCollider

the mcjCollider is at floor level, pointing up at the plane

select the mcjCollider in the scene tab

go in the parameters tab and click on ‘+’ on the parameter named ‘Ray Length’

( this is one o f the 2 ways to activate the collider )

the collider should now jump to the plane’s surface

the other way to activate the mcjCollider is to run this script
activate_mcjCollider.dsa

Scene.findNode("mcjCollider").activated(); 

note that it’s not really “activating” something, it’s more like shooting

the mcjCollider plugin goes through all the polygons that were selected when you created the mcjCollider,

in this case the plane,

and looks for one that intersects the mcjCollider’s ray ( white line ),

if one hit is found, the mcjCollider node moves to the closest intersection point

 

Profile
 
 
Posted: 03 December 2012 03:04 PM   [ Ignore ]   [ # 47 ]
Active Member
Avatar
RankRank
Total Posts:  811
Joined  2008-09-17

OK, it is working.  I guess a script I was using in conjunction with it needs to be updated to DS4.5. (Unfortunately; it’s encrypted, so I can’t look at it to see what is needed to update it.)

 Signature 

Resistance is futile.  You will be DAZzimilated


Old post count: 5719

Profile
 
 
Posted: 03 December 2012 03:06 PM   [ Ignore ]   [ # 48 ]
Power Member
Avatar
RankRankRank
Total Posts:  2295
Joined  2006-01-19
BWSman - 03 December 2012 07:34 AM

The 32bit version doesn’t seem to be working for me.  I am assuming it would behave the same as the 3.1 version.

done, i tested the 32bit plugin on DS4.5-32bit and it worked

note that the DS3 plugin ( found elsewhere) wont work on DS4.5

the 32-bit plugin for DS4.5 is named mcjColliderDS45.dll and found at the bottom of the manual/download page
https://sites.google.com/site/mcasualsdazscripts2/mcjcolliderds45

it should be placed in the plugin folder of your DS4.5 folder

typically that’s C:\Program Files\DAZ 3D\DAZStudio4\plugins

Profile
 
 
Posted: 03 December 2012 03:15 PM   [ Ignore ]   [ # 49 ]
Power Member
Avatar
RankRankRank
Total Posts:  2295
Joined  2006-01-19
BWSman - 03 December 2012 03:04 PM

OK, it is working.  I guess a script I was using in conjunction with it needs to be updated to DS4.5. (Unfortunately; it’s encrypted, so I can’t look at it to see what is needed to update it.)

that’s sad, i took great care trying to make it compatible with old scripts

maybe it’s not mcjCollider that prevents the script from working

DS4.5 is substantially different from DS3. most scripts that try to access the geometry ( the Quads/Tris/Polys ) of the figures need to be re-written

 

Profile
 
 
Posted: 03 December 2012 03:31 PM   [ Ignore ]   [ # 50 ]
Active Member
Avatar
RankRank
Total Posts:  811
Joined  2008-09-17
Casual - 03 December 2012 03:15 PM
BWSman - 03 December 2012 03:04 PM

OK, it is working.  I guess a script I was using in conjunction with it needs to be updated to DS4.5. (Unfortunately; it’s encrypted, so I can’t look at it to see what is needed to update it.)

that’s sad, i took great care trying to make it compatible with old scripts

maybe it’s not mcjCollider that prevents the script from working

DS4.5 is substantially different from DS3. most scripts that try to access the geometry ( the Quads/Tris/Polys ) of the figures need to be re-written

Ah, OK.  The script I was using was SITC-collisions written by DraagonStorm.  I’ll PM her & see if it can be updated as it’s useful when mass placing props onto a landscape.

 Signature 

Resistance is futile.  You will be DAZzimilated


Old post count: 5719

Profile
 
 
Posted: 03 December 2012 04:05 PM   [ Ignore ]   [ # 51 ]
Power Member
Avatar
RankRankRank
Total Posts:  2295
Joined  2006-01-19
BWSman - 03 December 2012 03:31 PM

. . . . . .
Ah, OK.  The script I was using was SITC-collisions written by DraagonStorm.  I’ll PM her & see if it can be updated as it’s useful when mass placing props onto a landscape.

if you’re trying to plant trees on a terrain,  make sure you select that terrain before you create the mcjCollider
unless the sitc-collider script is in charge of this.

now that i think of it, if mcjCollider for DS3 is in the same folder as mcjCollider for DS4.5 ( for example if it was bundled with SITC) then it’s possible that DS4.5 will get confused. so you should remove mcjCollider.dll from your DS4.5 plugin folder and make sure mcjColliderDS45.dll is present.

the Ds4.5 plugin folder is typically C:\Program Files\DAZ 3D\DAZStudio4\plugins
 

 

Profile
 
 
Posted: 03 December 2012 06:31 PM   [ Ignore ]   [ # 52 ]
Power Member
Avatar
RankRankRank
Total Posts:  2295
Joined  2006-01-19

another example of a script using mcjCollider’s services to “project” clothes onto a fiigure
.
.

video: https://www.youtube.com/watch?v=AoWm0vHfBnE
.
.

Image Attachments
image0063.jpg
Profile
 
 
Posted: 03 December 2012 09:26 PM   [ Ignore ]   [ # 53 ]
Active Member
Avatar
RankRank
Total Posts:  811
Joined  2008-09-17
Casual - 03 December 2012 04:05 PM
BWSman - 03 December 2012 03:31 PM

. . . . . .
Ah, OK.  The script I was using was SITC-collisions written by DraagonStorm.  I’ll PM her & see if it can be updated as it’s useful when mass placing props onto a landscape.

if you’re trying to plant trees on a terrain,  make sure you select that terrain before you create the mcjCollider
unless the sitc-collider script is in charge of this.

now that i think of it, if mcjCollider for DS3 is in the same folder as mcjCollider for DS4.5 ( for example if it was bundled with SITC) then it’s possible that DS4.5 will get confused. so you should remove mcjCollider.dll from your DS4.5 plugin folder and make sure mcjColliderDS45.dll is present.

the Ds4.5 plugin folder is typically C:\Program Files\DAZ 3D\DAZStudio4\plugins
 

 

The script just calls mcjCollider to plot the collision points for where the plants/props meet with the ground plane.  I did select the ground plane; created the mcjCollider; adjusted the raylength; selected the props & ran SITC-collisions. That script would drop the props to the ground where the collider indicated.  However that didn’t work.  Since setting up the collider works; I’m guessing the SITC-collisions script needs updating.

 Signature 

Resistance is futile.  You will be DAZzimilated


Old post count: 5719

Profile
 
 
Posted: 31 March 2013 02:45 AM   [ Ignore ]   [ # 54 ]
Active Member
Avatar
RankRank
Total Posts:  764
Joined  2012-07-21

Hey Casual, thanks for creating all the wonderfull scripts and plugins and making them available. They’re an everlasting source of inspiration and learning.
I’m playing with scripted instancing atm, looks like the mcjCollider will allow me to do some pretty neat stuff with that smile

 Signature 

my freebies at ShareCG
my store at DAZ3D

Profile
 
 
   
4 of 4
4