Martin James Wrote:I thought it was time I checked out the latest AIOI to see if anything has radically changed. (I support a load of users who do weird and wonderful things with LDraw. When new users come on board I like to think I'm giving them valid advice and assistance.) I've hit a problem with the LGEO component.
Would I be right in thinking that the version of LGEO included in the AIOI is the one Owen Burgoyne has been updating and publishing at Eurobricks? The thing is, I can't get it to work with POV-Ray 3.6 (the version still officially recommended). It throws syntax errors in lg_color.inc. However it does work fine with POV-Ray 3.7. I think it's objecting to syntax like:
srgb <33,33,33>/255
rather than
srgb <33/255, 33/255, 33/255>
Adding to the confusion, the LGEO link on the AIOI download page takes you to Lutz Uhlmann's 2008 version, which does work with POV-Ray 3.6.
...or have I simply managed to do something silly?
--
Martin James
As far as I know, Owen's LGEO library is optimized for POV-Ray 3.7, which has better support for srgb. If you remove the s from srgb, it may work, but I'm not sure about that. You could better ask Owen (aka C3POwen) in this EuroBricks topic. I believe I saw the same issue a few more times in that topic.