|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I am currently trying to create a set of graphics with a certain
step along the edges. Using a square tile, I want to rotate the
camera, in ortho view, so that the tile will look like this:
000000000011110000000000
000000001111111100000000
000000111111111111000000
000011111111111111110000
001111111111111111111100
001111111111111111111100
000011111111111111110000
000000111111111111000000
000000001111111100000000
000000000011110000000000
As you can see, this would allow for a perfect fit between the tiles.
Unfortunately, after many tries, I have been unable to get this done.
If anyone can help me get the right camera settings, I would be
thankful indeed :-)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
NullVoid <nomail@nomail> wrote:
> As you can see, this would allow for a perfect fit between the tiles.
> Unfortunately, after many tries, I have been unable to get this done.
> If anyone can help me get the right camera settings, I would be
> thankful indeed :-)
Did you try with a 'rotate' command at the end of the camera block?
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I've been trying just that, unfortunately, it seems I can't find just the
right angle. Also, I made a mistake in the above diagram. One of the middle
lines ought to be removed, as such:
000000000011110000000000
000000001111111100000000
000000111111111111000000
000011111111111111110000
001111111111111111111100
000011111111111111110000
000000111111111111000000
000000001111111100000000
000000000011110000000000
These are my current camera settings:
camera {
orthographic
location <0,0,1>
look_at <0,0,0>
right 1*x
up 1*y
rotate <52, 0, 45>
}
I've only been rotating the first number, and the closest I got so far
was as the first diagram was, but after I realized my mistake, I kept
changing
the rotation, with no luck.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"NullVoid" <nomail@nomail> wrote in
news:web.4254061f95e2a3f311f34f480@news.povray.org:
[snip]
>
> 000000000011110000000000
> 000000001111111100000000
> 000000111111111111000000
> 000011111111111111110000
> 001111111111111111111100
> 000011111111111111110000
> 000000111111111111000000
> 000000001111111100000000
> 000000000011110000000000
>
[snip]
>
> I've only been rotating the first number, and the closest I got so far
> was as the first diagram was, but after I realized my mistake, I kept
> changing
> the rotation, with no luck.
I have no experience with ortho cameras, so don't shoot me if this
doesn't work, but maybe you want to try:
camera {
orthographic
location <0,1,0> // change the y value to be higher if you want a
//picture from farther away
look_at <0,0,0>
right 1*x
up 1*y
rotate <0,45,0>
}
Maybe it works?
Just my two cents.
-Mike C
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|