![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
A WIP to be finished for once perhaps? ;)
This is my scene that seemes to become something of a inner yard to a
castle. Sadly for the catapult people that cant get out of the gate
though... ;)
Umm, yes, this is what came after the "door in a wall" posted below.
Will add a few more walls in the back and do something with the tower...
etc, etc.. and try to make that straw roof not to look so repetitive...! :/
Ok, so do you feel the wings of history echoing? ;)
Enjoy!
Post a reply to this message
Attachments:
Download 'castle_gard2.jpg' (347 KB)
Preview of image 'castle_gard2.jpg'
![castle_gard2.jpg](/povray.binaries.images/attachment/%3Cweb.45d22ac797abfa8047d3ae5e0%40news.povray.org%3E/castle_gard2.jpg?ttop=443866&toff=4000&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nice idea. But it should be a little more realistic. You can randomize
stones, for example random little translation from normal position, and
random little rotation around Y axis (just few degrees, for example -5
degree, +5 degree). I think that textures are ok but castle looks to much
"ideal" and thats why it is not so much realistic.
But it's nice picture.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Woland" <ziz### [at] wp pl> wrote:
> Nice idea. But it should be a little more realistic. You can randomize
> stones, for example random little translation from normal position, and
> random little rotation around Y axis (just few degrees, for example -5
> degree, +5 degree). I think that textures are ok but castle looks to much
> "ideal" and thats why it is not so much realistic.
> But it's nice picture.
Would adding the rand*rotation at the original declared single stone rotate
each stone randomly. Or would every single stone be "equally" randomly
rotated?
Thanks for the tip!
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Gotta check if that can be done to the hay roof as well! :)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
RusHHouR wrote:
> "Woland" <ziz### [at] wp pl> wrote:
>> Nice idea. But it should be a little more realistic. You can randomize
>> stones, for example random little translation from normal position, and
>> random little rotation around Y axis (just few degrees, for example -5
>> degree, +5 degree). I think that textures are ok but castle looks to much
>> "ideal" and thats why it is not so much realistic.
>> But it's nice picture.
>
> Would adding the rand*rotation at the original declared single stone rotate
> each stone randomly. Or would every single stone be "equally" randomly
> rotated?
>
If the original is declared using "#declare", then it would rotate
all stones equally. If it is declared using a macro, then each would
be rotated individually...
Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
| mailto:jeb### [at] free fr | ICQ: 238062172 |
| http://jeberger.free.fr/ | Jabber: jeb### [at] jabber fr |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFF10Cdd0kWM4JG3k8RAsRnAKCwB/xz4v2t7s6CrdDGg/jKYMxKugCeK9/D
cuumQwgC8R2u6NK+svPIDLI=
=1zYl
-----END PGP SIGNATURE-----
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> >
> > Would adding the rand*rotation at the original declared single stone rotate
> > each stone randomly. Or would every single stone be "equally" randomly
> > rotated?
> >
> If the original is declared using "#declare", then it would rotate
> all stones equally. If it is declared using a macro, then each would
> be rotated individually...
>
> Jerome
Ouch... that is confirmed. :/
It's a simple basic declaration of course.
Im so tired of not being best in the worlds at sdl...
And the word "macro" scares me.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi RusHHouR!
RusHHouR wrote:
> And the word "macro" scares me.
No need for that! It's really not too hard. Try this:
---%<---
/* We need a random seed if we want to use rand() */
#declare Seed = seed(54890);
#declare Stone = /* Your stone object here */
#macro Rotated_Stone()
/* Create a vector with random components (within 0 and 1) */
#local Random_Vector = <rand(Seed),rand(Seed),rand(Seed)>;
/*
Until now, the random vector has components from 0..1,
we need them to go from -1 to 1. We subtract 0.5 (then
it goes from -0.5 to 0.5 and double it, and multiply it
by the maximum amount of rotation we want, here 10
degrees.
*/
#local Random_Degrees = (Random_Vector - 0.5)*2*10;
object {
Stone
rotate Random_Degrees
}
#end
/*
Now everywhere you've used object { Stone } before just use
object { Rotated_Stone() }
*/
--->%---
Should work, although I haven't tested it :)
HTH,
Florian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Florian Brucker" <tor### [at] torfbold com> schreef in bericht
news:45d8395f@news.povray.org...
> Until now, the random vector has components from 0..1,
> we need them to go from -1 to 1. We subtract 0.5 (then
> it goes from -0.5 to 0.5 and double it, and multiply it
> by the maximum amount of rotation we want, here 10
> degrees.
Personally, I find it easier to use RRand(min,max,R) from the rand.inc
example:
#declare R=seed(1010);
object {.....
rotate RRand(-1,1,R)*y
....
}
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thomas de Groot wrote:
> Personally, I find it easier to use RRand(min,max,R) from the rand.inc
Hm, looks good, didn't know it :)
> example:
> #declare R=seed(1010);
>
> object {.....
> rotate RRand(-1,1,R)*y
> ....
> }
The degrees are missing, but in this case one could just use
rotate RRand(-10,10,R)*y
Regards,
Florian
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
You guys are the best. Im trying it out right now. :)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |