Subject:
|
Re: *** LDView Version 1.9.6 Released ***
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Mon, 5 Aug 2002 05:44:04 GMT
|
Viewed:
|
493 times
|
| |
| |
In lugnet.cad, Don Heyse writes:
> Hey, since you seem to be taking my suggestions, how about
> implementing the camera controls I'm trying to work into ldglite?
> After talking about which buttons to use, I rediscovered the
> demo that got me thinking about it in the first place. I think
> it uses the exact same keys you suggested.
>
> http://personal.nbnet.nb.ca/daveg/opengl/camera/index.html
Hey, that's pretty good. And I've never even seen that site. I've actually
had walkthrough/flythrough on my list of possible features for a REALLY long
time. Of course, one could argue that the longer a feature stays on the
possible future list, the less likely it is to ever get implemented :-).
On the other hand, I really do want to implement this particular feature,
and I even have source code from an old project I worked on that does
quaternion-based camera motion. The motion is actually trivially simple,
and doesn't require quaternions; it's the arbitrary rotations that make
quaternions useful. And, while I didn't write the quaternion code in that
project, I used it.
> Then of course, once you get this going you'll need to add a key
> to dump POV camera sections to pass to the upcoming version of
> l3p. That way I can have the 2nd best cheesy scene modeler and
> keep my ratings fashionably low at ldraw.org.
Hehehe. In all seriousness, LDView actually has the start of code to
generate LDraw and LDGLite command lines. I played around with it for
awhile before putting it on the back burner. There's no current menu
hookup, but do a search of the LDView code for LDGLite, and you'll find it.
It's been in there for the last few releases. L3P is also on the to-do
list, but I'll have to do a lot more research first.
If you actually want to see it work, you'll have to uncomment the
ID_VIEW_LDRAWCOMMANDLINE case in the big switch statement in
LDViewWindow.cpp, and also add a menu item with that as its ID.
> Actually, better yet, dump a sequence of camera setting files so
> we can recreate the exact camera motion with a movie made of POV
> frames. Yeah, that should keep you busy for a while so I can
> work on my top secret project without all these distracting
> software release announcements.
That would be cool, but it might take a lot of work to make the result look
smooth. Since the frame rate jumps around a lot, the individual camera
points wouldn't represent smooth frame positions. Of course, trying to
smooth it out would presumably keep me busy for even longer :-).
--Travis Cobbs (tcobbs@REMOVE.halibut.com)
|
|
Message has 1 Reply: | | Re: *** LDView Version 1.9.6 Released ***
|
| (...) No need for research, just steal the l3p dumping code from main.c in ldglite. I think I added a lot of comments so I could go back to it later and make changes for the next version of l3p. Don (22 years ago, 5-Aug-02, to lugnet.cad)
|
Message is in Reply To:
| | Re: *** LDView Version 1.9.6 Released ***
|
| (...) Cool, I'll have to check that out and see how it looks. Hey, since you seem to be taking my suggestions, how about implementing the camera controls I'm trying to work into ldglite? After talking about which buttons to use, I rediscovered the (...) (22 years ago, 5-Aug-02, to lugnet.cad)
|
9 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
|
|
|
|