Jump to content

Librarian

Recommended Posts

  • 2 weeks later...

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
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...

@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

Link to comment
Share on other sites

  • 3 weeks later...
//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
Link to comment
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
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
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
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
  • 2 months later...
2 hours ago, Librarian said:

Thanx to Asia Forums
 

012243v.jpg

Picture look like cellular automata in 3d space, is it?

if you could export it to magical voxel, that could make a great shinning palace :)

And don't be shy, make it grow my friend!

________________________________________________________________

Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts

 http://fr.linkedin.com/in/vincentthomas

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...