To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2327
2326  |  2328
Subject: 
Re: Problem creating .pov using LGEO parts in L3PAdd-on
Newsgroups: 
lugnet.cad.ray
Date: 
Thu, 28 Oct 2004 09:53:33 GMT
Viewed: 
5835 times
  
<snip>
The wrongly positioned parts can be seen in these two images

Non-LGEO version, in correct position
http://www.brickshelf.com/gallery/talltim/Extras/nonlgeo.jpg
LGEO version, parts moved down
http://www.brickshelf.com/gallery/talltim/Extras/lgeo.jpg

Yeah, that part (6187.DAT) has a weird origin, IMO.  But, the cause of
the problem is that LGEO doesn't use the same origin - at least with the
libraries I have installed.  So, to fix it, add the following directive at
lines 159 and 308 of the LGEO file lg_6187.inc:

  translate <0, 0, -2*LG_BRICK_WIDTH>

I suspected something along those lines, but I wouldn't have had any idea how to
fix it, so thanks, I wil try it tonight


The error when rendering the .pov file in POVRay 3.5 can be seen
http://www.brickshelf.com/gallery/talltim/Extras/3_5error.jpg
the same file renders without error messages (but with the error above) in 3.1

I had a similar problem when upgrading to version 3.5 of POV-Ray.  Try
modifying the lg_color.inc file by bracketing the #include of colors.inc
with #version directives:

#version 3.5
#include "colors.inc"
#version 3.0

There's probably a better solution than this, but this worked for me...  :-)

Ahui sent me a link to the relevant help page on Ldraw.org
http://www.ldraw.org/article/105


HTH,

Mark

tim



Message has 2 Replies:
  Re: Problem creating .pov using LGEO parts in L3PAdd-on
 
I have tried this and also the fix on the ldraw page. LGEO files still don't work any suggestions? I don't get the error message. The pov just renders the standard method. Thanks for the help (...) (20 years ago, 15-Nov-04, to lugnet.cad.ray)
  Re: Problem creating .pov using LGEO parts in L3PAdd-on
 
(...) Ldraw's trans green still stinks, but lgeo helped a bit... Cheers NB (20 years ago, 21-Nov-04, to lugnet.cad.ray)

Message is in Reply To:
  Re: Problem creating .pov using LGEO parts in L3PAdd-on
 
(...) the problem is that LGEO doesn't use the same origin - at least with the libraries I have installed. So, to fix it, add the following directive at lines 159 and 308 of the LGEO file lg_6187.inc: translate <0, 0, -2*LG_BRICK_WIDTH> (...) I had (...) (20 years ago, 28-Oct-04, to lugnet.cad.ray)

17 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR