Subject:
|
Re: 3D Myst III viewer of a castle
|
Newsgroups:
|
lugnet.cad.mlcad, lugnet.cad
|
Date:
|
Fri, 25 Jan 2002 03:45:15 GMT
|
Viewed:
|
84 times
|
| |
| |
In lugnet.cad.mlcad, Chuck Sommerville writes:
> In lugnet.cad.mlcad, Lars C. Hassing writes:
> > Chuck Sommerville wrote...
>
> Actually it would be cool to place the camera with L3P. I believe h_angle
> and v_angle default to 180, and 360, so they are probably not needed. I
> think you can avoid the translation with location/look_at. Not sure about
> the Sky thing. I'll have to experiment.
>
> -Chuck
Here is the new simplified camera:
camera {
spherical
location <-320,-239,0> // position
look_at <-320,-239,1> // view
scale <0,0,-1> // flip it rightside up
}
I'm not sure why the flip works, or why it is needed. I think it is because
or handedness.
-Chuck
|
|
Message has 1 Reply: | | Re: 3D Myst III viewer of a castle
|
| (...) I actually had to do something similar in LDView in order to get models to view properly using OpenGL (although I used a 180 degree rotation about Z followed by one about Y). I wonder if any of the other programmers out there had similar (...) (23 years ago, 25-Jan-02, to lugnet.cad.mlcad, lugnet.cad)
|
Message is in Reply To:
| | Re: 3D Myst III viewer of a castle
|
| (...) <snip> (...) Actually it would be cool to place the camera with L3P. I believe h_angle and v_angle default to 180, and 360, so they are probably not needed. I think you can avoid the translation with location/look_at. Not sure about the Sky (...) (23 years ago, 25-Jan-02, to lugnet.cad.mlcad, lugnet.cad)
|
29 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
|
|
|
|