POV-Ray : Newsgroups : povray.binaries.images : LegoRoad macro v2.5.0 : Re: LegoRoad macro v2.5.0 Server Time
1 Aug 2024 04:17:31 EDT (-0400)
  Re: LegoRoad macro v2.5.0  
From: alphaQuad
Date: 24 Dec 2008 09:15:01
Message: <web.4952433c83e8951dd0a728390@news.povray.org>
"SharkD" <nomail@nomail> wrote:
> "alphaQuad" <alp### [at] earthlinknet> wrote:
> > "SharkD" <nomail@nomail> wrote:
> > > "alphaQuad" <alp### [at] earthlinknet> wrote:
> > > > divide by zero warnings?
> > >
> > > The bug should be fixed now.
> > >
> > > -Mike
> >
> > googled download legoroad and 2.5.2 came up
> >
> > what happened to the crosswalk?
>
> The macro syntax changed in 2.5.0. Check the demo scene that comes with it.
>
> -Mike

more like mistakenly reversed without testing
#declare LRoad_WalkWidth = array[3] {234,234,234 }
#declare LRoad_WalkLength =  array[3] { 60, 60, 60 }

Vs.

    #declare LRoad_WalkWidth =    array[3] { 60,60,60 }
    #declare LRoad_WalkLength =   array[3] {234,234,234}


"SharkD" <nomail@nomail> wrote:
> The bug should be fixed now.
Usually when ppl dont know what they are talking about, they dont.


This guy didn't think it thru or wouldnt be trying to dvide by zero.
I am trashing the whole thing and making a new one with correct logic.

2.15 tried to set all pigs then do a finish, gong show bell.
So I textured 2.15 since 2.5.2 is all messed up.
texture {
pigment {color LRoad_RoadColor}
finish { ambient 0.1 phong .5 phong_size 450 roughness 0.05 metallic brilliance
0.75 reflection 0.05 } }

Here's the new 2.15 finish to match Lego.


Post a reply to this message


Attachments:
Download 'lego_pool_04c.png' (675 KB)

Preview of image 'lego_pool_04c.png'
lego_pool_04c.png


 

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