Logo by Fractal Ken - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 23, 2024, 05:34:38 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: 1 [2]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Translucency/Refraction in the "bulb" software  (Read 6636 times)
0 Members and 2 Guests are viewing this topic.
Tabasco Raremaster
Iterator
*
Posts: 172



WWW
« Reply #15 on: July 22, 2011, 03:19:32 AM »

The typical distance estimating functions we all use work fairly well on the inside. They are a bit slow "pulling away" from the surface. No worse than doing reflections. Just flip the "distanceMultiplier" to its negative whenever a surface is hit.
I tested this by doing some fractal xrays. Search fractal xrays on youtube if interested.

@ eiffie
Awesome examples you`ve got there. Can you please show some images made inside those objects too?
Logged

http://tabasco-raremaster.deviantart.com/

If you dislike it press; Alt+F4
eiffie
Guest
« Reply #16 on: July 22, 2011, 08:23:56 PM »

Here is a refraction and translucency example using simple fractals:
The same technique will work on boxes and bulbs you just need more patience than I have.
Something for your CPU cores to ponder.
<a href="http://www.youtube.com/v/pzkofBNsZV0&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/pzkofBNsZV0&rel=1&fs=1&hd=1</a>
Logged
eiffie
Guest
« Reply #17 on: January 24, 2012, 07:09:00 PM »

I haven't seen any examples of transparency yet besides my own. Not sure what is holding people up. Maybe I haven't given good enough examples of explained the few hangups/workarounds. Maybe I just haven't been watching all that close. Surely this can be implemented in fragmentarium. When I write a complete material script with reflection, refraction and occlusion I will try to port it to fragmentarium unless Syntopia beats me too it.
<a href="http://www.youtube.com/v/5sytDncBpU4&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/5sytDncBpU4&rel=1&fs=1&hd=1</a>
Logged
marius
Fractal Lover
**
Posts: 206


« Reply #18 on: January 24, 2012, 07:26:21 PM »

I haven't seen any examples of transparency yet besides my own. Not sure what is holding people up. Maybe I haven't given good enough examples of explained the few hangups/workarounds. Maybe I just haven't been watching all that close. Surely this can be implemented in fragmentarium. When I write a complete material script with reflection, refraction and occlusion I will try to port it to fragmentarium unless Syntopia beats me too it.

I tinkered with translucency a bit a while ago but never committed anything.

Currently looking into double precision shaders.
Appear mostly useful to slow the rendering down, not so much reveal more interesting structure..
Logged
eiffie
Guest
« Reply #19 on: January 24, 2012, 07:42:19 PM »

You are right there is a speed hit but not more than multiple reflections if the DE is properly constructed. Detail is also lost but the gain is artistic. So I think the problem IS a lack of good examples and us coders not being the best artists smiley
Logged
marius
Fractal Lover
**
Posts: 206


« Reply #20 on: January 24, 2012, 08:44:59 PM »

You are right there is a speed hit but not more than multiple reflections if the DE is properly constructed. Detail is also lost but the gain is artistic. So I think the problem IS a lack of good examples and us coders not being the best artists smiley

Ah, I meant the double precision shaders that I'm playing with take a performance hit.
Yes, the reflecting / refracting not too much, delta limiting # of rays.

True that, not being much of an artist vs. coder. You're miles ahead of me though ;-)

All the GPU renderers appear more coder / tinkerer friendly than artist friendly.
I figure the software renderers need to pick up refracting, like they did w/ reflection.
Logged
xenodreambuie
Conqueror
*******
Posts: 124



WWW
« Reply #21 on: January 24, 2012, 09:48:34 PM »

Reflection and refraction only look good when much of the object is sufficiently smooth; or if composed of small blobs or facets, they're not too small. Otherwise it tends to look too noisy. So it works best if iterations are limited, or the detail is limited or smoothed in obj export, or perhaps using different materials for areas of fine fractal detail.

More generally, for aesthetics, all colouring and lighting should be chosen to work with any fractal structure rather than against it.

I know this is secondary to implementing the possibilities in the first place.
Logged

Regards, Garth
http://xenodream.com
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #22 on: January 26, 2012, 09:00:42 AM »

that's one of the reason i wanted to code a pathtracer(marcher?) that work with distance estimation (all free/commercial available pathtracer are tracing against polygon (eg : luxrender, indigorenderer, ...).

But it's much harder to do (for me) than i hoped sad
And yes, one of the first rendering (the first?) of mandelbulb was using pathracing (hello lycium  grin )
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #23 on: January 26, 2012, 09:49:55 AM »

that's one of the reason i wanted to code a pathtracer(marcher?) that work with distance estimation (all free/commercial available pathtracer are tracing against polygon (eg : luxrender, indigorenderer, ...).

In the GitHub version of Fragmentarium, there is now support for accumulated/progressive rendering to a float (HDR) buffer (with a second pass by another custom pixel shader for tonemapping/gamma correction and post processing), so making a path tracer is not that complicated. I'm working on a new "soft"-raytracer using this, and I get  good results - using multiple rays per pixel, you get high quality anti-alias, better ambient occlusion, soft shadows without using DE hacks, and depth-of-field. And since it is progressively rendered, it is still possible to navigate interactively. I've attached a test render.

Currently looking into double precision shaders.
Appear mostly useful to slow the rendering down, not so much reveal more interesting structure..

I've also tried double precision, but was discouraged when I realized several math functions (e.g. sin, exp) were not available in double precision even in the latest GLSL specification. And on the examples where I got it working, the quality didn't visibly improve - so there must have been other issues. Besides, on consumer Nvidia hardware, doubles are very slow (1/8 speed of singles).


* soft.jpg (24.03 KB, 640x540 - viewed 216 times.)
Logged
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #24 on: January 26, 2012, 10:22:30 AM »

yay !

Code:
git pull --rebase

what raytracer should i include ? The Soft-Raytracer.frag ?

Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
Syntopia
Fractal Molossus
**
Posts: 681



syntopiadk
WWW
« Reply #25 on: January 26, 2012, 10:49:28 AM »

yay !

Code:
git pull --rebase

what raytracer should i include ? The Soft-Raytracer.frag ?


Yes - it should be compatible with the other raytracer. The Knot.frag example uses it per default, I think.
You must set the render mode to 'Continous' to render accumulated frames - otherwise only one ray is rendered per pixel.

Be aware, that it is still very experimental :-)
 
Logged
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #26 on: January 26, 2012, 10:57:12 AM »

You must set the render mode to 'Continous' to render accumulated frames - otherwise only one ray is rendered per pixel.

Haaaaa now i understand what was the problem. thank you smiley

--
Keru
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
Pages: 1 [2]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Not a standard "bulb" :) Mandelbulb Renderings David Makin 5 2608 Last post January 17, 2010, 09:04:20 PM
by David Makin
Special "offset" and "rotate" options from Fractallab possible in M3d-formula? Mandelbulb 3d « 1 2 » SaMMy 18 30475 Last post April 05, 2011, 12:20:52 PM
by DarkBeam
An "old" bulb Images Showcase (Rate My Fractal) Chaos_Ink 0 1139 Last post January 05, 2013, 08:53:44 PM
by Chaos_Ink
Benesi "pinetree" (fold+bulb) (new) Theories & Research « 1 2 ... 6 7 » M Benesi 92 4974 Last post December 16, 2015, 02:05:05 AM
by thargor6
Another way to make my Riemann sphere "bulb" using a conformal transformation (new) Theories & Research « 1 2 » msltoe 20 2759 Last post April 10, 2016, 10:20:36 PM
by gannjondal

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.176 seconds with 24 queries. (Pretty URLs adds 0.015s, 2q)