It is currently 19 Jun 2013, 15:05

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Curves in ICE - WIP
PostPosted: 25 Sep 2011, 23:57 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
And here is the circle created with four rational bezier3 curves. Again, we get a perfect circle.

If you play with the weights of some points (the w of the 4D vector) you will pull or push away the curve segment at that point. Try it.


Attachments:
Rational_Bezier3_circle3.jpg
Rational_Bezier3_circle3.jpg [ 90.38 KiB | Viewed 676 times ]
Rational_Bezier3_circle4.jpg
Rational_Bezier3_circle4.jpg [ 79.4 KiB | Viewed 676 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif
Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 26 Sep 2011, 00:02 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
What I did to create the circles is called piecewise curve (linking curve segments to create a bigger curve). Try to create a rounded square.....

Hint! You will need four bezier2 (linear interpolation between two points) for the straight line segments!

Cheers!

Dan

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif


Last edited by Daniel Brassard on 26 Sep 2011, 23:00, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 26 Sep 2011, 12:35 
Offline
Administrator
User avatar

Joined: 04 Jun 2009, 12:15
Posts: 3242
Thanks for adding the screenshots.
Now at least I can see at a glance what I don't get... :D
(but that's just MY ignorance, I hasten to add)

_________________
"Forsan et haec olim meminisse iuvabit." (Virgil)


Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 27 Sep 2011, 04:50 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
Here I am showing the effect of changing the weight at the corner's control points using the four segments circle previously illustrated.

Top right: w = 0.7071. The curve describe a perfect arc circle. (note the with a value of 1, the curve is pulled slightly toward the point, this is why the non-rational bezier3 cannot represent a circle exactly).

Top left: w = 0. This result in eliminating the influence of that point on the curve and therefore we get a line.

Bottom left, w = 10. This result in pulling the curve toward the point creating sort of a rounded corner.

Bottom right: w = -0.5. This result in pushing the curve away from the point creating an inside arc.

Now imagine you have an object with all the points represented with the x,y,z,w you could use the w to influence the object points and sculpt details using say ...... a weight map!

Now is this a novel idea .... ;)


Attachments:
Rational_Bezier3_weight.jpg
Rational_Bezier3_weight.jpg [ 49.83 KiB | Viewed 608 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif
Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 28 Sep 2011, 07:05 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
Using the points created by the bezier nodes, I was able to create a polymesh topology driven by two curve bezier3 nodes.

Here is a screen of the results so far.


Attachments:
Bezier_polymesh.jpg
Bezier_polymesh.jpg [ 78.92 KiB | Viewed 553 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif
Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 29 Sep 2011, 03:17 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
And by changing one of the curve description to another type of curve (Rational Bezier4), I easily changed the shape of the topology.


Attachments:
Bezier_polymesh2.jpg
Bezier_polymesh2.jpg [ 100.44 KiB | Viewed 551 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif
Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 13 Oct 2011, 02:08 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
Finally, after some hard work, and some hits and misses on the way, I finally got the bezier patch working. It is not a "surface" by Softimage definition but a polymesh, the end result is very similar.

Below is the bezier patch result and the ICE tree. It is controlled by 16 nulls and just for fun I cranked up the subdivision to 30 in U and V.

The bezier definition does work, although with very high subdivisions, I get weird results, probably because of the precision of some of the calculation.

Attached is the compound as well. Enjoy!


Attachments:
DB_Bezier4_Surface_m.xsicompound [32.52 KiB]
Downloaded 17 times
Bezier_polymesh3.jpg
Bezier_polymesh3.jpg [ 102.95 KiB | Viewed 490 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif
Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 13 Oct 2011, 02:47 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
The next screen shows the patch with nulls moved to create the curved surface. I then selected some points on the patch and pull/push them at will without affecting the rest of the patch.

I also simplified the ICE tree.

The end result is quite flexible. Each bezier node can be modified easily with an other surface representation just by changing the matrices inside each nodes to say, a cubic hermite or catmull-rom.

Like curves, the patch can be connected to one another in piecewise fashion to get larger surfaces. The possibilities are endless.

Cheers!

Dan


Attachments:
Bezier_polymesh4.jpg
Bezier_polymesh4.jpg [ 73.29 KiB | Viewed 486 times ]
Bezier_polymesh5.jpg
Bezier_polymesh5.jpg [ 60.6 KiB | Viewed 486 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif
Top
 Profile  
 
 Post subject: Re: Curves in ICE - WIP
PostPosted: 13 Oct 2011, 02:59 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
And a quick render of the surface.

:D


Attachments:
Bezier_Surface.jpg
Bezier_Surface.jpg [ 5.49 KiB | Viewed 486 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif


Last edited by Daniel Brassard on 02 Nov 2011, 05:12, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: Curves and Surfaces with ICE - WIP
PostPosted: 02 Nov 2011, 04:12 
Offline
User avatar

Joined: 19 Mar 2010, 00:38
Posts: 460
Location: St. Thomas, Ontario
Little update.

I was able to correct the quad description error and was able to pass subdivision 50 on the bezier patch. Now I crash Softimage because I run out of memory (I am still working on a very low spec machine by today standards).

Here is a screen grab of the bezier patch at 500 x 500 subdivisions. Useful for some terrain modeling. The picture shows the wireframe so tightly pack it's showing white! I have to zoom in to see the texture!

In the thread Modulo and variant, i provided the screen grab of the quad description compound for those interested!

Now moving to rational bezier surface!


Attachments:
Patch_500x500.jpg
Patch_500x500.jpg [ 75.87 KiB | Viewed 394 times ]

_________________
$ifndef "Softimage"
set "Softimage" "true"
$endif
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group