Shader tests

General questions about Indigo, the scene format, rendering etc...
Post Reply
223 posts
User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Jul 26, 2008 7:28 am

A new test:

Image

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Sat Jul 26, 2008 7:33 am

please attach image to post. site is blocked!

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Jul 26, 2008 7:44 am

hehe, deviant art is blocked for you? get back to work Whaat! :)
Sorry, but it's a massive png which I don't want to burden my poor server with.

Deus
Posts: 336
Joined: Sun Feb 04, 2007 3:47 am

Post by Deus » Sat Jul 26, 2008 7:56 am

BUT TELL ME HOW I CONTROL TRANSPARENCY GOT DAMNIT! ;)

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Jul 26, 2008 8:04 am

lol, wait for the next release, I'll tell you more.

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Jul 26, 2008 8:09 am

Actually this one could have been done without a shader, because it uses the identity texture coordinate mapping :)

Image

StompinTom
Indigo 100
Posts: 1828
Joined: Mon Sep 04, 2006 3:33 pm

Post by StompinTom » Sat Jul 26, 2008 12:06 pm

you animal.

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Sat Jul 26, 2008 12:08 pm

jesus christ. those 2 pngs are 3.7 MB each. :shock:

nice renders though ;)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sat Jul 26, 2008 9:47 pm

great renders! :D

User avatar
Grimm
Posts: 119
Joined: Sun Dec 09, 2007 7:38 pm
Location: Fairbanks, Alaska, USA

Post by Grimm » Sun Jul 27, 2008 11:22 am

Here is a test of procedural marble.

http://www.frostyfoot.com/images/marble-test.png

I got stymied when I tried to get more control over the noise. The div function had an error when I tried to divide two reals.

Code: Select all

Error: IndigoDriverExcep: SceneLoaderExcep: Builder: no function with signature div : real * real declared or defined.  (In element 'shader', around line 141, column 13)
Also it would be really, really nice to have a scale parameter for the noise functions.

Thanks Ono getting better and better. :)
Grimm

User avatar
Borgleader
Posts: 2149
Joined: Mon Jun 16, 2008 10:48 am

Post by Borgleader » Sun Jul 27, 2008 11:28 am

Wow ono, that flower thing is awesome.

User avatar
Grimm
Posts: 119
Joined: Sun Dec 09, 2007 7:38 pm
Location: Fairbanks, Alaska, USA

Post by Grimm » Sun Jul 27, 2008 4:22 pm

Some more shader fun:

Image
Grimm

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Jul 27, 2008 9:07 pm

lol nice but far from marble or bone^^
Still, well done, great start :)

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sun Jul 27, 2008 11:43 pm

Grimm wrote:Here is a test of procedural marble.

http://www.frostyfoot.com/images/marble-test.png

I got stymied when I tried to get more control over the noise. The div function had an error when I tried to divide two reals.

Code: Select all

Error: IndigoDriverExcep: SceneLoaderExcep: Builder: no function with signature div : real * real declared or defined.  (In element 'shader', around line 141, column 13)
Also it would be really, really nice to have a scale parameter for the noise functions.

Thanks Ono getting better and better. :)
Oops yeah I commented out the div function.

As for scaling the noise: just multiply the position vector by a scalar before you pass it into the noise() function. Also try FBM, it gives nicer (more complex) noise than the simple noise() function.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Sun Jul 27, 2008 11:53 pm

Is it possible to "Warp" that pattern around FBM to get slight irregular deformations of the pattern?

Post Reply
223 posts

Who is online

Users browsing this forum: No registered users and 24 guests