Old 2nd February 2012, 07:57   #1
patipano
Junior Member
 
Join Date: Jan 2012
Posts: 20
How you apply algebraic geometry in AVS?

Did you set up the equations (Algebraic Geometry like Chmutov Surface, Tunnel) in your paper and then coding to AVS?
How did you do that ?
patipano is offline   Reply With Quote
Old 10th February 2012, 17:08   #2
patipano
Junior Member
 
Join Date: Jan 2012
Posts: 20
http://homepage.univie.ac.at/herwig....e/gallery.html
This is the website that contains lots of awesome algebraic surfaces but i dont know how to apply it (In Dynamic Movement)
patipano is offline   Reply With Quote
Old 20th February 2012, 19:40   #3
Synth-C
Junior Member
 
Synth-C's Avatar
 
Join Date: Aug 2003
Location: The Netherlands
Posts: 47
You can do raytracing in DM's, which allows you to graph the type of equations.
Read a tutorial or book on raytracing, that should theach you the basics.
If the equation has an analytic solution it's not that hard (check out my Lift-Off pack for some examples of raytraced sphere's and cylinders. Feel free to use anything, just give credit
where credit is due.) For the cooler surfaces, you'll need an approximate solver, take a look at UnConed's presets like VJ Chmutov for and example.
Synth-C is offline   Reply With Quote
Old 23rd February 2012, 13:31   #4
patipano
Junior Member
 
Join Date: Jan 2012
Posts: 20
Do you have an example of raytracing tutorial? (.pdf or website)
patipano is offline   Reply With Quote
Old 24th February 2012, 16:17   #5
patipano
Junior Member
 
Join Date: Jan 2012
Posts: 20
What I did wrong about solving sphere? I got the distorted sphere or my knowledge (theory of raytracing) was wrong.

code:

Pixel:
x1=x;y1=y*asp;z1=1;
y2=y1*xc-z1*xs;z2=y1*xs+z1*xc;
x2=z2*ys+x1*yc;z3=z2*yc-x1*ys;
x3=x2*zc-y2*zs;y3=y2*zc+x2*zs;

dx=x3;dy=y3;dz=z3;
a=sqr(dx)+sqr(dy)+sqr(dz);
b=2*(dx*ox+dy*oy+dz*oz);
c=sqr(ox)+sqr(oy)+sqr(oz)-3;
q=sqr(b)-4*a*c;

k=(-b+sqrt(q))/(2*a);
ix=ox+dx*k;iy=oy+dy*k;iz=oz+dz*k;
x=ix/(iz+2);
y=iy/(iz+2);

Attached Files
File Type: zip Abnormal Sphere.zip (550 Bytes, 302 views)
patipano is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS

Tags
algebra, equation, geometry, mathematics, surface

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump