To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 370
369  |  371
Subject: 
Re: Doing Patterns and Bitmaps in MLCad
Newsgroups: 
lugnet.cad.mlcad
Date: 
Sun, 3 Sep 2000 00:14:42 GMT
Viewed: 
2046 times
  
"Michael Lachmann" <m.lachmann@xpoint.at> wrote in message
news:G09Btz.8vC@lugnet.com...
Farlie A <alex_farlie@hotmail.com> schrieb in im Newsbeitrag:
G08CIH.6B1@lugnet.com...
<SNIP>
Rough idea for texture mapping options

0 TEXTURE START <fname>
<quadized verison of texture-using parts if needed>
0 TEXTURE END


I could agree on this.

That would work great for me, although it would make life easier if the
TEXTURE START line included the points making up the four corners of the
texture.


A browser compatible with L-Draw woudl use the quad version ignoring the
directive. Otherwise the bitmap in fname would be used.

Perhps a new line type is needed.- ie  Type 6.

Type 6- is only treated by new browsers.

line looks like: 6 <fanme.DAT> <fname.*>

This actually wouldn't be necessary.  Just put the DAT file which represents
the texture in between the TEXTURE START and TEXTURE END comments, and it
accomplishes the same thing without any compatibility issues.


where the first param indicates the dat file to be used for the texture
and where the second param indicates the optional image format to be • used
instead of the DAT file if the borwser suppourts texture mapping.  A • patch
might be needed to L-Draw so that it is able to use Type 6...


Issues: local file name or URL? Upper vs Lower case..
        Format for bitmaps? - Not evreybody uses Windows *.BMP, some • other
people use MAC Pict or GIF/PNG/JPEG for images as well as other more • obscure
formats...
Compatibility with earlier *.DAT file viewers.

Generally possible, but keep in mind that writing code for Gif/Jpeg could • be
a license issue.

Actually, JPEG doesn't have any licensing issues.  I definitely agree that
GIF should be avoided due to licensing, but free decoding libraries are
available for both JPEG and PNG (in source form).

--Travis Cobbs (tcobbs@san.REMOVE.rr.com)



Message has 1 Reply:
  Re: Doing Patterns and Bitmaps in MLCad
 
(...) (Hence the suggestionf making it a line type.) OK,Revised Suggestion. (Still needs Further Disscussion) 0 TEXTURE <fname> fname is name of the PNG/JPEG/BMP etc to be used instead of the *.DAT version. The extension of the file shall determine (...) (24 years ago, 4-Sep-00, to lugnet.cad.mlcad)

Message is in Reply To:
  Re: Doing Patterns and Bitmaps in MLCad
 
Farlie A <alex_farlie@hotmail.com> schrieb in im Newsbeitrag: G08CIH.6B1@lugnet.com... <SNIP> (...) I could agree on this. (...) obscure (...) Generally possible, but keep in mind that writing code for Gif/Jpeg could be a license issue. (...) (...) (24 years ago, 2-Sep-00, to lugnet.cad.mlcad)

24 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