| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
Steve Bliss wrote in message <37f6c0d9.269680202@...et.com>... (...) Doh, you posted mere minutes before me and said the same thing. :) -Gary (25 years ago, 3-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
Jean-Pierre PARIS wrote in message <37F660FB.1EC77AC9@w...doo.fr>... (...) I see where you're coming from now. You're right. (...) could (...) It's starting to sound like user intervention would be needed in most, if not all, cases. Maybe it would (...) (25 years ago, 3-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
(...) This isn't automatic, but what if the program interrogates the user to pick a side which is facing outward? From that information, the program could then mark-up all adjacent sides. If the program ran out of sides, it could re-interrogate for (...) (25 years ago, 3-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
Jacob Sparre Andersen wrote in message ... (...) That works for me. I don't suppose there's an official standards-setting body of people charged with voting on extensions to the .dat format, is there? Maybe it's time to form one. -Gary (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
(...) Sorry, but I think that the even/odd algorithm only work on 'correct' solids. For example, if you take a 'bad' box made of 6 faces that have holes beween them, your algorithm can lit an inside face. And in some parts, such a situation exists. (...) (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
Gary Williams: (...) I still think using 0 FACE ( CW | CCW | DOUBLE-SIDED | UNKNOWN ) is most practical. Play well, Jacob ---...--- -- E-mail: sparre@cats.nbi.dk -- -- Web...: <URL:(URL) -- ---...--- (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: POV --> JPG,GIF
|
|
(...) Mine save to .bmp files - which you can open in Windows Paint. Same thing, Paint Shop Pro works... I prefer to run with the pros and get Photoshop :) -Tim <>< (URL) timcourtne ICQ: 23951114 How to rob a bank in ancient Rome: "Catapultam habeo. (...) (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: POV --> JPG,GIF
|
|
(...) Hrmmm... doesn't POV save it as a TGA file? Just find something that will convert those files to JPG. Paint Shop Pro comes to mind: (URL) looks like I need to upgrade - they're up to version 6. (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | POV --> JPG,GIF
|
|
Heya ! How can I convert a POV file to JPG or GIF file ? Thanx ! Rene e-mail: virsik@sco.svf.stuba.sk (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: New Group Idea
|
|
(...) Ahem, I think the point of Todd calling a clones group 'Evil' was to say 'Keep LDraw pure, we don't need any of that imitation garbage.' :) -Tim <>< (URL) timcourtne ICQ: 23951114 How to rob a bank in ancient Rome: "Catapultam habeo. Nisi (...) (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
Michael Lachmann wrote in message ... (...) I retract my earlier suggestion. I'd prefer to test for '0 CW-compliant' than '0 CW*' because checking for an exact string match is usually easier. Not supporting wildcards also promotes consistency. (...) (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: MI/X (Was: LeoCAD for Linux (Was: Compiling MPD Builder/Splitter for DOS/Win?))
|
|
[ FUT lugnet.off-topic.geek ] Doc: (...) I don't get as far as connecting to _any_ Linux machine. (...) Where can I pick that up? Play well, Jacob ---...--- -- E-mail: sparre@cats.nbi.dk -- -- Web...: <URL:(URL) -- ---...--- (25 years ago, 2-Oct-99, to lugnet.off-topic.geek, lugnet.cad, lugnet.cad.dev)
|
|
| | Re: New Group Idea
|
|
(...) Alright then, I'll submit my planned .DAT files of Byggis door and windows and my Tyco phone to lugnet.dat.cad.parts. B-) /Tore (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
What if say a complient file contains anything starting with "0 CW". Any program dealing with this information could just scan for "0 CW*". We also could use a tag "0 AW*" if why ever the orientation is not clock-wice but anti-clockwice .... I think (...) (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: New Group Idea
|
|
(...) Ditto. -Tim <>< (URL) timcourtne ICQ: 23951114 How to rob a bank in ancient Rome: "Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam." (I have a catapult. Give me all the money, or I will fling an enormous (...) (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: New Group Idea
|
|
(...) Evil. --Todd (25 years ago, 2-Oct-99, to lugnet.cad.dev)
|
|
| | Re: MI/X (Was: LeoCAD for Linux (Was: Compiling MPD Builder/Splitter for DOS/Win?))
|
|
(...) I have used the product under NT. It isn't very stable. But it works. The problem is that your apps are looking for fonts that you haven't installed into the X server on the Mac. There is a faq for MI/X on their site, which includes a (...) (25 years ago, 1-Oct-99, to lugnet.off-topic.geek, lugnet.cad, lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
(...) Because the program doesn't work that way, it just turns backface culling on and draws everything in green, then switch to "frontface culling" (does it exist ?) and draws everything red. I've been busy finishing my first game project (not Lego (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
(...) I can't argue with that :) (...) No way ! The front faces are CCW in 3DS Max, and quoting the OpenGL 1.2 specs. for glFrontFace() "mode: Specifies the orientation of front-facing polygons. GL_CW and GL_CCW are accepted. The initial value is (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | MI/X (Was: LeoCAD for Linux (Was: Compiling MPD Builder/Splitter for DOS/Win?))
|
|
[ XFUT lugnet.off-topic.geek ] Mike Stanley: (...) Didn't work. There is some kind of font problems that don't make sense. (...) I am not a Mac person either. - And I would like to stay that way (but still get the d*** thing to work). No plain and (...) (25 years ago, 1-Oct-99, to lugnet.cad, lugnet.cad.dev, lugnet.off-topic.geek)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
[ I got a bit too much good French red wine, so maybe I shouldn't try to answer now, but ... ] Steve: (...) Right. (...) Shouldn't all elements of transparent parts be drawn? (...) Yes. (I start to suspect that wine has a good influence on my (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
(...) why can't you simply mod your proggy to handle the conversion automatically?? i mean.. if your proggy is smart enough to detect uninified normals and then allows the user to press a key to mod the CW/CCW property of the face, why can't you (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: LeoCAD for Linux (Was: Compiling MPD Builder/Splitter for DOS/Win?)
|
|
(...) Tried this? (URL) not a Mac person at all and I got it to work in just a couple of minutes, so it might work for you. (25 years ago, 1-Oct-99, to lugnet.cad, lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
Leonardo Zide wrote in message <37F4ECA7.C0BFCF7D@c...com.br>... (...) I'd vote for CW for two reasons: 1) 'Clockwise' is shorter than 'counterclockwise'. 2) CW is used more often than CCW in rendering applications (to my knowledge) because the (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
(...) That would be nice, but it's unrealistic. (...) No, they shouldn't. Just because the part XYZ is CW, a program can't assume that the primitive ABC is also CW. (...) I like this. I don't like it for use on primitives, but DOUBLE-SIDED could (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
Gary Williams wrote in message ... (...) *a lightbulb appears above my head* Nevermind, I understand now. For some reason I was imagining inverting all three axes, but now I realize only two would need to be inverted, before the part is rotated 180 (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
Steve: (...) Because our clever rendering programs will notice that the first transformation matrix has negative determinant, and therefore will swap the CW and CCW checks. Play well, Jacob ---...--- -- E-mail: sparre@cats.nbi.dk -- -- Web...: (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: LeoCAD for Linux (Was: Compiling MPD Builder/Splitter for DOS/Win?)
|
|
Leonardo: (...) I do have X installed _on_my_Linux_machine_, but I haven't managed to get the Macs here in Paris to run a X server (yet). Play well, Jacob ---...--- -- E-mail: sparre@cats.nbi.dk -- -- Web...: <URL:(URL) -- ---...--- (25 years ago, 1-Oct-99, to lugnet.cad, lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
(...) Why not simply: (...) Assuming the primitives are all defined so their faces are turned outward. I would see allowing both CW and CCW as a convenience for parts authors. There's no real difference between one way and the other. CW has a slight (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: LeoCAD for Linux (Was: Compiling MPD Builder/Splitter for DOS/Win?)
|
|
(...) I'll add that to my page. I don't know (almost) anything about writing linux applications, so I don't know which options to use when compiling. (...) The MS Windows version works correctly (without creating a window) but the Linux version (...) (25 years ago, 1-Oct-99, to lugnet.cad, lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
(...) I guess we could at least decide to use CCW to determine the normal of a face, unless there's someone who prefers to use CW ? Leonardo (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
(...) If we know that a face is CW, why not change it to CCW ? The most difficult task is to discover the orientation of a face, but once we have that information anyone can change the order of the points and fix the face. (...) This can be done (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
Lars C. Hassing wrote in message <938787015.279086@ns.cci.dk>... (...) of (...) we will (...) Hold on. Why not just have a button in the CAD program to turn the part inside-out by automatically manipulating the orientation matrix in the parent dat (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
Steve Bliss wrote in message <37f4ab7d.64002272@l...et.com>... (...) Doh'! You're right. (...) I'm having a difficult time picturing in my mind how an asymmetrical part can have its orientation matrix in the parent dat file mirrored and rotated (to (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
Jacob Sparre Andersen <sparre@sys-323.risoe.dk> wrote in message news:FIxHC0.E2v@lugnet.com... (...) I'm not so sure about this anymore. I think the ideal would be a program that could change the part files so that they are completely CCW. Using (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB) [DAT]
|
|
Lars: (...) [...] (...) This would demand a lot of work before people could start using programs that use this fact. (...) Right. (...) Just check the determinant of the rotation matrix (but you know that I suppose). (...) I would rather use some (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB) [DAT]
|
|
Leonardo Zide wrote in message <37F383E1.CA6B8962@c...com.br>... (...) I agree with John Van in that we need three keywords: CCW, CW, UNKNOWN. As the rendering program is going to keep track of the number of mirrorings of the transformations (or (...) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: CW/CCW, vertex sequence, co-planar, convex, (115kB)
|
|
(...) It wouldn't matter if they were closed-volume or not--they could still be turned inside out accidently. And an inside-out closed-volume primitive wouldn't do anybody any good. (...) Why? Steve (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | Re: Hidden surface removal, and vertex order in part/primitive DAT files
|
|
(...) I'm willing to change my parts, if the standard changes. Assuming parts which are *not* C(C)W need to be flagged at all. (...) I agree completely. Steve (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|
|
| | New Group Idea
|
|
We should have a lugnet.cad.dat.clones group, now that someone over on RTL is doing megablocks parts. bThe group would be expressly for posting clone lego parts, official sets and MOC's. -- Jonathan Wilson wilsonj@xoommail.com (URL) (25 years ago, 1-Oct-99, to lugnet.cad.dev)
|