Subject:
|
Re: My VB DAT viewer and matrix handling
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Wed, 11 Apr 2001 15:57:20 GMT
|
Viewed:
|
630 times
|
| |
| |
"Steve Bliss" <steve.bliss@home.com> wrote in message
news:kdo8dtsd7oe3ltm392o5v7rkq61j28arg2@4ax.com...
> Which doesn't seem very interesting, except that the left-hand matrix
> doesn't have to be 4x4 - it can have any number of rows. So you could load
> all the data from a subfile into a 4xn matrix, do a multiply against the
> transformation matrix, and get a 4xn matrix as the result.
I've got that sorted now, next on the cards is to implement hidden surface
removal - maybe I should give in and implement som OpenGL or DirectX
handling :( I've been relying too much on API calls and not enough on
basic maths, and at my age I'm finding it hard to remember all my University
courses (believe it or not I did a geometric modelling course, but I've
forgotten the whole lot in the past few years while wallowing in the
simplicity of database programming).
Dan
|
|
Message has 1 Reply: | | Re: My VB DAT viewer and matrix handling
|
| "Daniel Crichton" <danielc@helio.co.uk> wrote in message news:GBMxoG.M8M@lugnet.com... (...) University (...) Wow, thanks to Steve's code snippet and a bit of API messing using CreatePolygonRgn and PtInRegion I've managed to implement a simple, but (...) (24 years ago, 12-Apr-01, to lugnet.cad)
|
Message is in Reply To:
| | Re: My VB DAT viewer and matrix handling
|
| (...) [snip] (...) BTW, you can rewrite the whole problem as a matrix multiply: |a d g 1| |A D G 0| |b e h 1| x |B E H 0| |c f i 1| |C F I 0| |x y z 1| |X Y Z 1| Which doesn't seem very interesting, except that the left-hand matrix doesn't have to (...) (24 years ago, 11-Apr-01, to lugnet.cad)
|
7 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
|
|
|
|