Subject:
|
Re: Ldraw DLL - Was: Ldglite must be faster
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Tue, 1 Oct 2002 18:21:41 GMT
|
Viewed:
|
1232 times
|
| |
| |
"Don Heyse" <dheyse@hotmail.spam.go.away.com> skrev i meddelandet
news:H3B7E1.BAs@lugnet.com...
>
> I'm not sure why, but this popped into my head last night. I think
> perhaps it may not be all that hard to do. The basic ingredients are
> already there in the winOffScreenStart() function of ldglite. I'd just
> have to convert it to use the hDC passed to it instead of creating
> one with a DIB. I just might attempt this as a learning experience
> since I don't think I've ever created a DLL before.
On second thoughts, it might be better to pass the DIB as the rendering
surface, but I don't know if this is easily done from VB.
> So, what sort of "flavor" were you thinking about for the sLDrawCode
> parameter? Should this perhaps be two parameters? A dat file line
> string and a rendering options string the like what you'd get on the
> ldglite command line? Or could the command line options be tacked on
> at the end of the ldraw line to make it one string. That way you could
> skip the options if you want the default projection, lighting, line
> size and quality, etc.
If all the Ldglite command line parameters had a LDRAW metacommand, all
that'is needed is the LDRAW line.
Note, I'm thinking of a dll with 'memory', not just rendering an existing
file - it's up to me to send the "0 CLEAR" command to remove parts sent
previously.
--
Anders Isaksson, Sweden
BlockCAD: http://user.tninet.se/~hbh828t/proglego.htm
Gallery: http://user.tninet.se/~hbh828t/gallery/index.htm
|
|
Message has 1 Reply: | | Re: Ldraw DLL - Was: Ldglite must be faster
|
| (...) I'd have to go look it up - bitmap/DIB handle, hDC, hWnd. One of those. (...) There are some options - like polling mode, background color, wireframe mode, etc, etc - that aren't duplicatable within an LDraw file. (...) That sounds more like a (...) (22 years ago, 3-Oct-02, to lugnet.cad)
|
Message is in Reply To:
| | Ldraw DLL - Was: Ldglite must be faster
|
| (...) I'm not sure why, but this popped into my head last night. I think perhaps it may not be all that hard to do. The basic ingredients are already there in the winOffScreenStart() function of ldglite. I'd just have to convert it to use the hDC (...) (22 years ago, 1-Oct-02, to lugnet.cad)
|
39 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
|
|
|
|