GiL the B's polygon subdivision script showcased for 2.105

News, Discussions, Questions and Answers

GiL the B's polygon subdivision script showcased for 2.105

Postby thyme » 11 Jul 2006, 23:13

Hi Seamless Friends :)

2.105 is ready for download from:

http://www.seamless3d.com/download

The goal of this version has been to run Gil's subdivision script
GiL showed me this very interesting script late last year when it was written all in JavaScript.


To witness GiL's script converted to Seamless C++ running from his site:


click on the web file button:

Image

and paste in the fowling url into the worldUrl field:

http://giltheb.net/technology/20060712_doo-sabin.smls


then click go.



The smooth shape to the right is created from the box type shape to the left.

The density of the polygons depends on the value of passe

If passe is set to 1 the number of polygons is doubled. If set to 2 it is doubled again and so on.

The code generated by Seamless's built in compiler wont be as fast as VC8's code when compiled for Release but I was very eager to compare the speed of Seamless's script to Contact's script engine. I tried passe set to 4 and this was the result for my computer:

Seamless3d C++: just under 9 seconds
Bitmanagement Contact 7 JavaScript just under 326 seconds

This makes Seamless's built in compiler 36.2 times faster to generate this many polygons!

Please note in the output wrl all the dstIfs's coordIndex and dstCoord's point should be emptied and all of the MF fields for the Script node should be emptied too using a text editor.

Many thanks to Gil for letting his wonderful script be used as a demonstration for this version of seamless :)
User avatar
thyme
Site Admin
 
Posts: 1322
Joined: 21 Apr 2006, 16:39

Postby Alain » 12 Jul 2006, 10:29

I downloaded the latest version and it has less and less crahed .
May be because I cleaned my puter these last months , many times with avast , but sure because seamless is more and more strong ..


Image
User avatar
Alain
 
Posts: 387
Joined: 29 Apr 2006, 14:26
Location: France

Postby Lilly » 12 Jul 2006, 19:11

Merci c'est super
Bonne soirée
bisous


Image
User avatar
Lilly
 
Posts: 1097
Joined: 22 Apr 2006, 00:10
Location: France

Postby thyme » 12 Jul 2006, 21:08

Hi Alain and Lilly :)

Thanks for the images of proof that seamless works in France :)
Just about every new version I upload has some bugs fixed and a few added lol but on the whole seamless should continue to be more robust. Also I think seamless crashes less the more you use it because you know how to use it. Where as, because a beginner tries every combination under the sun, they are more likely to encounter a crash.

I am guessing you changed the colour of the Appearance node in seamless Lilly? and the extra objects were added in paint shop pro? heheheh
bisous :)
User avatar
thyme
Site Admin
 
Posts: 1322
Joined: 21 Apr 2006, 16:39

Postby thyme » 12 Jul 2006, 22:19

User avatar
thyme
Site Admin
 
Posts: 1322
Joined: 21 Apr 2006, 16:39

Postby Lilly » 12 Jul 2006, 23:45

eheheh :P bisous thymou
User avatar
Lilly
 
Posts: 1097
Joined: 22 Apr 2006, 00:10
Location: France

Postby GiL » 13 Jul 2006, 00:07

In oder it works you need a single IndexedFaceSet with an an outside (no holes) the polygons must be connected edge by edge only.
UV textures are not supported :)

As far as i remember there is 2 cases it should crash. The first case the polygons are conected by a point and not by an edge, the second there is a hole in the outside of the shape.

Image

Enjoy.
GiL
 
Posts: 4
Joined: 12 Jul 2006, 23:36


Return to Seamless3d Forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron