| | Re: 3D matrix math question
|
|
(...) Fixing this one group of rarely important special cases in an efficient manner is probably not the most valuable use of your time. You could always offer 'condition point compression' as a user-selectable option. Tim (16 years ago, 16-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: LETGUI new version 0.1.0.18
|
|
(...) Philo just informed me that both versions that I have packed into the setup are the old versions. So I compliled it again with the current (above mentioned) versions of that tools. I am sorry for any trouble this may have caused on your side. (...) (16 years ago, 15-Dec-08, to lugnet.cad.dev)
|
|
| | Re: 3D matrix math question
|
|
(...) OK, I applied this fix (pulling the control points to be 1 LDU from the first point of the conditional line), and it seems to work. It makes the "Show control points" option under conditional lines less useful, but that's a price I'm willing (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: 3D matrix math question
|
|
(...) Well, I know where the camera is, and I can create vectors from the camera to both end-points of the conditional line, and to both control points. I'm pretty sure that the calculation could be done with just this information. However, I'm not (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev)
|
|
| | Re: 3D matrix math question
|
|
(...) In the case that exhibits the bug, the control points are outside the frustum, but the conditional line itself isn't. So I still need to decide whether or not to draw the conditional line. In this case, it was being drawn at times that it (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: 3D matrix math question
|
|
(...) I think you're right. I'll look into that. It seems like the most straightforward, and since it's just a pre-processing step, it shouldn't affect the performance for anything other than model loading. --Travis (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: 3D matrix math question
|
|
(...) Is there some 'easy' way to determine if the control points are in or out of frustum? Is there any other way to transform points, without considering the frustum (Well, obviously there is at least one, but it's the long way of calculating the (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev)
|
|
| | Re: 3D matrix math question
|
|
(...) OK... I think I understand what I was getting at here. When you introduce perspective then the distance of the conditional point from the line becomes important. Eg. if you have a point that is directly behind its line in a perspective free (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: 3D matrix math question
|
|
(...) Hmmm... Though I can't quite pin it down I have a suspicion that this has something to do with the spatial reduction cause by projection. What projection matrix are you using? Would a simple solution just be to move the conditional points (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: 3D matrix math question
|
|
(...) I am not the best in 3D, but if something outside the view frustum, you do not need to draw that. If you have the special case that only parts of what you should draw are outside the view frustum, I would go to calculate that values for a (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: 3D matrix math question
|
|
(...) Actually, the projected points are all that I am checking, and that's how it's supposed to work. (...) No. The way that conditional lines work is that if the two control points lie on the same side of the conditional line on the screen (in (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: 3D matrix math question
|
|
(...) If I understand correctly you shouldn't be checking on the projection, only on the full 3D transformed points. That means you should check after stage 2.5. You'll need the Z value to work out which side things lie on. Tim (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | 3D matrix math question
|
|
(...) I think I need help. I thought I was using gluProject for the conditional calculations, but discovered that I'm not. I multiple the projection matrix by the model-view matrix to get my transformation matrix, then run the points through that to (...) (16 years ago, 14-Dec-08, to lugnet.cad.dev, FTX)
|
|
| | Re: LETGUI new version 0.1.0.18
|
|
(...) Thanks! For the record: - Ytruder 1.2 is no longer limited to Y direction and can extrude along x, y or z directions - Intersector 1.3 has a new scaling option that improves result for small parts. Philo (16 years ago, 12-Dec-08, to lugnet.cad.dev)
|
|
| | LETGUI new version 0.1.0.18
|
|
A new version of LETGUI ((URL) is now available. Support for new commandline options for Ytruder1.2 and Intersector1.3 are added. Have fun! cu mikeheide (16 years ago, 12-Dec-08, to lugnet.cad.dev)
|
|
| | Re: Inliner v1.1.0.1
|
|
(...) There where still under some circumstances errors in the resulting file. Please use this update version 1.1.0.2 at (URL) (16 years ago, 10-Nov-08, to lugnet.cad.dev)
|
|
| | LETGUI new version 0.1.0.17
|
|
A new version of LETGUI ((URL) is now available. The new option 'N' for Inliner ((URL) is now supported. Support for the new amazing tool pathtruder v1.0 ((URL) is added. Have fun! cu mikeheide (16 years ago, 27-Oct-08, to lugnet.cad.dev)
|
|
| | Inliner v1.1.0.1 [DAT]
|
|
A new version of Inliner is available at (URL) is a bugfix, that fixes the wrong winding if you use the inlinedeep option and do not inline to the lowest level. So this version can now easily change a CW version of a file to a CCW version. You have (...) (16 years ago, 25-Oct-08, to lugnet.cad.dev)
|
|
| | LETGUI new version 0.1.0.16
|
|
A new version of LETGUI ((URL) is now available. The new option for Inliner ((URL) is now supported. Have fun! cu mikeheide (16 years ago, 18-Oct-08, to lugnet.cad.dev)
|
|
| | Inliner v1.1
|
|
A new version of Inliner is available at (URL) you can choose the deepth of inlining level. cu mikeheide (16 years ago, 12-Oct-08, to lugnet.cad.dev)
|