Discussion:
[cairo] Fwd: Fractals and procedural generation
Soul Cycle
2017-08-21 14:52:03 UTC
Permalink
Hi, this is related to request I would propose to the Inkscape developers.


1. Would it possible to implement in cairo fractal generation framework
such is Apophysis
https://sourceforge.net/projects/apophysis7x/ ?
2. Could you consider implementing framework for 3D pathtracer as
Mandelbul3D or Fragmentarium ?
https://github.com/3Dickulus/FragM
http://blog.hvidtfeldts.net/
3. Could you implement OpenCl, Vulkan for utilization of more hardware
power and multicore CPUs and GPU?





Regards
Bryce Harrington
2017-08-21 22:07:04 UTC
Permalink
Post by Soul Cycle
Hi, this is related to request I would propose to the Inkscape developers.
1. Would it possible to implement in cairo fractal generation framework
such is Apophysis
https://sourceforge.net/projects/apophysis7x/ ?
Are you asking if you would be permitted to implement this for Cairo?
I'm not sure whether we'd take a patchset that added this, but I'd
certainly be open to a more detailed technical proposal of how you'd
code it.
Post by Soul Cycle
2. Could you consider implementing framework for 3D pathtracer as
Mandelbul3D or Fragmentarium ?
https://github.com/3Dickulus/FragM
http://blog.hvidtfeldts.net/
That looks like a large amount of code for a fairly specific
functionality, what is your thinking as to why it would need to be in
Cairo?
Post by Soul Cycle
3. Could you implement OpenCl, Vulkan for utilization of more hardware
power and multicore CPUs and GPU?
I've wondered about Vulkan myself. Do you use the OpenGL backend
currently? What is your interest in Vulkan, that wouldn't already be
met by the current GPU support? I posted a patchset to upgrade our
OpenGL ES to version 3.0 a few weeks back, which may provide some of
those benefits. Did you have a chance to look at or test it?

As to OpenCl, what would your thoughts be on how Cairo would make use of
it?

Bryce
--
cairo mailing list
***@cairographics.org
https://lists.cairographics.org/mailman/listinfo/cair
Soul Cycle
2017-09-01 13:03:39 UTC
Permalink
Are you asking if you would be permitted to implement this for Cairo?
Post by Bryce Harrington
I'm not sure whether we'd take a patchset that added this, but I'd
certainly be open to a more detailed technical proposal of how you'd
code it.
I'm sorry. I wouldn't be able to do this. Apophysis has some new classes of
fractals which I would like to operate with in Inkscape.
Post by Bryce Harrington
Post by Soul Cycle
2. Could you consider implementing framework for 3D pathtracer as
Mandelbul3D or Fragmentarium ?
https://github.com/3Dickulus/FragM
http://blog.hvidtfeldts.net/
That looks like a large amount of code for a fairly specific
functionality, what is your thinking as to why it would need to be in
Cairo?
Some of the Illustrator abilities have implemented 3D raster engine to
rendering lights and shadows and manipulating curves in 3D space.
I was wondering if this pathtracer would be useful for Inkscape to render
projections of 3D procedural objects as 2D splines, curves ?
Basically, make more procedural and CAD like features in Inkscape.



I've wondered about Vulkan myself. Do you use the OpenGL backend
Post by Bryce Harrington
currently? What is your interest in Vulkan, that wouldn't already be
met by the current GPU support? I posted a patchset to upgrade our
OpenGL ES to version 3.0 a few weeks back, which may provide some of
those benefits. Did you have a chance to look at or test it?
As to OpenCl, what would your thoughts be on how Cairo would make use of
it?
I'm sorry again. I'm more an artists who likes to draw in Inkscape. I was
wondering about Vulkan to improve rendering for high density curves and
paths and for viewport performance.
Bryce Harrington
2017-09-05 19:12:19 UTC
Permalink
This post might be inappropriate. Click to display it.
c***@aol.com
2017-09-01 17:58:27 UTC
Permalink
Good ideas for drawing but they are not so easy to implement. I don't have anything as sophisticated as the 3d fractal examples. Those really look good. You can draw on a cairo surface what you want though. For a 2d drawing in 3-space with smooth, approximate and linear interpolation with animation and linear gradients using cairo you can look at the following.

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/bezier_points1.c

The code is still a bit rough as I am trying to figure a few things out like svg export but the basic drawing works well enough.

Eric
Loading...