YOUR ACCOUNT

Login or Register to post new topics or replies
Skybase
2D/3D Generalist

Posts: 4025
Filters: 76
Techdraw Mapscript X10--v1 by GalaxyMeridian
http://filterforge.com/filters/11590.html

  Details E-Mail
Skybase
2D/3D Generalist

Posts: 4025
Filters: 76
This is quite a way of drawing a picture, but I'm impressed! smile;)
  Details E-Mail
Leo Fernevak
Leo Fernevak

Posts: 29
Filters: 14
Thanks Skybase.

About the previews, it seems I should have turned on the anti-aliasing effect before I submitted the filter, since that would have removed the pixelated result.

I wanted to create a script which makes it easier for users to design human faces, spaceships, animals, flowers, etc, without too much complicated structure.


The old method, which is faster to render, takes about 0.2 - 0.25 seconds per curve:



(For example, Quasimondos snippet from 2006, or uberzevs' from 2013:)
http://www.filterforge.com/filters/679.html
http://www.filterforge.com/filters/1619.html


However, if you wish to design a complex design, you need plenty of curves connected like this. It can easily grow out of proportion, and for most users, that will be discouraging.

My script takes about double the time of the fast method, per single curve. Although, when you connect 10 curves to my mapscript, it is not much slower than using the 'fast method' with 10 curves. So the more curves you connect, the less of an effect on overall speed is noticed between the mapscript and the fast method.

For designing faces and similar designs, I particularly made the snippet and script Curveblend Drawing, since it combines one normal curve with an inverted curve, which makes for easier bezier-design:

http://www.filterforge.com/filters/11585.html


----- Mapscript information -----

Note that the 10 different curves are rendered in separate layers.
The higher layers will render on top of lower layers:

Layer 1 - Top layer.
Layer 10 - Lowest layer.

---------------------------------
  Details E-Mail
Leo Fernevak
Leo Fernevak

Posts: 29
Filters: 14
The script error is now corrected in the upcoming update to version 1.1.
  Details E-Mail
Leo Fernevak
Leo Fernevak

Posts: 29
Filters: 14
Update to version 1.1 has been submitted to the library and will appear this week.

New features and update notes for version 1.1:


- One bug corrected in the script.

- Three new modes added: [Mode 4] - [Mode 7].

- [Mode 4] now has shading capability.

Note that the shading function is yet only active for [Mode 4].
This is because the shading function steals extra rendering-time and I want to keep the other modes as fast as possible.

- The previous [Mode 4] has been moved to [Mode 5].
Also an issue with an inverted Y-axis has been fixed.

- [Mode 6-7] can draw a combo of a normal and inverted curve.
The inverted curve follows the normal curve's Y-axis.

Note that in these two modes, every ODD curve is a normal curve, and every EVEN curve is an inverted curve. This makes it easier to draw bezier curves on top of pictures and combine two curves into a complex figure.

Example of [Mode 6-7]:
[Curve 1] + [Inverted Curve 2] forms a combo.
[Curve 3] + [Inverted Curve 4] forms a combo.
Etc.

- Images can be imported both for the background color and design texture.

- The mapscript has been updated with informational notes.



A few renders of previews in version 1.1, using the shading in [Mode 4]:







  Details E-Mail
Leo Fernevak
Leo Fernevak

Posts: 29
Filters: 14
Preview from the combo-modes [Mode 6-7].

These two modes are ideal for shapes which are not symmetric on the vertical axis, for example: eyes, lips, architectural details, spaceships, et cetera.

In these two modes, normal curves are combined with inverted curves to form a shape.
The lower curve always follows the upper curve, but can also be blended and 'sink' into each other to form more advanced shapes.

Later I will also add a shading capability for these combo-modes.

  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,720 Registered Users
+8 new in 7 days!

153,546 Posts
+12 new in 7 days!

15,348 Topics
+70 new in year!

Create an Account

Online Users Last minute:

21 unregistered users.