Jump to content

Recommended Posts

Fractals Vol and some ex with L-system + using Rest to Paint and Make In solver different Textures(tip with solver in this Topic You can make texture like Flow in The edges easy and fast)  and Other Stuff Sky its Limit .
Tip if you combine script from this Topic for diff projection you can make some nice Fractal (sensitive to number).Tip if you use l-system with chops and Paint rest you can make Fractal City 20 sec.
Have Fun.:wub:


 

gft0000.jpg

Fractals Paint and Texture Making.hiplc

  • Like 1

Share this post


Link to post
Share on other sites

Hello And Have Fun -and Thanx For All Students
Complex Math and Python it Works in 18.5.408 just download scipy
One Ex of Many More
 

ssss.jpg

MATH.rar

grwww0850dsssssdddffssddd.gif

ssad.jpg

ssadd.jpg

grwww0850dsssssdddffssdddd.gif

Edited by Librarian
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Collections of OSL shaders for Renderman plus some expressions to mimic scanning electron microscope.
 

OslShaderss.hiplc

dgs.jpg

ddasa.jpg

dgss.jpg

Edited by Librarian
  • Like 3

Share this post


Link to post
Share on other sites

Hi Librarian,

 

oslshaderss.hiplc:

Unfortunately the Tactic Shader has a problem witht the sem_moise PXROSL (explanation mark). So no rendering is possible. Houdini crashes without anything...

Share this post


Link to post
Share on other sites

@Follyx It works here on 18.0.532
maybe because i have already saved (os and osl shader) in some Folder ..Glitch or something (maybe error From mine Side ) ...Just Google Shaders Renderman EDU and you gonna Find 20000 Students Sharing Shaders Codes..Have FUn
 

sdfggcss.jpg

Share this post


Link to post
Share on other sites
//detail
int prim0 = addprim(0,"poly");
setprimattrib(0,"Cd",prim0,{0,0,0});

float u;
float r;
vector center;
vector pos;

int n = 100;

for(int i = 0;i<n;i++){
    u = float(i)/(n-1);
    u *= 3*PI;
    if(u<PI){
        r=1.0;
        center={0,0,0};
        pos = center+r*set(cos(u),sin(u),0);
        }else if(u >= PI && u < 2 *PI){
        
            r = 0.5;
            center= {-0.5,0,0};
            pos = center+r*set(cos(u),sin(u),0);
            
            }else{
            r = 0.5;
            center= {0.5,0,0};
            pos = center+r*set(-cos(u),sin(u),0);
            
            
            }
            
            pos.x *= -1;
            addvertex(0,prim0,addpoint(0,pos));
            
            
            }
//cir
  
int prim1 = addprim(0,"circle",addpoint(0,{0,0,-0.001}));
matrix3 scale = 1;
scale(scale,0.1);

int prim2 = addprim(0,"circle",addpoint(0,{0.5,0,0.01}));
setprimintrinsic (0,"transform",prim2,scale);

int prim3 = addprim(0,"circle",addpoint(0,{-0.5,0,0.01}));

setprimintrinsic(0,"transform",prim3,scale);
setprimattrib(0,"Cd",prim3,{0,0,0});
            


Yin and yang

g.jpg

  • Like 1

Share this post


Link to post
Share on other sites

Make beautify patterns with arrays
 

int dim = chi("dim");
int prim;
int pt;
int npt = chi("npt")*dim;
int pts[];
int randn;
int randpt;

   for(int i;i<dim;i++){
       addprim(0,"polyline");
       }
       
vector2 uniform_num;
for(int i;i<npt;i++){
    uniform_num = set(i%dim,i/dim);
    pt = addpoint(0,uniform_num);
    prim = uniform_num.x;;
    addvertex(0,prim,pt);
    
    if(prim == 0){
        pts = array(i+1,i+1+dim,i+1-dim);
        
        }else if (prim == dim-1){
         pts =array(i-1,i-1+dim,i-1-dim);
         
         }else if (uniform_num.y==0){
         pts = array(i+dim,i+dim+1,i+dim-1);
         }else if (uniform_num.y == chi("npp")-1){
         pts = array(i-dim,i-dim+1,i-dim-1);
         }else{
         pts =array(i-1,i+1,i+dim+1,i+dim-1,i-dim+1,i-dim+1);
         }
         if(i == 0){
            pts =array(i+dim,i+1,i+dim+1);
            }
            
            if (i == dim-1){
            pts = array ( i+dim,i-1,i+dim-1);
            }
            if (i == npt -dim){
            pts = array ( i-dim,i+1,i-dim+1);
            }
            if (i == npt -1){
            pts = array ( i-dim,i-1,i-dim-1);
            }
            
          int pts_no[];
          foreach(int ptn;pts){
          if(ptn<i){
          
                append(pts_no,ptn);
                }
                
           }
           
           
           setpointattrib(0,"pts",pt,pts);
           setpointattrib(0,"pts_no",pt,pts_no);
           
           randn = floor(len(pts_no)*rand(i));
           randpt = pts_no[randn];
           setpointattrib(0,"randpt",i,randpt);
           
           }

 

fff.jpg

ffsfd.jpg

LInndaaa.jpg

  • Like 4

Share this post


Link to post
Share on other sites

This we gonna use For CNC tooling on Balsa and making "Schablone"  for Wood Components . Donne
 

dfssse.jpg

sfa555.jpg

  • Like 2

Share this post


Link to post
Share on other sites

Thanx Asia Forums and @talkyren I Found Perfect Flower Higanbana and Nice tricks in VEX yupiiii ..It has million Option for improvement ...Have Fun.



 

Scxggsdssddd.gif

HCVOD.hiplc

Share this post


Link to post
Share on other sites
On 2/21/2021 at 3:38 PM, Librarian said:

Thanx Asia Forums and @talkyren I Found Perfect Flower Higanbana and Nice tricks in VEX yupiiii ..It has million Option for improvement ...Have Fun.
 

image.thumb.png.81cd79b841a58295cdf7f91abe672739.pngnow experimenting with flowers) moving towards more control - this is the past iteration)  disappointed with l-system - bad animation, not enough attributes in the output...  )))) BUT I have MANYALOTOF fun with flowers) it's like japanise kalligraphy - very interesting) p.s. google english)

  • Like 1

Share this post


Link to post
Share on other sites

Hi Librarian! 

I've read the thread and it blew my mind want to learn what you've shown so far. Thank you!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×