News: Follow us on Twitter
 
*
Welcome, Guest. Please login or register. August 01, 2014, 03:51:47 PM


Login with username, password and session length



Pages: 1 2 [3]   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: Realtime rendering on GPU  (Read 11692 times)
0 Members and 1 Guest are viewing this topic.
Syntopia
Fractal Bachius
*
Posts: 585



syntopiadk
WWW
« Reply #30 on: April 21, 2012, 09:45:04 PM »

Great images, and kudos for creating an entire 3D bluray production.

Your movies look texture-mapped. Do you project 2D textures onto the fractals?

I've tried this myself, using the following approach:
Code:
vec3 color = texture2D(tex, p.yz)*normal.x
     + texture2D(tex, p.xz)*normal.y
     + texture2D(tex, p.xy)*normal.z;
Basically, to avoid the texture looking stretched in some directions, I choose the projection based on the surface normal. This works, but the resulting texture will be blended together of several textures.

Here is an example:


Here the same image with a grid texture:


But the method works best when the surface hasn't got rapidly varying surface normals.

How do you project onto 3D?
Logged
alexl
Navigator
*****
Posts: 64


WWW
« Reply #31 on: April 21, 2012, 11:11:03 PM »

Great images, and kudos for creating an entire 3D bluray production.

Your movies look texture-mapped. Do you project 2D textures onto the fractals?

I've tried this myself, using the following approach:
Code:
vec3 color = texture2D(tex, p.yz)*normal.x
     + texture2D(tex, p.xz)*normal.y
     + texture2D(tex, p.xy)*normal.z;
Basically, to avoid the texture looking stretched in some directions, I choose the projection based on the surface normal. This works, but the resulting texture will be blended together of several textures.

But the method works best when the surface hasn't got rapidly varying surface normals.

How do you project onto 3D?
I use the same approach:

vec4 surface_3D(float zoom, vec3 pos, vec3 norm)
{
   vec4 surf1=surface(zoom*pos.yx); // left/right
   vec4 surf2=surface(zoom*pos.yz); // vert
   vec4 surf3=surface(zoom*pos.xz); // top

   vec3 blend_weights = abs(norm.zxy);
   blend_weights /= (blend_weights.x + blend_weights.y + blend_weights.z );

   return  (surf1*blend_weights.x + surf2*blend_weights.y + surf3*blend_weights.z);

}

It is a fake, of course but ... it works. smiley

I used also:
    vec3 blend_weights = abs(norm.zxy);
    blend_weights = smoothstep(0.5,1.0,blend_weights);   
    blend_weights /= (blend_weights.x + blend_weights.y + blend_weights.z );

Sometimes it looks better but it depends on picture.

Logged

Syntopia
Fractal Bachius
*
Posts: 585



syntopiadk
WWW
« Reply #32 on: April 21, 2012, 11:41:17 PM »

I use exactly the same normalization, just with an added power function to control the transition:
Code:
n = pow(abs(n),P);
n/= (n.x+n.y+n.z);
I've also found this: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch01.html where a slightly differnt blending function is used.
Logged
alexl
Navigator
*****
Posts: 64


WWW
« Reply #33 on: April 22, 2012, 12:23:36 AM »

I use exactly the same normalization, just with an added power function to control the transition:
Code:
n = pow(abs(n),P);
n/= (n.x+n.y+n.z);
I've also found this: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch01.html where a slightly differnt blending function is used.

Yeah, they use:
blend_weights = (blend_weights - 0.2) * 7;   
blend_weights = max(blend_weights, 0);     

I tested nvidia algorithm but I do not see significant difference.
Logged

alexl
Navigator
*****
Posts: 64


WWW
« Reply #34 on: April 30, 2012, 09:08:42 PM »

Video on youtube:
<a href="http://www.youtube.com/v/eNIzC7QipLE&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/eNIzC7QipLE&rel=1&fs=1&hd=1</a>
Logged

alexl
Navigator
*****
Posts: 64


WWW
« Reply #35 on: November 14, 2012, 10:20:24 PM »

One more video:

<a href="http://www.youtube.com/v/snTL81mewz8&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/snTL81mewz8&rel=1&fs=1&hd=1</a>

http://player.vimeo.com/video/53626373

Hardware:


CPU: i7 3770
GPU: GTX680.
« Last Edit: November 21, 2012, 10:28:08 PM by alexl » Logged

weavers
Fractal Fertilizer
*****
Posts: 388


« Reply #36 on: November 16, 2012, 04:34:32 AM »

_______________________________________________________________________________________________________________________ ______

Greetings and Salutations Master, ALEXI Its been a million hours or more, you've been busy!

THERE you go again, taking us along for another one of your great fractal time cruises in fractal mind scape alternate, Time, away from out of our comfort zone, of knowns time, to unknown spatial time!

