dewdrops

dewdrops

Strange - a new version is out and no one is posting anything?

Like after 1.5 years of beta testing Falcon everyone is exhausted?

____________



net.jpg
 

Attachments

  • spidew.jas.zip
    237.5 KB · Views: 356
Beautiful ! ! !
The Subject, the Composition, the Lighting, the Matt, the DOF, the Background
Ingenious!
Canny use of soft body Physics!
Shrewd modeling of the Web. Actually, how did you do it using a disc?
. . . and it’s even cleverly named.

Thanks so much for sharing your .jas file!:D
I learned a great deal from it.

My Best
Jeanny
 
Thanks Martin and Jeanny!

Yes, it's made from a disc and turned out too regular,
but the DOF rendering looks nice anyways, so I stopped there.
 
@Jeanny:
See the perfectly symmetrical web:

screenshot.png

In reality the tangents would form a spiral,
the corners would be differently extended and overall a little bit of crumpling would be welcome.

But I wanted to test the soft body relaxing first,
and when that worked I tried a first render,
and then I remembered modeling rule #37:

"When the render looks good, stop tweaking!"

:tongue: :smile: :wink:
 
Last edited:
* If useful, a simple .js for an Archimedean spiral:
* From 2006, but it still seems to work with C3D V7, but use at your own risk.
* There is a Y / vertical parameter to get a conical spiral which you can tweak.

// spiral Archimedes.js
// helmut
//
// for scripts/Splineobj Folder

// definitions for property block GUI
function buildUI(obj) {

obj.setParameter("name","spiral Archi");

obj.addParameterInt("loops",3,0,120,true,true);
obj.addParameterInt("increment",10,1,90,true,true);

obj.addParameterSeparator("Variables");
// "variable", default, lower / upper limit, ???, ???
obj.addParameterFloat("offset",1,0,100,true,true);
obj.addParameterFloat("horizontal",0.001,0,100,true,true);
obj.addParameterFloat("vertical",0.0,0,100,true,true);

}

function buildObject(obj) {
// definitions local variables
// obj.core = holds ∑ data of spline object
var spline = obj.core();

// assign user set parameters
var r = 0;
var off = obj.getParameter("offset");
var hrz = obj.getParameter("horizontal");
var vrt = obj.getParameter("vertical");
var thetamax = obj.getParameter("loops") * 360;
var thetainc=obj.getParameter("increment")

for(var u = 0;u <= thetamax;u=u+thetainc){

var r = off + (hrz*u)
// convert theta to PI base
var u_rad=Math.PI*2*u/360;

// new Vec3D(x, y, z) = returns point (x, y, z)
var pos=new Vec3D(r * Math.cos(u_rad), r * (vrt*1), r * Math.sin(u_rad));

// generate wave
if(u_rad==0)
spline.move(pos); // move pen to start
else
spline.line(pos); // draw segment
}

// spline.close();

}
 
Would you explain the soft body relaxing you mentioned.

Hi Uncle,

I was just talking about what happens when you assign soft-body and anchor-tags to an object an then run or bake animation:
It will relax in its constraints.

web.gif


@Helmut:

Thanks for the script, unfortunately I cannot make it work!
I copied the text from the browser into TextEdit.app and saved it with an .js suffix into the spline script folder,
but when I call it from the script menu nothing shows up and the 3D view freezes :confused:

You got me curious now, maybe you can upload an xxx.js.zip file?

Making a spiral from a disc is possible with triangulation btw.
 
Last edited:
* Oops, sorry then.
* Maybe TextEdit adds some invisible control characters which confuse our feline application. I did just a quick test on the Java script and it seemed to work, but that is no guarantee.
 

Attachments

  • spiral.js.zip
    1.3 KB · Views: 306
Got it working after correcting two syntax errors ('tr ue' > 'true').

Thanks Helmut!

:icon_thumbup:


Edit:

* Maybe TextEdit adds some invisible control characters which confuse our feline application.

It is not TextEdit's or Cheetah's fault, but apparently the forum software:

You can see the errors in the script text you posted above (line 17 & 18 ).
When I copied the text from the browser, I copied the errors too.

But When I quote your entry with the script, the text in the editor is ok without errors!

:confused: :rolleyes: :wink:

Maybe the best way to post code is using code tags (accessible with the hash symbol in the advanced editor).
 
Last edited:
Back
Top