To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16306
16305  |  16307
Subject: 
Re: Mesh Enhancer
Newsgroups: 
lugnet.cad
Date: 
Fri, 19 Jun 2009 05:00:45 GMT
Viewed: 
11071 times
  
In lugnet.cad, Eric Albrecht wrote:
   In lugnet.cad, Tom Beattie wrote:
   I was wondering if anyone could point me towards a copy of Mesh Enhancer. All links on LDraw are obsolete and broken. I have a 2x2 dome dat in serious need of smoothing, and a rendering looking worse for wear.

I could never get mesh enhancer to work right, but the Anton Raves library does have the part you mention. In that library it is referred to as stwa_r2d2_head.

I created the following ar_0553.inc file to use this with LGEO:

#ifdef(ar_0553)
#else
#include "ar_material.inc"
#include "ar_library.inc"
#declare setting = 2;
#declare ar_0553 =
object {
 www.brick(texture{})
 matrix <-0.1, 0, 0,
         0, 0, .1,
         0, 0.1, 0,
         0, 0, -3*LG_PLATE_HEIGHT>
 rotate <0, 0, 90>
}

#declare ar_0553_clear =
object {
 ar_0553
}
#end

If you are using L3P, you need to add this part to the .lst file. If you are exporting straight from LDView like I do, you need to add the following to LGEO.xml:

<Element>
  <LDrawFilename>553.dat</LDrawFilename>
  <POVName>ar_0553</POVName>
  <POVName Alternate="Clear">ar_0553_clear</POVName>
  <Dependency>LGDefs</Dependency>
  <POVFilename>ar_0553.inc</POVFilename>
  <MatrixRef>LGEOTransform</MatrixRef>
</Element>

Naturally, you have to actually have Anton’s library which is the ar_library.inc file and you have to make sure to include it when you run POV-Ray.

Once you’ve done these things, everything will be automatic and you’ll have a nice looking dome! Look at this picture for a good example of a render with this part.

Eric Albrecht

Technicopedia

Thanks Eric. All this sounds interesting, however you may have to guide me some of the way here.

I have always been interested in Anton’s Library but to be honest I never worked out how to use it within the MLCad, L3PAO, LGEO, POV tool chain, or when to consider it as an alternative to LGEO parts.

I currently model in MLCad, genreate a POV file from L3PAO (with LGEO part substitution) and manually tweek the POV file to suit. But I am always looking for improvements. So here goes.

First Question. I have downloaded Anton’s Latest parts library (535 library)and it contains a ‘library.lib’ and ‘material.lib’ file - no sign of either ‘ar library.inc’, or ‘ar material.inc’. I assume they are similar but do they function/referenced in the same way?

Second Question. I assume your custom ‘ar 0553.inc’ file (as described above) lives in the NEW LGEO release within the ‘ar’folder along with other ‘ar xxxx.inc’ files.

Third Question. I am currently using the older version of LGEO because when I use L3PAO it looks for the various ‘l2p xxx.tab’ files contained within the original LGEO folder. The New LGEO has ‘lg colours.lst’, and ‘lg elements.lst’ files which I can not get to play well with L3PAO. Is there a way around this? I understand it works with the latest L3P release (1.4) but I really struggle with command line stuff so I have stayed with L3PAO as the front end of L3P 1.3 (I haven’t checked if it works with L3P 1.4 to be honest as I was having enough trouble with the new LGEO I gave up, and went back to my ‘old ways’.

Fourth Question. is the .lst file you mention ‘parts.lst’- the one generated by mklist.exe? What is the reason to up date this?

Fifth Question. Is exporting from LDVeiw to POV a comparable process to processing a .mpd through L3PAO? And does it reference the New or Original LGEO part libraries?. And going full circle how do you (if you can) integrate Anton’s library into this workflow - or is this a manual thing within POV.

I think that’s it. Dig under the surface and it’s amazing how much of this goes over my head. Oh well, I’ll concentrate on placing cameras and lights - i’m getting better at that.

Thanks in advance.

Cheers

Tom Beattie



Message has 1 Reply:
  Re: Mesh Enhancer
 
(...) This all sounds very familiar. I only started rendering myself late last year, and I also struggled through all of these questions. Hopefully I will be able to answer most of them so you can get through it more quickly! (...) OK, as you have (...) (15 years ago, 19-Jun-09, to lugnet.cad, FTX)

Message is in Reply To:
  Re: Mesh Enhancer
 
(...) I could never get mesh enhancer to work right, but the Anton Raves library does have the part you mention. In that library it is referred to as stwa_r2d2_head. I created the following ar_0553.inc file to use this with LGEO: #ifdef(ar0553) (...) (15 years ago, 16-Jun-09, to lugnet.cad, FTX)

10 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