|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have a scene, originally written for MegaPOV 0.5, which takes a complex texture used
on a flat part of a model, and imposes a cylindrical warp for use on another part.
It fails under 3.5 beta 4. Here's an extremely simplified version:
#declare T_Flat = texture { pigment { gradient x }}
#declare T_Cylindrical = texture { T_Flat
scale <0.075/pi,1,10>
warp { cylindrical }
rotate x*-90
}
Is that use of "warp" not permitted under 3.5, or is it supposed to work like it did
in MegaPOV?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jeff Lee wrote:
>
> [...]
>
> Is that use of "warp" not permitted under 3.5, or is it supposed to work like it did
in MegaPOV?
It works AFAIK.
See the 'object_pattern.pov' demo scene for example.
Can't say anything about differences to megapov right now.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 01 Oct 2001 22:43:32 +0200, Christoph Hormann <chr### [at] gmxde> wrote:
> Jeff Lee wrote:
> >
> > Is that use of "warp" not permitted under 3.5, or is it supposed to work like it
did in MegaPOV?
>
> It works AFAIK.
Not for me. I try to render, and I get:
File: f:\users\jeff\povray\scenes\warperr.pov Line: 3
scale <0.075/pi,1,10>
warp <----ERROR
Parse Error: No matching } in 'texture', warp found instead
Returned from renderer with error status
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jeff Lee wrote:
>
> Not for me. I try to render, and I get:
>
> File: f:\users\jeff\povray\scenes\warperr.pov Line: 3
> scale <0.075/pi,1,10>
>
> warp <----ERROR
>
> Parse Error: No matching } in 'texture', warp found instead
>
> Returned from renderer with error status
Hmm, it seems to be a bug, i'm just not sure in which situations exactly
this happens.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <1103_1001966819@mcmurdo> , Jeff Lee <godfrey@shipbrook.com>
wrote:
> #declare T_Flat = texture { pigment { gradient x }}
>
> #declare T_Cylindrical = texture { T_Flat
> scale <0.075/pi,1,10>
> warp { cylindrical }
> rotate x*-90
> }
I can confirm this does not work. However, i do not know if it is supposed
to work in 3.5 or not.
Thorsten
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten Froehlich wrote:
>
> I can confirm this does not work. However, i do not know if it is supposed
> to work in 3.5 or not.
>
See the 'object_pattern.pov' sample scene for a working example.
It seem to work with texture maps but not if they are declared.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann wrote:
>
> Thorsten Froehlich wrote:
>
>>I can confirm this does not work. However, i do not know if it is supposed
>>to work in 3.5 or not.
>>
>>
>
> See the 'object_pattern.pov' sample scene for a working example.
>
> It seem to work with texture maps but not if they are declared.
It is not specific to declared textures as it fails on the following as
well:
sphere{
< 0, 0, 0 > 2
texture{
pigment{ gradient x }
scale <0.075/pi,1,10>
warp { cylindrical }
rotate x*-90
}
}
From my experience, it works when it is inside a pigment, finish or
normal block, but not at the "texture" level.
For example, Jeff's code will work, if modified this way:
#declare P_Flat = pigment { gradient x }
#declare T_Cylindrical = texture {
pigment{
P_Flat
warp { cylindrical }
}
scale <0.075/pi,1,10>
rotate x*-90
}
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* videotron.ca */}camera{location<6,1.25,-6>look_at a orthographic}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Francois Labreque <fla### [at] videotronca> wrote:
>
> From my experience, it works when it is inside a pigment, finish or
> normal block, but not at the "texture" level.
>
> For example, Jeff's code will work, if modified this way:
>
> #declare P_Flat = pigment { gradient x }
>
> #declare T_Cylindrical = texture {
> pigment{
> P_Flat
> warp { cylindrical }
> }
> scale <0.075/pi,1,10>
> rotate x*-90
> }
Unfortunately, my *original* texture was much more complex, with several
levels of textures. :-(
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Francois Labreque schrieb in Nachricht <3BB### [at] videotronca>...
> From my experience, it works when it is inside a pigment, finish or
>normal block, but not at the "texture" level.
I guessed something like that, too, but the mentioned object_pattern.pov
uses the war at the texture level and it works.
#declare Tex_Column=
texture {
object {
Text_Obj
texture { Tex_1 },
texture { Tex_Metal_A }
}
warp { cylindrical }
}
Strange,
Marc-Hendrik
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|