XML Feeds

.

[jitter] Re: Re: sharing is fun - Math Surface Shader

(())_n kinomatic at gmail.com
Mon Sep 17 20:37:40 MDT 2007


Hiya peepz,

I've been following this thread for a while and it is really fun.  
This is my first attempt at 3D open GL, so I am having quite a time  
with it. I sat and watched Dan Vatsky at Share the other week and we  
were wondering why it isn't possible to morph a 3D shape he had  
designed in maya in Jitter. And you guys point us in the some near  
direction of that now!

Basically I wrote the shader to mix() between two of the shapes  
documented on the website mentioned in the beginning of this thread.  
Values for the param "sphere" - 0. shows the owl shape and 1. shows  
the mobius strip. After some tuning of the incoming points each  
formula seems to work and the fade does too. What I am having  
difficulty with is the lighting and adding a video texture.

Am I right to assume that the lighting and texturing is done for each  
point on the shape (and only one "side") and not as a shape in  
general and that is why the lighting and texturing don't quite work?

Surprisingly I could figure out the math, but I am fairly new to  
this. Any explanation on what is happening with lighting and  
texturing and how it might work would help.

Thanks again for all the sharing and the great ideas on the list.

(())_n
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mobiusowl.zip
Type: application/zip
Size: 5528 bytes
Desc: not available
Url : http://www.cycling74.com/pipermail/jitter/attachments/20070917/8656ffac/mobiusowl.zip
-------------- next part --------------



More information about the jitter mailing list