hi Donald,

The osgEphemeris mailing list is here:
http://andesengineering.com/mailman/listinfo/osg-ephemeris

I take it you used my VC9 project file. What other changes did you have to
make to get it to compile?

I haven't tried loading osgEphemeris from an OSG file. Have you tried doing
it in code like this:

> _model = new osgEphemeris::EphemerisModel();
> _model->setLatitudeLongitudeAltitude(37, 144, 0); // set position for
> Melbourne

// moon seems buggy so just set sun
> _model->setMembers(osgEphemeris::EphemerisModel::SUN_LIGHT_SOURCE);
> _model->setSkyDomeCenter(osg::Vec3(boundary.left() + boundary.width()/2,
> boundary.top() + boundary.height()/2, 0));
> _model->setSkyDomeRadius(SKYBOX_DIM*MAX(boundary.width(),
> boundary.height()));

// autoDateTime seems broken so set manually
> _model->setDateTime(osgEphemeris::DateTime(date.year(), date.month(),
> date.day(), time.hour(), time.minute(), time.second()));
>

Richard



On Mon, May 25, 2009 at 11:25 PM, <[email protected]> wrote:

>
> hi Donald,
>
> could you ask through the mailing list so others can benefit?
>
> Richard
>
>
> On Sat, May 23, 2009 at 1:03 AM, 
> <*donald.dakin*<[email protected]>>
> wrote:
>
> Hello There,
>
> I downloaded osgEphemeris-20090512054833 tarball and got it compiled in
> windows. I did have to play a bit to get the dll compiled but It did finally
> compile.
>
> I am however struggling with the simple example.
>
> When I try to load
>
> osgEphemerisModel::EphemerisModel {
>         Latitude 38.4765
>         Longitude -122.493
>         SkyDomeRadius 100000
>     }
>
>
> in an .osg file I always get
>
> no data loaded......
>
> If you managed to get this working I would appreciate any help you might
> offer.
>
>
> Thanks in advance
>
> Don Dakin......
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to