POV-Ray : Newsgroups : povray.binaries.images : Textured block pattern problem Server Time
1 Aug 2024 02:21:48 EDT (-0400)
  Textured block pattern problem (Message 35 to 44 of 44)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris B
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 11:09:01
Message: <49ce3d8d@news.povray.org>

news:49ce2cd1$1@news.povray.org...
>

Now I'm confused :-)
I don't see a new version on the site and I don't see any text in your last 
post ??

Regards,
Chris B.


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 12:52:31
Message: <49ce55cf@news.povray.org>
High!

Chris B wrote:
> 

> news:49ce2cd1$1@news.povray.org...
>>
> 
> Now I'm confused :-)
> I don't see a new version on the site and I don't see any text in your 
> last post ??

Yes, (n/t) means "no text" - the headline was meant to say it all!

As I'm an absolute newbie to the Object Collection, I probably uploaded 
the version under a wrong name, so that you can't find it - I simply 
entered "Flags" in the "Name" line, if that may help you...

See you in Khyberspace!

Yadgar


Post a reply to this message

From: Chris B
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 13:11:02
Message: <49ce5a26@news.povray.org>
>> Now I'm confused :-)
>> I don't see a new version on the site and I don't see any text in your 
>> last post ??
>
> Yes, (n/t) means "no text" - the headline was meant to say it all!
>
> As I'm an absolute newbie to the Object Collection, I probably uploaded 
> the version under a wrong name, so that you can't find it - I simply 
> entered "Flags" in the "Name" line, if that may help you...
>

The name "Flags" should be right and it should have asked for a new version 
number.
However, I don't see it under that or any other name. The last submission I 
see was a new one from a couple of days ago.
Did you get something like the screen shot attached, confirming that the 
upload had worked?

Regards,
Chris B.


Post a reply to this message


Attachments:
Download 'screenshot.jpg' (32 KB)

Preview of image 'screenshot.jpg'
screenshot.jpg


 

From: Jörg 'Yadgar' Bleimann
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 14:08:47
Message: <49ce67af$1@news.povray.org>
Chris B wrote:

> However, I don't see it under that or any other name. The last 
> submission I see was a new one from a couple of days ago.
> Did you get something like the screen shot attached, confirming that the 
> upload had worked?

I tried it once more, and now I got the confirming screen!

See you in Khyberspace!

Yadgar


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 14:18:42
Message: <49ce6a02$1@news.povray.org>
High!

But now another problem occurs: as I tried to compose the texture of the 
Afghan flag as a layered texture consisting of a simple three-column 
pattern (lower layer) and an object pattern generated from a vectorized 
bitmap made with Inkscape, I got the message:

Illegal texture or patch in clip, bound or object pattern.

Here is the definition of the "AfghanFlag" macro:

#macro Flags_AfghanFlag()
    Flags_ThreeColumnFlag(0, <191, 0, 0>/255, <0, 0.6, 0>)
// Layered texture, coat of arms object-patterned texture yet to be
// added!
    texture
    {
      pigment
      {
         object
         {
           object { Afghanistan_Coat_of_Arms }
           scale 0.01
           color rgbft 1
           color rgbft <1, 1, 1, 0, 0>
         }
       }
     }
#end

What went wrong? I also submitted the file Afghanistan_Coat_of_Arms.inc 
containing the definition of Afghanistan_Coat_of_Arms to the Object 
Collection, so you can look it up...

See you in Khyberspace!

Yadgar


Post a reply to this message

From: clipka
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 14:55:00
Message: <web.49ce7110941a467e22390e420@news.povray.org>
=?ISO-8859-1?Q?J=F6rg_=27Yadgar=27_Bleimann?= <yaz### [at] gmxde> wrote:
> Illegal texture or patch in clip, bound or object pattern.

POV-Ray does not allow for a textured object to be used itself in an
object-pattern. It must be "naked", so to speak.

I guess this is intended to avoid people having wrong expectations about what
the object pattern does.


BTW, instead of

>          object
>          {
>            object { Afghanistan_Coat_of_Arms }
>            scale 0.01
>            color rgbft 1
>            color rgbft <1, 1, 1, 0, 0>
>          }

you can just as well write

         object { Afghanistan_Coat_of_Arms
           scale 0.01
           color rgbft 1
           color rgbft <1, 1, 1, 0, 0>
         }


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 15:56:37
Message: <49ce80f5$1@news.povray.org>
High!

clipka wrote:

> POV-Ray does not allow for a textured object to be used itself in an
> object-pattern. It must be "naked", so to speak.

I removed the textures from the inc file, now the render runs... but 
although I defined a white pigment for the object pattern, it does not 
show up at all! The only way I can tell from is the slowing down of the 
render...

See you in Khyberspace!

Yadgar


Post a reply to this message

From: Chris B
Subject: Re: My contribution is online now! (n/t)
Date: 28 Mar 2009 15:59:35
Message: <49ce81a7$1@news.povray.org>

news:49ce67af$1@news.povray.org...
> I tried it once more, and now I got the confirming screen!

Congratulations :o)

Now that it's there I can see a few reasons it might have given you problems 
with the upload:

When you download from the object collection it generates some files that 
you don't need to upload (a readme, a little script and a copyright logo). 
Basically anything that isn't prefixed with the object name you don't need 
to upload.

To make it 'standards compliant' you mostly just need to prefix everything 
with the object name. So I've prefixed the new include file and all the 
variables contained within it. With files generated from Inkscape this only 
needs two simple global changes, AllShapes to Flags_AllShapes and path to 
Flags_path.

I've also added the same 'Flags_' prefix to the new image files and changed 
all references to file names to lowercase. The server changes the file names 
to lowercase automatically, so any references to files from within other 
files need to be in lowercase.

I've made those minor changes and marked it as fully compliant (3).

I hope these trials and tribulations didn't put you off. The flags you've 
done are excellent.

Best Regards,
Chris B.


Post a reply to this message

From: Jellby
Subject: Re: Textured block pattern problem
Date: 4 Apr 2009 05:40:04
Message: <cfmja6-p8r.ln1@badulaque.unex.es>


> 3. Spain
> 4. Switzerland

The Spanish flag doesn't look quite right. The middle yellow stripe should
be twice as wide as the red stripes. The image looks like 1.5 times only.

The proportions of the Swiss flag's cross don't look exactly right either.
According to Wikipedia ("Flag of Switzerland") the cross's arms should be
"a sixth longer than their width", and "a relation of 2:3 or 7:10 to the
span of the flag is usual".

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

From: Jörg 'Yadgar' Bleimann
Subject: Re: Textured block pattern problem
Date: 4 Apr 2009 10:56:01
Message: <49d77501@news.povray.org>
High!

Jellby wrote:

> The Spanish flag doesn't look quite right. The middle yellow stripe should
> be twice as wide as the red stripes. The image looks like 1.5 times only.
> 
> The proportions of the Swiss flag's cross don't look exactly right either.
> According to Wikipedia ("Flag of Switzerland") the cross's arms should be
> "a sixth longer than their width", and "a relation of 2:3 or 7:10 to the
> span of the flag is usual".

They were just meant als provisional... currently I'm working on Chris 
Bartlett's Flags.inc, thoroughly revising these preliminary drafts!

See you in Khyberspace!

Yadgar

Now playing: If It Wasn't For Love (Jon Anderson)


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.