Fractal with ICE - WIP

Discussions about SOFTIMAGEs© Interactive Creative Environment©
grahamef
Posts: 281
Joined: 23 Jun 2009, 21:01

Re: Fractal with ICE - WIP

Post by grahamef » 11 Jan 2013, 21:47

Last update for now: I implemented the smooth shading.
Attachments
gray_Mandelbrot.2.0.xsicompound.zip
(9.34 KiB) Downloaded 98 times
mandelbrot_smooth.png
mandelbrot_smooth.png (47.78 KiB) Viewed 1314 times

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: Fractal with ICE - WIP

Post by Daniel Brassard » 12 Jan 2013, 01:41

Nice Grahamef,

Thanks for taking the time to show us how to do this more efficiently. The zooming function is a nice touch. I was also asking myself why the details was stretched at the limit border, never though of the delay data node to correct it.
$ifndef "Softimage"
set "Softimage" "true"
$endif

grahamef
Posts: 281
Joined: 23 Jun 2009, 21:01

Re: Fractal with ICE - WIP

Post by grahamef » 16 Jan 2013, 21:05

Daniel Brassard wrote:I was also asking myself why the details was stretched at the limit border, never though of the delay data node to correct it.
Just to expand on this, the problem was caused by using Px (the real part) and Py (the imaginary part) to set a new value of Px, and then using them again to set a new value of Py. In the second calculation it's easy to think that you are still getting the old value of Px -- it's coming from the same Get Data node after all. However, it's using the new value. That's what the Delay Set Data node solves.

I've been tripped up by this before, and each time leads to great frustration eventually followed by a final "Doh!" moment. This, together with transforming vectors like positions and using out-of-bound array indices, is among the more difficult things to debug in ICE.

This is probably my last update. Zooming should be a bit more intuitive now.
Attachments
gray_Mandelbrot.3.0.xsicompound.zip
(9.4 KiB) Downloaded 107 times
Last edited by grahamef on 16 Jan 2013, 21:51, edited 1 time in total.

User avatar
Daniel Brassard
Posts: 878
Joined: 18 Mar 2010, 23:38
Location: St. Thomas, Ontario
Contact:

Re: Fractal with ICE - WIP

Post by Daniel Brassard » 16 Jan 2013, 21:41

Thanks Grahamef for your time and expertise, it is very much appreciated.

I'll be using your technique when experimenting in 3D fractals for sure.
$ifndef "Softimage"
set "Softimage" "true"
$endif

Post Reply

Who is online

Users browsing this forum: No registered users and 41 guests