GPU Tex
Started by: Craig MacomberCraig Macomber
On: 1234138478|%e %b %Y, %H:%M %Z|agohover
Number of posts: 7
rss icon RSS: New posts
Summary:
Shaders
GPU Tex
Craig MacomberCraig Macomber 1234138478|%e %b %Y, %H:%M %Z|agohover
GLSLTex1.png

2 textures mixed with 2 octaves of noise all on the GPU. 4 fps so render time of 1/4 second for 512*512 on my crappy graphics card. Now I just need something that will let me get that image in a usable way. I did manage to get rendering to textures working, but I haven't managed to get shaders running in RealBasic yet. OpenGL ftw.

unfold GPU Tex by Craig MacomberCraig Macomber, 1234138478|%e %b %Y, %H:%M %Z|agohover
Re: GPU Tex
Craig MacomberCraig Macomber 1234139969|%e %b %Y, %H:%M %Z|agohover
GLSLTex2.png

Here is another one with s slightly different shader and a few other things cleaned up a bit. .233 second render time (4.26 fps). Don't worry about the black part. OpenGL dislikes screen shots apparently because it was all there.

unfold Re: GPU Tex by Craig MacomberCraig Macomber, 1234139969|%e %b %Y, %H:%M %Z|agohover
Re: GPU Tex
Craig MacomberCraig Macomber 1234148666|%e %b %Y, %H:%M %Z|agohover
GLSLTex3.png

Half second render here with 4 textures and 4 noise samples. Edit: I updated the image. Better beach technology now :).

last edited on 1234151286|%e %b %Y, %H:%M %Z|agohover by Craig Macomber + show more
unfold Re: GPU Tex by Craig MacomberCraig Macomber, 1234148666|%e %b %Y, %H:%M %Z|agohover
Re: GPU Tex
Craig MacomberCraig Macomber 1234161096|%e %b %Y, %H:%M %Z|agohover
GLSLPlanet1.png

I thought you might want to see it on a sphere.
My computer has a Intel GMA 950 graphics card, and runs a 512*512 at 2.4 fps. My test on a Intel GMA X3100 resulted in 20 fps, and by most standards, even that is not a good graphics card.

unfold Re: GPU Tex by Craig MacomberCraig Macomber, 1234161096|%e %b %Y, %H:%M %Z|agohover
Re: GPU Tex
Matt RMatt R 1234214400|%e %b %Y, %H:%M %Z|agohover

Looks awesome craig! I look forward to seeing how it looks when you add in the polar regions in the north and south.

unfold Re: GPU Tex by Matt RMatt R, 1234214400|%e %b %Y, %H:%M %Z|agohover
Re: GPU Tex
PhenocaPhenoca 1239901678|%e %b %Y, %H:%M %Z|agohover

:D I like the second one. It looks cool! It looks like… A topographic map (showing elevation).

*gasp*

I thought you might want to see it on a sphere.

You got the trimeshing working. This is… Spherical!
Oh my - congratulations! Was this using OpenGL or the planetary-rendering code?

Edit: Phenoca has a new desktop-background (see planet above).

last edited on 1239901811|%e %b %Y, %H:%M %Z|agohover by Phenoca + show more
unfold Re: GPU Tex by PhenocaPhenoca, 1239901678|%e %b %Y, %H:%M %Z|agohover
Re: GPU Tex
Craig MacomberCraig Macomber 1239917735|%e %b %Y, %H:%M %Z|agohover

These were all done in Quartz Composer, so nothing here but the shaders are really my work (the sphere and system for using the shaders is built in). It will be a while until I have the shaders in game.

unfold Re: GPU Tex by Craig MacomberCraig Macomber, 1239917735|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License