MoI discussion forum
MoI discussion forum

Full Version: Polygonal Converter.

Show messages:  1-20  …  301-320  321-340  341-360  361-380  381-400  401-420  421-440  …  481-483

From: Frenchy Pilou (PILOU)
23 Sep 2015   [#361] In reply to [#360]
What a teasing and suspense!
From: bemfarmer
23 Sep 2015   [#362]
API = Application Programming Interface
From: BurrMan
23 Sep 2015   [#363] In reply to [#360]
Right on Max!
From: PaQ
24 Sep 2015   [#364]


Donate available on
http://moi.maxsm.net/
From: Mike K4ICY (MAJIKMIKE)
24 Sep 2015   [#365]
Tease indeed! :-/ Can't wait!
From: Max Smirnov (SMIRNOV)
24 Sep 2015   [#366]
First tests. Yes! It works!

From: Frenchy Pilou (PILOU)
24 Sep 2015   [#367] In reply to [#366]
All wishes of success!


From: Max Smirnov (SMIRNOV)
24 Sep 2015   [#368]
Ta-daa!
beta7
From: Frenchy Pilou (PILOU)
24 Sep 2015   [#369] In reply to [#368]
Flash Gordon! :)

Seems works like a charm!

(Trick for volumes with difficulties like here : export as OBJ with triangles
then _importObj (BY Max ;)
and voilĂ !
(That I love in this one is that I have nothing to translate! :) (for the moment)


From: Max Smirnov (SMIRNOV)
24 Sep 2015   [#370] In reply to [#369]
Ops. bug found.
Pilou, download script again.
From: Frenchy Pilou (PILOU)
24 Sep 2015   [#371] In reply to [#370]
No problem! I had not time to find it! :D
So the French one! ;) http://moiscript.weebly.com/subdivision.html
From: Max Smirnov (SMIRNOV)
24 Sep 2015   [#372]
Finally, I implemented a new method for extraordinary faces. In fact, I don't like this method.. I would like to have ability to create surfaces with different control point weights using Javascript interface, but now it is not possible. Michael, could you make it in the next version of MoI? (it will not take too much time, because the engine perfectly supports them.)
But yesterday I found another way. :) I can generate a temporary STEP-file with surfaces descriptions,exactly as I need, and then import it back.
So, I don't need to split an extraordinary faces to parts anymore. :)

Other notes:
High quality switch has been removed. Now preview is always generated in the fast mode, and result - in quality mode.
Also I have removed "Show points" switch. Just double click on title to make points visible.
I still have rare problems with LoadMesh function. I'll check it later.
The script doesn't support opened surfaces and extraordinary triangles (excluding a polar triangles)
From: Frenchy Pilou (PILOU)
24 Sep 2015   [#373] In reply to [#372]
My volume above has not extraordinary faces ? (i must subdivise in triangles)
Or your next version will resolve this ?
From: Mike K4ICY (MAJIKMIKE)
24 Sep 2015   [#374]
I hope that open surfaces and extraordinary polys are a possibility someday... it would be neat to create organic shapes ending in clean and straight openings.
Great work Max! I'll play with this update soon.
From: danperk (SBEECH)
24 Sep 2015   [#375]
Cool stuff Max, Thanks!

I ran it two times at S=50.
From: BurrMan
24 Sep 2015   [#376] In reply to [#372]
Thanks again Max!

Here's a sample to look at something I saw. You may chalk it up to "don't use it that way", or it may help you refine it for the future.

In the sample, if you manually enter a value a little larger, you can preview a kindof "harder edge" output (It starts to suck the walls in a little), but the "complete output" morphs from what is shown at the preview stage...

Steps. Try enter a value of 130,,, Note the preview looks fairly neat. Press done and look at result... (A value of 120 seems to give a result like the preview of 130, etc)

Anyway. Nice job again........

Attachments:
subdiv7_sample.zip


From: bemfarmer
25 Sep 2015   [#377]
I spent a lot of time online looking at comma usage in javascript.

Is there a purpose of the comma after the curly braces: },

I'm guessing that such commas are ignored, and there to make the end of function statements clearer ?

- Brian
From: Michael Gibson
25 Sep 2015   [#378] In reply to [#372]
Hi Max, great work!

> Michael, could you make it in the next version of MoI? (it will not take too much time,
> because the engine perfectly supports them.)

Yes, I'd definitely like to add more direct access to all the various parts of curve and surface structure (control points, weights, knot vector, degree, etc...) to scripts in v4.

- Michael
From: Max Smirnov (SMIRNOV)
25 Sep 2015   [#379]
Frenchy Pilou
>> My volume above has not extraordinary faces ?
Yes, there are extraordinary faces in your model.
At this moment the script supports extraordinary quads only, not triangles.


bemfarmer
>> Is there a purpose of the comma after the curly braces: },
The purpose of a comma separator is to delimit members in a list.
For example:
code:
var obj = {
  a: 22,
  b: 33,
  c: function() {return this.a+this.b},
  d: function() {return this.a*this.b},
  e: function() {return this.a/this.b}
}


Mike K4ICY
>> I hope that open surfaces and extraordinary polys are a possibility someday...
I'll try to make it in the nearest future. 1-2 months.

BurrMan
>> you can preview a kindof "harder edge" output
I remember about this. It's old bug of hq mode. I just had no time to fix it, but I hope I'll do it soon.
So, don't use it that way :) At least now. ;)

Michael Gibson
>> control points, weights, knot vector, degree, etc...
It will be great! Thank you.
From: Mik (MIKULAS)
25 Sep 2015   [#380] In reply to [#379]
Excellent job Max! Thank you.

... only SubD exercise + blend... extravagant "Caraffa Cuore" :-)




render in Octan has to be improved... some triangle artefacts appeared.

Mik

Image Attachments:
Caraffa Cuore.jpg  Carraffa Cuore CoM.jpg 


Show messages:  1-20  …  301-320  321-340  341-360  361-380  381-400  401-420  421-440  …  481-483