|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Nicolas George wrote:
> For example, consider the following code:
>
> #local n = 10;
> #local t = 0;
> #while(t < 1)
> #local t = t + 1/n;
> #end
>
Well, t's a a reserved identifier, but otherwise....
If you change it count from 0 to "< 10" in increments of 1 (ie in integers), it's
fine.
Dan
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Dan Connelly wrote:
> If you change it count from 0 to "< 10" in increments of 1 (ie in
> integers), it's fine.
Yes, that's exactly the point. Use integers instead of floats.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
stbenge <THI### [at] hotmailcom> wrote:
> #declare native_motif=
> pigment{
> gradient y triangle_wave
> #declare V=0;
> #while(V<1)
> translate y*.75
> rotate z*45.2
> //rotate -z*45.1
> scale .98
> warp{repeat x*5 flip x}
> #declare V=V+1/100;
> #end
> scale .1
> }
I just want to say this is so much fun to play around with. Thanks for sharing
it.
Janet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Janet" <par### [at] attnet> wrote:
>
> I just want to say this is so much fun to play around with. Thanks for sharing
> it.
>
My mother would have given her eye teeth for a pattern generator like this. I
can see her using it for Fair Isle jumpers.
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Stephen wrote:
> My mother would have given her eye teeth for a pattern generator like this.
Now that you mention it, I think I've found the basis of a macro for my
walk-thru castle's tapestries. :-)
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Janet wrote:
>
> I just want to say this is so much fun to play around with. Thanks for sharing
> it.
>
> Janet
Your welcome :)
Sam
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Stephen wrote:
> "Janet" <par### [at] attnet> wrote:
>
>> I just want to say this is so much fun to play around with. Thanks for sharing
>> it.
>>
>
> My mother would have given her eye teeth for a pattern generator like this. I
> can see her using it for Fair Isle jumpers.
>
> Stephen
Eye teeth? Are those little stones you put into your teeth? If so, I
thought Kim Stanley Robinson came up with that...
Oh, I just remembered why I didn't post this pattern before. Your
message reminded me that I once had plans to generate textile patterns
with the hopes of selling them, using this generator. Oh well, maybe one
of you can do it ;)
Sam
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
stbenge <THI### [at] hotmailcom> wrote:
>
> Eye teeth? Are those little stones you put into your teeth? If so, I
> thought Kim Stanley Robinson came up with that...
>
LOL, Your eye teeth are your canine teeth and those gem stones are an African
thing to show your wealth.
> Oh, I just remembered why I didn't post this pattern before. Your
> message reminded me that I once had plans to generate textile patterns
> with the hopes of selling them, using this generator. Oh well, maybe one
> of you can do it ;)
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> // Code
> // render with +w500 +h500
>
> global_settings{assumed_gamma 2.2}
>
> #default{finish{ambient 1}}
>
> camera{
> orthographic
> right x*2 up y*2
> location -z*100 look_at 0
> }
>
> #declare native_motif=
> pigment{
> gradient y triangle_wave
> #declare V=0;
> #while(V<1)
> translate y*.75
> rotate z*45.2
> //rotate -z*45.1
> scale .98
> warp{repeat x*5 flip x}
> #declare V=V+1/100;
> #end
> scale .1
> }
>
> plane{z,-1
> pigment{
> native_motif
> color_map{[0 rgb 0][.5 rgb<.5,.3,.1>][1 rgb 1]}
> }
> }
>
This was exactly what I was talking about... well, I didnt expected something as
beautiful as this!!! it is incredible!!! Congratulations.
Well, at this point I have to say that I have discovered two promissing ways in
Blender to improve its not-so-good textures generator. One is to use nodes
(still dont know exactly what it is). The other way is that you can program
things in phyton, still dont know if you can program textures...
I will probably try with nodes, but I wont with Phyton. I have too many
programation languages in my head. Dont want another one!!!!
We'll always have PovRay!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
stbenge wrote:
> Everything hinges on that darned GUI! The developers have to find ways
> to incorporate new features into the program without making the GUI a
> difficult monstrosity to contend with. More procedurals would be nice,
> and wouldn't add unnecessary clutter.
OTOH, seems like Blender is getting node-based textures, so
textures-inside-textures is now possible. :)
http://www.blendernation.com/2008/11/13/new-feature-in-development-texture-nodes/
http://www.blendernation.com/wp-content/uploads/2008/11/manual-part-iv-texture-node-example.png
I don't have a problem with Blender's GUI, but then, it's the only 3D
editor I know. What I like about it the most is all the keyboard
shortcuts, so that I hardly use the mouse to do anything other then mesh
editing.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |