I don't want an elliptic sun (part II).... (advanced 3d patch placement )

View: New views
4 Messages — Rating Filter:   Alert me  

I don't want an elliptic sun (part II).... (advanced 3d patch placement )

by Andrea Viarengo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Chriss,

I'm returning to the application for orienting a patch to the viewer
given azimuth and elevation.

Your modification of my setpos(p,dis,az,el) works very fine with a sun image
which has a circular symmetry,
so, rotation around its perpendicular axis pointing inward,
does not matter very much,

but how could I calculate parameter "angle" (that we haven't included before
in the "move" statement), so the bottom of the patch remains parallel
to the "xz" plane for every value of azimuth and elevation? (i.e.: in other
words, if I write something into the patch, I would like that the text
remained parallel to the ground)

You are very good at trigonometry, I am sure that this will take just a moment!!

Thank you!!

Andrea



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

Re: I don't want an elliptic sun (part II).... (advanced 3d patch placement )

by Christian Walther :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrea Viarengo wrote:
> how could I calculate parameter "angle" (that we haven't included before
> in the "move" statement), so the bottom of the patch remains parallel
> to the "xz" plane for every value of azimuth and elevation? (i.e.: in other
> words, if I write something into the patch, I would like that the text
> remained parallel to the ground)
>
> You are very good at trigonometry, I am sure that this will take just a moment!!

Well, I guess I could work out the math... but I think it would be
easier to just implement the specifiable rotation order. Would that be
acceptable to you (i.e. you would have to use your own build and/or wait
for the next release)?

  -Christian


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

Re: I don't want an elliptic sun (part II).... (advanced 3d patch placement )

by Andrea Viarengo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christian Walther <cwalther <at> gmx.ch> writes:

>
> Would that be
> acceptable to you (i.e. you would have to use your own build and/or wait
> for the next release)?
>

Yes, would be acceptable...

if the next release are not coming in a year... ;) (I'm joking...)

Ok.

-Andrea



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users

Re: I don't want an elliptic sun (part II).... (advanced 3d patch placement )

by Christian Walther :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, the "rotationorder" property (including documentation) is now in SVN
as revision 203. Andrea, are you still set up to build things yourself,
or shall I make you a pre-release Windows build?

Good night (I'll get to the other recent posts tomorrow)

  -Christian


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pipmak-Users mailing list
Pipmak-Users@...
news://news.gmane.org/gmane.games.devel.pipmak.user
https://lists.sourceforge.net/lists/listinfo/pipmak-users