At moment, i want to output a reasult from my program use a diagram. i thinking use a static text windows, and draw a parabola on it.
is CEGUI pravide function to draw a line. if not, is any idea to do it. i use OgreSDK.
thanks
Can i draw a 2d diagram on the CEGUI
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Can i draw a 2d diagram on the CEGUI
Currently we have no functions for drawing lines and such; this may be added for a future release - perhaps 0.8.0 or 0.9.0.
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Can i draw a 2d diagram on the CEGUI
For the current releases, the information hinted at in the reply you got over on the Ogre forum is the way to go; you need to use some external means of rendering / copying your drawing to a texture, you then use that texture as the basis for a CEGUI::Imageset, define an Image for the area that incorporates the drawing, and then use that Imageset/Image as the one you set for a StaticImage (the actual specifics of setting up the texture, imageset and image have been covered many times and is also demonstrated in the Ogre 'Gui' sample).
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Can i draw a 2d diagram on the CEGUI
Thank you for replay me, i will thinking your suggestion. thank u very much
Who is online
Users browsing this forum: No registered users and 13 guests