mcjTailorsChalk - helps create opacity maps and textures for your posed figures (Updated apr 2017)
DS 4.5+ version ( DS 4.6 etc )
https://sites.google.com/site/mcasualsdazscripts4/mcjtailorschalk
===========================
===========================
in another thread i posted a 4K x 4K transparency map which can be applied to the (free) mcjA3Maillot (
this was created with the help of the mcjTailorsChalk
you place a sphere or a plane across a figure
and the script outputs an image map with "chalk lines" where the sphere(s) / plane(s) crossed the garment
Using this you can create gread opacity cutouts and very precisely position decorative elements
when its ready the link will be right here
--------
Figure 2 the squashed and rotated sphere that was used
Figure 3 The opacity map created in paintshop but based on the mcjTailorsChal's chalk lines
Figure 4 - adding finns using planes
figure 5 - opacity map with finns - note how the lines need to be curves in the opacity map to obtain straight lines in the posed model
this would be near impossible to guestimate
Comments
elsewhere in this forum you can find the 4k x 4k opacity map to transform the mcjA3Maillot
fig 1 - mcjA3Maillot with the new opacity map
fig2 - 2 spheres and 2 planes were used to generate the tailor's chalk line
fig 3 - the original mcjA3Maillot
fig 4 - with finns !
Figure 5 .... encountered a problem .... too many chalk lines in mcjTailorsChalk's output image ... maybe its jpeg artifacts?
Triangles ! that's what, i forgot to add proper handling of triangles
easy to fix
i also want to give you "chalk lines" wider than 1 pixel , cause i always have to thicken them in paintshop
... nope it's not the triangles
... maybe corrupt facets?
ah HA the unexpected lines are all 10 segments long and the planes i used are 10x10
------
figure 2 - issue resolved ! - the part of the script that sorts the planes the spheres and the clothes was confused
note: in this version at least, all planes are deemed infinite
figure 3 - un-retouched output of mcjTailorsChalk, the "pen" is a cross, which gives us a line thickness around 2.5
fig 4 - applied
---
i may add a color option so the line color would match the color of the plane/sphere
added the User Interface and the functions that let you chose the output image name and location
and some help, namely, this text
-------
Figure 2 - Now in Color ! in case you have a color monitor or something
Looking better and better !! I want it ;) and soon we will be able to send the result of this script to blender :p
Thanks again Casual
This is going to be tremendously helpful for people who make their own textures & transparency maps. Thanks for the hard work, Jacques.
WOOT!!! This is going to be verrrrry useful. :coolsmile:
i'll add the ability to select which materials and which bones of a figure to process
because presently the script evaluates all faces and all materials of a figure
this can be a lengthy process if the figure is a person, not a swimsuit
also, the result may be confusing if the figure is made of many materials with unrelated UV maps
i'll also add "turbo modes" which will randomly process only 10% 25% or 50% of the facets
the test subject will be new shorts!
----
i'll probably post the high waist shorts on my site
but they wont be full fledged figure with all the morphs
they will just be for Aiko3's basic anime'ish body ( Aiko3LE also )
This is very cool. Can't wait to try it out.
i'm seriously thinking i'll post it tonight, seriously
( the DS4.6 version later the DS1,2,3 version)
someday there will also be a plugin to project images (stamps) on figures
Fig 1, only the hip node of the mcjA3Maillot was selected and 2 planes.
So processing was very quick
Fig 2 a new optional mode lets you process only selected materials
in this case, i selected the swimsuit's lCollar, rCollar and chest bones, then i selected the straps material
then i selected the pink-red plane
Fig 3 an intensive test - i selected only the head, selected the "SkinHead" material, selected 2 planes
it did take 2 minutes to complete ( dammit Jim i'm a script not a plugin ) since A3's head is 30000 polygons i think
Fig 4 you can see that creating this kind of curve "manually" without the help of this script would be very difficult
Fig 1.
added a progress indicator
which lets you interrupt the script
always nice to have brakes on a vehicle
Fig 2:
after i figure if this result is normal
i selected the whole figure and there's 5 materials .... yeah i guess that's normal
in a situation like this you'd want to create 1 chalk-lines image per material
and mcjTailorsChalk lets you do that !
....
actually i tried it and the type of UV maps for this hair prop just doesn't work
it would work if many hair strands did NOT share the same piece of the texture map
Fig 3 - The logo !
Fig 4 - good thing i decided to test the spheres generated chalk lines, they were "broken" ( in programming i mean )
. . . . . . . . . . . . . . . . i m p e n d i n g r e l e a s e . . . . . .
WOW! This would have saved me a LOT of time in my Summer Sun set. lol
BTW, is it possible to print an object onto another object's surface? Basically, a "tanline" tool.
this script only allows spheres and planes as the outline shapes
- a while ago i did some tests for a script or plugin that could decal an image onto a figure, tattoos !
someday when i have time i'll finish it
http://www.daz3d.com/forums/discussion/24838/
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
Middle of the night Release DS 4.6 Middle of the night Release DS 4.6
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
then again if you're in Australia it's daytime and probably september
! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
https://sites.google.com/site/mcasualsdazscripts4/mcjtailorschalk
( ok ok i'll stop the exclamation marquees )
Sometimes there's only so much you can do when working with someone else's creation. :)
It'll still be more than useful enough on the things that are sensibly-mapped. Thank you again for it. Downloading now...
Looks great! Hoping that the DAZ 3 version is released soon!
soon as in very very soon :)
i think it's ... nah still got something to check and a few tests
i'd say in the next hour ! i'll post it
the image below was made with the help of mcjTailorsChalkDS3
( the exact same code will be used for DS1 and DS2 )
problem.
4 spheres and the lButtock, rButtock and hip bones of the dress were selected
maybe because the squashed/rotated spheres were parented to a null node
... investigating ...
==========
Fig 2 - well actually it works if i select only the hip bone
this bodycon dress happens to have no buttock geometry, it's all hip geometry
still not sure what went on earlier ... the case continues ( https://www.youtube.com/watch?v=f2gNV5l_seY )
=========
oh !!!! i get it, i selected the spheres and ...... Aiko's hips ! instead of the dress
so the image would've worked as Aiko bodypaint
publishing time !!
========
making it work for DS1 want trivial but it seems to work
just got to check DS2 and then ...
======
fig 5 - DS2 test : notice that you must expect little defects here and there , when a line crosses the UV borders, it's a flat-earth thing ( yeah that makes sense ) ( sort of )
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
***** mcjTailorsChalk **** Full Release - For DS 1, DS2, Ds3 and DS4.5+ ( 4.6 etc ) *****
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
https://sites.google.com/site/mcasualsdazscripts4/mcjtailorschalk
tip - if the target object is very low poly, very few lines will be traced
in my examples, the primitive-Cone was tessellated at 32x16 for this reason
=======
Figure 3 - that's an incentivizing ( nah its not a word ) picture showing that cutout dresses are something to behold !
Figure 4 is totally irrelevant and it's titled Amy and Professor Numann do the Tesla dance
Thank You
UPDATE UPDATE UPDATE UPDATE UPDATE
https://sites.google.com/site/mcasualsdazscripts4/mcjtailorschalk
April 11th 2017 8:00am - some facegroups ( Gen3/Aiko7's head ) are not named like the corresponding node.name but like the node.getLabel()
April 11th 2017 6:30am - used the modulo function for UV coordinates not in the usual [0..1] range ( ex: Aiko7 )
the scene where i mcjTailorsChalk saved the day
Hi, mCasual, thanks for your very useful scripts. Among scripts there is one named "mcjTailorChalkDS123.dsa" without icon, that seems doing nothing... what is its purpose?
it's possibly a leftover, and contains the same code as the version for DS1/DS2 and DS3,
even if DS4 accepts to load it, you should use the DS4 version with DS4
Note that i may update the DS4 version soon because i encountered problems with some Genesis3 figures
( so i saved the figure as an obj, reloaded it and created my chalk lines on that )
it helped me make this bunny swimsuit
Ah ok... thanks
Any chance of coordinating this with the mcjBump and/or mcjPath to make a live-brush for 3D painting of any sort?
Please?
maybe but what's more likely to happen is a plugin based on my mcjWarp plugin, but before that i'll probably get back to bullet phusics and kinect interface ( i bought a used kinect One (V2) for Windows ! )
i'll also support the old Kinect 360
http://www.daz3d.com/forums/discussion/21044/mcjwarp-sculpting-plugin-for-ds-4-5-pc-win-x32-x64-version-available
i also once did some tests with 3D tattoos or stickers
I cant get your script to work.
When I select both the surface and the cutting object I get the "Your selection is not valid" error.
Please tell me what am I doing wrong?
http://imgur.com/a/Ewrdp
it's objects or figures you have to select, not material/surfaces and not figure-body-parts
so if you want to make a line across a bikini-top, in the scene tab, you select the bikinitop figure (root node of the figure ) and you select the plane
make sure you are using mcjTailorsChalk for Daz Studio 4.5
note that just now during my test i had problems using the script on the bikini top
only the "chest upper" part of the top got the lines
i will see if i can fix this, and post the update right here in this thread if/when i do
but if you wanted a workaround, you could hide or delete everything in the scene, except the bikini top, then export the scene as an .obj, reimport the bikini top
and use mcjTailor's chalk on that obj. because tailor's chalk works well on objects compared with clothes/figures
oh i checked your image just now and you were using a Cube as the chalk object? it's only plane and sphere objects that work for that role
in other news, i found the source of the problem i had for the bikini top ( uppercase/lowercase issues in the figure's facegroup names )
so in the next hour i will have an update and will announce it in this forum thread