Fun with scripts - experimental renderings
It's no secret that i love goofing around with Daz Scripting. Usually i write small and simple tools that make the boring stuff a bit easier or faster, sometimes it's just a fun idea that i need to pursue.
Recently i've started exploring how to interact more directly with figures and meshes. I haven't figured out yet how it all fits together, but the fun part is that i can actually render out my experiments.
For this render i started with a genesis figure, i deleted the parts i didn't need and created a small mirror cube. Via scripting i placed an instance of the cube on each vertex of the mesh.
Played around a while with random scaling and tilting of the instances, but even in small amounts that quickly became a mess and distorted both faces too much.
Feel free to add your own experiments to this thread. I'd love to see them !
Comments
Interesting effect!
I am sure a lot of artists would find it very useful, renders would definitley be unique :)
Thanks JimmyC !
When i get some workable code out of this, i'll happily share. It would be interesting to see how different artists implement a method like this in their renders.
Did another one, same principle, a bit harder to digest for the hardware :-P
The first test had almost 3000 instances of the butterfly and my pc ran out of ram. Had toedit the mesh of the hair in Hexagon to get a better spread and enlarged the butterflies. There are now 520 instances of the butterfly in the scene, the rotations are randomized within a given parameter.
Edit : turned out the butterfly had a 4k polycount, that kinda explains why it was so hard on my pc :lol:
WOW, that looks cool as all get out. Finish the script and a Interface please.
Thank you, Jaderail !
I hadn't planned on taking it that far as these are just "educational experiments" for another project i'm attempting to do.
But yeah, challenge accepted :-)
For effects like the butterflyhair, you're probably better of with the LAMH-plugin. I don't have it myself, but i know you can instance props with it. I assume you can paint density maps on a surface with LAMH and that the instancing is done on rendertime with RiCurves, so that would be a lot easier with better performance.
That is true, But I was not just thinking of HIAR as a target. I still think it would be a neat Script for people to play with.
replication like we have in Carrara for studio!
Didn't know Carrara could do that too. I picked it up in the snowball savings last year, but me and Carrara don't get along. Tbh i only fired it up about 3 times and couldn't get anything done. Now it's just sitting there, unused and unloved...
For this one i modelled five shards of glass and applied the glass shader. I ran Freak5 in a running pose through Zbrush's qRemesher to get an even distribution of vertices an let a script add over 7000 instances of the shards to the mesh. Rotation on all 3 axis are randomized and I gave each instance a 20% chance of a random Z-translation anywhere between it's original place in the mesh and world center, to get the trailing effect.
And one more...
awesome results .
That is a seriously cool effect!
Thank you for the kind comments, Ivy and FirstBastion. Much appreciated :)
A small teaser for those who want to play too...
YES!! Nice tease...
Awesome work! Can't wait to see where you take this next....
Thank you for taking a look at my work and for the nice comments, Pendraia. :)
Spend a little more setting this one up. As usual i started with cutting Genesis up, i only kept the face, front torso, arms and part of the upper legs and then qRemeshed in ZBrush to distribute the vertices (note to self : use a bodysuit next time instead of genesis, much easier). I moved that mesh a bit in front of genesis and populated it with the glass shards that i made for ShardMan (a few posts back).
Ran the instancing script several times on a few low poly primitives, rotating, scaling and moving the primitives around, each time with a different scaling factor for the instances. That way i could control the glass shards's size/position to a certain extent.
Same scene from another angle.
I may have forgotten to set some walls and interiors back to visible when switching angles :lol:
Ur scripts are great. Luv what they do. Need to test them out. U can see my renders here for my upcoming graphic novel NOCTURNES. I've completed 50 pages so far. 150 pages more to go. Its all written, just have to make the renders.
http://avu4u.com/
Just hit the link and then click on the NOCTURNES cover and Ur in. Hope U like what I've done. NOCTURNES is all Daz.
Thanks, AVU4U.
Good luck with your graphic novel, i'll make sure to check it out.
I am loving what you are doing with these scripts. I hope to see more soon as it sure looks like fun.
The funky bikini from the first page is very cool and I would love to be able to get effects like that for some of my renders so I will be watching this space :)
Thank you, MangeyDesigner. I'd be very interested to see what you would come up with. :)
I'm still on schedule to have a first version ready by the end of the week. (for my renders i've been scripting on the fly, tweaking code per scene).
well I am sure you will have no shortage of people wanting to test what you put together for your scripts... thanks for taking the time to try and put these script ideas into an interface for others to use... I will definitely be keen to try and learn how you have done this and of course I am really looking forward to playing :D
You're welcome, glad to have you on board :coolsmile:
I'm a major render in effects type of person. I can see so many uses for this one script that it's mind boggling.
Well, you got me into making it a fully functional toy. That kinda makes it your personal duty to blow my mind :lol:
Well, you got me into making it a fully functional toy. That kinda makes it your personal duty to blow my mind :lol: I already have a couple of Ideas up my sleeve, and if those work I'm very sure this script will be a major part of my work flow in the future. :cheese:
Now you really made me curious, no television for me tonight, better do some coding instead. :)
The bead-curtain. Made a number of ribbons in Marvelous Designer and draped them over Jazlyn. I instanced the beads over it, unfortunately they were all pointing straight up so i spend quite some time manually rotating a few hundred of them... -sigh-
Really need to find a way to access a vertex's edges via scripting.
For the close-up it looked really weird with the beads floating around, so i send the ribbons to Hexagon, did an edgeloop and extruded that into the cords. Send back to DS and fits like a glove...
One of the most fascinating toys from my childhood must have been the pinscreen.
I set up a small plane to intersect with genesis' face and wrote a script to scan it with Casual's mcjCollider. The resulting grid was then populated with instances of a cylinder primitive.