How to export images with specified infromation

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
DHQZ
Gnoblar
Posts: 2
Joined: Mon Jun 06, 2016 9:25 am

How to export images with specified infromation

Post by DHQZ »

I created a mesh model entity in ogre ,and I want to implement two things in ogre .One is doing manual annotation with the mesh model ,such as mark a human body mesh, different part with different color.Another is exporting 2D images which contains specified information such as the z coordinate of mesh and background pixels that most close to the camera in the scene. How can I implement this two purpose in ogre and which function can I use ?
xrgo
OGRE Expert User
OGRE Expert User
Posts: 1148
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 169

Re: How to export images with specified infromation

Post by xrgo »

DHQZ wrote:One is doing manual annotation with the mesh model ,such as mark a human body mesh, different part with different color
you have submeshes and set different materials with different colors when selected/annotated
DHQZ wrote:Another is exporting 2D images which contains specified information
you can definitely write text in images and save the files. But I guess you can make them prettier with something like imagemagick, and it can be done inside your ogre app.
DHQZ wrote:How can I implement this two purpose in ogre and which function can I use ?
There's no "a function" to do those things, start programming and when you have a more specific question come back and we can help you =).
good luck!