You really aught to write a UV mapping program with this sort of thing in mind Casual. Like getting a flowing map on a deformed cape or skirt or other weird angles in clothing, organics and hard edged props. Just amazing work here.
so here the quarter-round moulding was used as an inside and an outside trim
- welded/non-welded UVs
so far the moulding textures were chopped up in tube sections
this was useful for frames with 90° corners
but for curvy mouldings, we don't mind a little stretching
of the texture to obtain texture continuity
Thank you! I tried it immediately, and it works!!! Thousands of wonderful new posibilities!
welcome !
i'll probably finish writing the manual today, add a part that better explains how to write your own extrusion path ( scripts )
or import them from objs
Thanks Casual. An awesome script, I will have some fun with this. Tried some your profiles which were fine, but came unstuck trying to use my own Blender profile as it only recognized half the profile. That was after applying the mirror modifier and removing the centre edge as well as ensuring it had one face. I'll have another go later.
Cheers.
/Edit. loaded up one of your preset obj's and modified it in Blender. Saved as a new shape, worked perfectly. Not sure what I did before but this worked out great. :-)
Comments
One ring to rule them all ( except the ones that dont want to )
the progress is, closed profile and paths with proper UV layouts ... which can be tricky at the borders
background panoramic image is by benjamint444
at http://commons.wikimedia.org/wiki/File:Mist_-_Ensay_region3.jpg
did you know there's more an more panoramic images in wiki commons?
http://commons.wikimedia.org/wiki/Commons:Featured_pictures/Places/Panoramas
WOW, now THAT's a ring. Makes a nice stage for the rock star. :coolsmirk:
i'll probably post some of the built things as props , since not everyone will want to use a script
Kewl! :coolsmile:
trying to use the mouldings builder script to 3d-model cushions
t'would be hard to avoid having to use a 3d modeler lo complete the task ( welcing caps )
but i'll at least fix the texture issue
--
the second image is named "riding shogun" due to faulty pun reasons
Oh now wouldn't that be nice. I like the way the rounded corners came out.
so to recap you'll be able to select from a few (30?) moulding shapes
or create your own in 3d modelers like Blender, or using a daz script like mcjLather
then you'll select one of the built-in paths
or create your own by writing a little text like this
that's 4 90 degrees arcs and 4 straight segments ( the 4th is added by the script since the "closed path" option was enabled )
good news ! after some effort i was able to pinpoint the source of the slight distortions that appeared in the mouldings textures !
i was rounding off the texture coordinates to 1/1000, just to make the obj file look neater
but this was throwing away too much precision
( because the moulding texture maps are very long and narrow )
see the difference
1 - rounding UV U to 1/1000
2 - no rounding ( or something like 1/10000000000000000 )
figure 3 ... see effects like this would've been ruined by this
other advances : completed the code to load /save extrusion paths and to convert obj files into paths
the path for the frame shown here was in fact an obj and once converted to mcjBuilderA's language it became
You really aught to write a UV mapping program with this sort of thing in mind Casual. Like getting a flowing map on a deformed cape or skirt or other weird angles in clothing, organics and hard edged props. Just amazing work here.
Wow, Richard, I like your idea. That would be a handy thing to have when UV mapping. :coolsmirk:
last features i wanted to add
- mirrored extrusion profiles
so here the quarter-round moulding was used as an inside and an outside trim
- welded/non-welded UVs
so far the moulding textures were chopped up in tube sections
this was useful for frames with 90° corners
but for curvy mouldings, we don't mind a little stretching
of the texture to obtain texture continuity
in some cases the texture stretching is not really a problem
fig. 2 - added a few classic moulding shapes
the 50 moulding profiles that will be bundled with the script
Those are nice!!! They look very useful. :coolsmile:
thanks for your patiemce @ all following this thread
soon ! is the word is the la la la
a complex path, you can see most of the keywords understood by the script
polygon count for this object is about 2000 frames
I'm sure the extra bells and whistles are well worth the wait. :-)
tonight is the night
after i add what's needed for stairs-handrails and check a few things, i'll post the script and write the "manual"
this is a beta version, the next version will probably have improved stairs-handrails handling
instruction manual writing in progress
https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera
** Beta Released ** Beta Released ** Beta Released ** Beta Released ** Beta Released ** Beta Released **
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera
manual is being written as we speak
there will most probably be many updated versions in the next day(s)
WOOT!!!!! :coolsmile:
Thank you! I tried it immediately, and it works!!! Thousands of wonderful new posibilities!
Thank you for this. Works great.
welcome !
i'll probably finish writing the manual today, add a part that better explains how to write your own extrusion path ( scripts )
or import them from objs
welcome
that 2 confirmations that it works ! :)
i developed and tested in DS3A but, it uses things that exist in all versions since DS1
note that i generated and packaged as props 71 straight moulding segments ----> http://www.daz3d.com/forums/discussion/39820/
eventually the script will be able to produce good end-caps, for now it's open-ended tubes ( unless you make rings/frames )
Thanks Casual. An awesome script, I will have some fun with this. Tried some your profiles which were fine, but came unstuck trying to use my own Blender profile as it only recognized half the profile. That was after applying the mirror modifier and removing the centre edge as well as ensuring it had one face. I'll have another go later.
Cheers.
/Edit. loaded up one of your preset obj's and modified it in Blender. Saved as a new shape, worked perfectly. Not sure what I did before but this worked out great. :-)
TOTALLY awesome. Thanks so much Casual!
Oh wow, I will totally dive into this tonight.
Respect for your work!
The instruction manual is now complete ( insert Yoda quote about completeness here )
https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera
if you run the following script in the daz scripting editor
it creates a random path
recipe for a wrought iron C curl
more complex curves ( like the Chateau de Sceaux balconies ! )
the path has a slightl offset