To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9882 (-40)
  Re: Converting Polyline to Mesh
 
(...) the instructions on (URL) this page> when you compiled it? ;-) --Travis (20 years ago, 21-Sep-04, to lugnet.cad.dev, FTX)
 
  Re: Converting Polyline to Mesh
 
(...) OK. If some makes commercial/research software that outputs LDraw format, it'd be good for us to know about... (...) Well, there's also the bit about Triangle wanting *me* to tell *it* about holes in the area to be filled -- that was one of (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: Converting Polyline to Mesh
 
(...) Err, twisted is probably a good call. I followed a few links and did see some with free windows executables, and I thought I saw some that mentioned other "normal" formats like STL and/or DXF? Anyhow, I compiled triangle for windows if you (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: Converting Polyline to Mesh
 
(...) You have a twisted sense of 'lazy'. ;) Or is there something obvious I'm missing? Steve (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: Converting Polyline to Mesh
 
(...) Well, just in case you change your mind on gcc, it really is easy. (URL) Anyway, thanks for the link. Once I have results, I post them somewhere. Speaking of links and firehoses, here's a short list of alternative triangle mesh generators. (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
I forgot a few things. First of all, you'll also need the TCImageFormat class. Second, in TCImage, you'll need to comment out the line that looks like so (unless you want to use my TCBmpImageFormat class): addImageFormat(new TCBmpImageFormat, true); (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: Converting Polyline to Mesh
 
(...) Uh. Wow. Yeah, that should do what I need. If it can fill in Lake Superior, it should handle my little de-rasterized figure. I suspect that using Triangle on my little polygon-filling exercise will be like using a firehose to water a flower (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: Converting Polyline to Mesh
 
(...) Oops, found it. (URL) in case I lose it again: Delaunay, triangle, vectorize, mesh, polyline, voronoi, and tesselate! That oughta do it... Don (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: Converting Polyline to Mesh
 
(...) I coulda sworn I mentioned this here before. (URL) I can't find the reference (something about stained glass window patterns). Oh well. Enjoy, Don (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Converting Polyline to Mesh
 
Heya, Can anyone point me to an algorithm for converting a polyline to a triangle mesh? The polyline must be allowed to be highly irregular - concave, definitely. Maybe not ... ummm ... fully connected. I've been doing some googling, but so far I've (...) (20 years ago, 21-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) Hi Anders, I have not been able to gain access to the source. Do you have any suggestions on how to do it? Thanks, Kevin (20 years ago, 20-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) Both classes are in the TCFoundation directory: TCImage and TCPngImageFormat. To use them directly, you'll also need TCObject and TCAutoreleasePool. However, the only thing they use out of there that I know of is my reference counting stuff, (...) (20 years ago, 20-Sep-04, to lugnet.cad.dev, FTX)
 
  Re: LPub mask generation
 
(...) Hi Travis, I've downloaded LDview, and gotten libpng and zlib built under C++ Builder. What classes do you have for reading and writing PNG files based on libpng. I'd like to give them a look. Thanks, Kevin (20 years ago, 20-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) This project seems pretty old, but you've set me on the right track. PNG provides compression like JPG and no loss of image quality like BMP. Plus POV-Ray supports alpha channel with PNG. These three combined set me off on the task of (...) (20 years ago, 17-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) If you're interested, LDView has two C++ classes that together allow you to write a PNG via libpng. They have the advantage of being much easier to use that libpng itself. Take a look in the LDView source at TCImage.{h,cpp} and (...) (20 years ago, 16-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) I just upgraded to Borland C++ Builder 6, and there is a good PNG library for it. I'll use that and convert LPub over to use PNG (instead of BMP and JPG?). Alpha channel will be nice, allowing for semi-transparency. Kevin (20 years ago, 16-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) LPub is written in Borland C++ Builder, which is the C++ version of Delphi. The programing language is different, but the libraries are the same. I'd like Alpha channel, instead of binary bitmap, because it might provide some help with (...) (20 years ago, 16-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) LPub is written in Delphi, if I'm not misremembering? Have you looked at (URL) can't say I understand all of the code at a quick glance, but it looks like all you have to do is setting the Alpha channel to a suitable value for every pixel, and (...) (20 years ago, 16-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) Careful! A *Windows* color value uses the high bit to indicate that the rest is an index into the 'System Color Palette' and not a RGB value at all (In Delphi you have ColorToRGB() to get the RGB value from such a 'color'). I'm not at all sure (...) (20 years ago, 16-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) What about jpeg 2000? It seems to have some sort of support for alpha channels. Don (20 years ago, 16-Sep-04, to lugnet.cad.dev)
 
  Re: LPub mask generation
 
(...) I'm not entirely sure, but I'm pretty sure you can create a 32bpp BMP file. Normally, 8 bits in each pixel would then be ignored. However, I don't see any reason the data wouldn't be there for you to interpret yourself. --Travis Cobbs (20 years ago, 15-Sep-04, to lugnet.cad.dev)
 
  LPub mask generation
 
I added mask generation for assembly images into LPub. It now can generate a specific mask for each assembly image. I plan on using this for the layout process, where you provide a backdrop image for a page, and LPub uses a mask to superimpose the (...) (20 years ago, 15-Sep-04, to lugnet.cad.dev)
 
  Re: l3p -check without using l3p
 
Thanks guys, I believed there had to be some kind of easy fix to the problem (too stupid). Now I feel a lot more comfortable certifying parts! -NB (20 years ago, 12-Sep-04, to lugnet.cad.dev, FTX)
 
  Re: l3p -check without using l3p
 
(...) Actually LDDP has a built in, full l3p check. You have to turn on the co-planarity checks under Tools->Options->Configuration Values -Orion (20 years ago, 12-Sep-04, to lugnet.cad.dev, FTX)
 
  Re: l3p -check without using l3p
 
(...) LDAO can be used to run l3p -check without even seeing a command prompt ;) ROSCO (20 years ago, 11-Sep-04, to lugnet.cad.dev, FTX)
 
  l3p -check without using l3p
 
Just a quick question: Is there any programs that can give you a full l3p-check other than l3p? (I not old enough to have done anything but starting games from prompt ;-) ) It seems like LDDP is pretty close to do that but although it’s able to find (...) (20 years ago, 11-Sep-04, to lugnet.cad.dev, FTX)
 
  Re: Postscript output
 
(...) Has anyone gone anywhere with this? -Tim (20 years ago, 11-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths
 
In lugnet.cad.dev, Kevin L. Clague wrote: [snip] nod, I agree with everything you wrote. (...) Long term (*very* long term), there's nothing to say the language can't be extended to allow a different linetype for parts-with-lengths. Steve (20 years ago, 10-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths
 
(...) Sure! Tattle on me so I get in trouble! Actually I've just been prototyping more compact part usages for hoses, using variable length cross sections instead of fixed length cross sections. (...) Kevin (20 years ago, 10-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths
 
(...) I think Kevin's done some work on the code that hasn't been uploaded to the CVS repository so the current CVS source may be out of synch. -Orion (20 years ago, 9-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths
 
(...) Just in case, the source code for lsynth is here. (URL) the CVS Repository link for instructions on how to fetch it all, or follow the Browse CVS link if you only want to examine it. Have fun, Don (20 years ago, 9-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths
 
(...) Jindroush, True length is a topic that is near the top of the list for LSynth. Orion and I talked about it at BrickFest. There is at least one implementation out there by Frederick Glockner (using emacs) that supports true length. Since LSynth (...) (20 years ago, 9-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths (lsynth?)
 
(...) Yeah, exactly this. I knew I couldn't be the first to think about it ;-) Jindroush (20 years ago, 9-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths (lsynth?)
 
(...) You know, this did actually come up before in the context of lsynth. This post from 2 years ago mentions LENGTH and UNITS options for the lsynth meta commands. (URL) think it's been mentioned since then as well. In my opinion that's probably (...) (20 years ago, 9-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths
 
(...) i haven't suggested that. We don't have separate part file for every known color, but instead, there is part and color info in the dat. I think the length should be put in somewhat similar way in the dat, so that it could be easily extracted (...) (20 years ago, 8-Sep-04, to lugnet.cad.dev)
 
  Re: LPub - background images for pages, PLIs and BOMs.
 
(...) Trying to do this may of course completely blow away how I render part list images with background images. (...) Kevin (20 years ago, 7-Sep-04, to lugnet.cad.dev)
 
  Re: LPub - background images for pages, PLIs and BOMs.
 
(...) A quick search of the POV newsgroups yielded this suggestion: (URL) (20 years ago, 7-Sep-04, to lugnet.cad.dev)
 
  Re: LPub - background images for pages, PLIs and BOMs.
 
(...) I believe that the general answer is yes, it is possible to take a jpg, gif, or bmp and place it into a rendered scene. One way it can be done is with texturemapping onto a rectangle. What you would presumably need to do then is position and (...) (20 years ago, 7-Sep-04, to lugnet.cad.dev)
 
  LPub - background images for pages, PLIs and BOMs.
 
Hi, I've got a mask generation facility working pretty well for partial assembly images. The technique I use is to add the concept of chromakey color. I render the image with chromakey color (user selectable) as the background color. I then examine (...) (20 years ago, 7-Sep-04, to lugnet.cad.dev)
 
  Re: Parts with lengths
 
(...) I don't think making a separate part file for every known length of a part is the right approach, for at least two different reasons. First, it would significantly increase the number of parts in the LDraw library, making it that much harder (...) (20 years ago, 7-Sep-04, to lugnet.cad.dat.parts, lugnet.cad.dev)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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