Long live the total time, every second spliced by your mind to our kind,  you do so pleasure our eyes with this journey, which proves to us, you're a Time Raider Pirate Traveler, full of intriguing visions! You definite got this viewers attention, great job! Glad to see your work! We really appreciate it and don't mind telling you so! What we see here is : We appear to be in a Fractal Jungle, a forest in breeding, there are distance spires, lines, cables, electrical lines, that are alive and hanging resembling spiders and circles, portals belonging to mind scape's too scary for us to follow! Again love your background skies so real!
Thanks for sharing this mentsl taxi ride, into one of your minds super creations! Really cool! Enjoyed the trip! Yes, the music is perfect! It more than tells the story. It says it all, within its beauty lies dark tantalizing touches of danger, good, we are dare devils anyway, unafraid,
Thanks again!





The Fractal Forum  the possibilities are infinite

.
« Last Edit: November 16, 2012, 04:37:31 AM by weavers » Logged
M Benesi
Fractal Bachius
*
Posts: 560



WWW
« Reply #37 on: November 17, 2012, 01:35:07 AM »

Nice videos, peaceful.  Jealous of the hardware too! 
Logged

alexl
Navigator
*****
Posts: 64


WWW
« Reply #38 on: March 25, 2013, 09:11:24 PM »

Screenshot:

Logged

cbuchner1
Fractal Phenom
******
Posts: 440


« Reply #39 on: March 25, 2013, 10:58:16 PM »

I just placed an order for the Blu Ray. Surprisingly your order page sent me right to Paypal.

I am situated in Germany. The shipping address stored in PayPal states "Deutschland" as country, I hope this is translated to "Germany" automatically when PayPal sends you the recipient Information. Otherwise Canadian post might get confused.

Your shipping rate seems relatively low. Let me know if I need to send additional funds in order to have this shipped internationally.

At this price, the 3D Blu Ray seems a steal.
« Last Edit: March 26, 2013, 10:32:36 AM by cbuchner1 » Logged
alexl
Navigator
*****
Posts: 64


WWW
« Reply #40 on: March 26, 2013, 06:37:55 PM »

The disc has been sent to your address today smiley
I hope you have a 3D TV.
P.S. As far as see, you live in an apartment building, but your address do not include the number of the apartment.
« Last Edit: April 18, 2013, 02:53:37 PM by alexl » Logged

cKleinhuis
Administrator
Fractal Senior
*******
Posts: 5442


formerly known as 'Trifox'


WWW
« Reply #41 on: March 26, 2013, 07:16:16 PM »

Ehrm please discus private details in private!
No need for appartment num here wink
Logged

---

divide and conquer - iterate and rule - chaos is No random!
cbuchner1
Fractal Phenom
******
Posts: 440


« Reply #42 on: March 27, 2013, 11:45:07 AM »

Ehrm please discus private details in private!
No need for appartment num here wink

Right, the recipient's name genereally identifies the apartment here. Which occasionally confuses the post man if two building residents have similar sounding names. wink

I am looking forward to this disc. I own a 3D monitor and intend to buy a 3D TV soon.

Christian
Logged
alexl
Navigator
*****
Posts: 64


WWW
« Reply #43 on: March 27, 2013, 06:57:48 PM »

This content has been optimized for 55" screen. If you have 40" -70" - it's OK, but I think that your monitor is 27" or something like that. The thing is that the objects can be located quite close to the viewer (half of the distance to the screen). In case of big TV screen that's fine, but if you use a monitor, it may be too close to your eyes.

One more screenshot (new stuff):



... and video (see screenshot 3 posts above):

<a href="http://www.youtube.com/v/-itQwiAqo9M&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/-itQwiAqo9M&rel=1&fs=1&hd=1</a>
« Last Edit: March 29, 2013, 12:00:23 AM by alexl » Logged

alexl
Navigator
*****
Posts: 64


WWW
« Reply #44 on: May 13, 2013, 06:46:07 PM »

"Our World is a Crazy Fractal"
Video:

<a href="http://www.youtube.com/v/Nn9_JGPA9j0&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/Nn9_JGPA9j0&rel=1&fs=1&hd=1</a>
Logged

Pages: 1 2 [3]   Go Down
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Realtime rendering/optimisations Mandelbulb Implementation « 1 2 » Enforcer 15 6787 Last post October 04, 2010, 09:27:41 AM
by keldor314
Where are the realtime GPU mandelboxes? 3D Fractal Generation « 1 2 3 » cbuchner1 36 17629 Last post December 15, 2010, 11:47:10 AM
by visual.bermarte
Realtime mandelbox. Images Showcase (Rate My Fractal) Zelcious 2 914 Last post June 01, 2011, 03:42:45 AM
by Tabasco Raremaster
realtime Mandelbox Movies Showcase (Rate My Movie) ld0d 3 827 Last post October 23, 2011, 09:32:36 AM
by ld0d
realtime gpu render?! 3D Fractal Generation slon_ru 1 828 Last post February 10, 2013, 01:52:06 AM
by Apophyster

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines

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