From: Tony R. <To...@br...> - 2009-10-23 00:01:37
|
Well I know we can't smash the two togeter as is, but maybe accounting for the scale so they can coexist on the same display, or putting 2D nonrotational stuff in an "overlay" that is glued to the viewport, with points translatable to their respective axes in the 3D part. I'm not sure I said it very elegantly, but this is somewhat how I'm implementing a HUD in my own log visualizer app; I have a dedicated "viewport" frame that gets moved and objects scaled as the camera moves so they always appear stationary, or I put everything into frames and the global frame becomes the overlay. I posted awhile back about an arbitrary frame transformation routine and this is how I'm using it. Seems like 2D stuff could be added like this, but would additionally need to remember any scale factors between an object and the global frame so the points could be translated. On Oct 22, 2009, at 4:23 PM, "Bruce Sherwood" <Bru...@nc...> wrote: > It's VERY tough to make 3d stuff work harmoniously with a 2D graph > that has > different x and y scale factors. Think for a moment about what an > arrow object > would look like. Spheres aren't bad, they just turn into ellipses. > But even a > simple box whose axis is not along x, y, or z is going to be > bizarrely distorted. > > Bruce Sherwood > > Tony Risinger wrote: >> I second the HUD stuff, i've been working on various data visualizers >> and text is difficult to keep stationary. Maybe a "pin" method of >> sorts that glues labels/etc to the viewport rather than space? >> >> Also what about gdisplays? I was slightly dissapointed when I >> couldn't >> have a graph and 3d stuff in the same window, would had made some >> parts of my engine simpler. Is there some way to do that? I know >> the >> scale factors are differnent and I haven't looked at the >> implementation, just thoughts. >> >> On Oct 22, 2009, at 3:08 PM, "Anders Wallin" <and...@gm... >>> wrote: >> >>>> Hello, >>>> I've poored through the documentation and googled it several times, >>>> but I >>>> can't find anyway to enable wireframe drawing. Since I've worked >>>> with OpenGL >>>> I'm pretty sure that it would be easy to implement, >>> I would also be interested in this, particularly for 'faces' >>> objects. >>> >>> while I'm daydreaming, the lack of these three features almost makes >>> me write my own OpenGL wrapper: >>> - screenshots (I now got imagemagick's 'import' to work, but it's >>> quite slow) >>> - wireframe mode ('faces' objects which I draw based on STL files) >>> - on-screen or 'HUD'-type text drawing (Is this already >>> implemented?) >>> >>> >>> AW >>> >>> --- >>> --- >>> --- >>> --- >>> ------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart >>> your >>> developing skills, take BlackBerry mobile applications to market and >>> stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Visualpython-users mailing list >>> Vis...@li... >>> https://lists.sourceforge.net/lists/listinfo/visualpython-users >>> >>> >> >> >> Tony Risinger >> Application Development Specialist >> Tel: 507-535-7563 | Fax: 507-292-5747 | Toll Free: 866-241-0639 >> >> To...@Br... >> >> http://www.brokerbin.com/ >> >> CONFIDENTIAL INFORMATION: This electronic mail message and any >> attached files contain information intended for the exclusive use >> of the specific individual(s) or entity(s) to whom it is addressed >> and may contain information that is propriety, privileged or >> confidential or otherwise exempt from disclosure. If you are not >> the intended recipient, please notify the sender immediately, by >> reply electronic mail or by telephone, of any unintended recipients >> so we may correct our records. Also, delete the original electronic >> mail and any attachments without making any copies of the >> electronic mail message or attachments. >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart >> your >> developing skills, take BlackBerry mobile applications to market >> and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users > > --- > --- > --- > --------------------------------------------------------------------- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart > your > developing skills, take BlackBerry mobile applications to market and > stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > Tony Risinger Application Development Specialist Tel: 507-535-7563 | Fax: 507-292-5747 | Toll Free: 866-241-0639 To...@Br... http://www.brokerbin.com/ CONFIDENTIAL INFORMATION: This electronic mail message and any attached files contain information intended for the exclusive use of the specific individual(s) or entity(s) to whom it is addressed and may contain information that is propriety, privileged or confidential or otherwise exempt from disclosure. If you are not the intended recipient, please notify the sender immediately, by reply electronic mail or by telephone, of any unintended recipients so we may correct our records. Also, delete the original electronic mail and any attachments without making any copies of the electronic mail message or attachments. |