| | Re: Mirrored parts and studs Jacob Sparre Andersen
|
| | (...) My view is that there is nothing _serious_ wrong, but that a fix should be welcome. Anyway. Since we are only talking about studs, the rendering programs _could_ simply remember to fix any mirrored studs (can be done by multiplying the (...) (21 years ago, 1-Jul-03, to lugnet.cad.dev)
|
| | |
| | | | Re: Mirrored parts and studs Don Heyse
|
| | | | (...) Umm, my math is really rusty. Can the sign of the determinant also be used to detect mirroring? That could be handy. Don (21 years ago, 2-Jul-03, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Mirrored parts and studs Travis Cobbs
|
| | | | (...) Yes. That's what LDView does. --Travis Cobbs (21 years ago, 2-Jul-03, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Mirrored parts and studs Don Heyse
|
| | | | (...) Yeah, I did a search for determinant and found your note. I tried the on-the-fly fix in ldglite with the L3 structs and it seems to work, although I'm not sure I'm applying the fix correctly. Is it really as simple as multiplying some matrix (...) (21 years ago, 2-Jul-03, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Mirrored parts and studs Travis Cobbs
|
| | | | (...) I don't actually do any transformations in LDView to get the logos right. I just detect the mirroring (by tracking negative determinants and flipping the mirrored bit every time I see one) and modify my texture coordinates to un-mirror (...) (21 years ago, 2-Jul-03, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Mirrored parts and studs Don Heyse
|
| | | | (...) Actually that does help a bit. It looks like you aren't concerned with whether the logo faces the same direction as on the actual part, you're just ensuring that it's readable. That makes me feel better about my solution. By the way, why do (...) (21 years ago, 2-Jul-03, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Mirrored parts and studs Travis Cobbs
|
| | | | (...) Correct. There's no way to know if they actually face the right direction, so I just figured that horizontal mirroring was more likely to be correct than vertical (although I could be wrong). (...) You can, but my code that decides which (...) (21 years ago, 2-Jul-03, to lugnet.cad.dev)
|
| | | | |