The pipeline I drafted is the usual one for 3D objects. The annotations should draw themselves somehow on the 2D plane. My point was to identify this sequence of transformations in the BRL-CAD code and get the 2D plane -> screen part from it.
Regards, Daniel 2017-04-10 21:37 GMT+02:00 Shubham Rathore <shubhamrathore1...@gmail.com>: > Regarding the pipeline - "coordinates from the primitive -> 3D world > coordinates -> 2D plane (e.g. with a perspective) -> 2D screen coordinates" > > Need some clarifications : > > - The user gives the input( through 'in' or any other desired form) in the > form of 3D coordinates > - The annotation_transform() will map those 3D points to the 2D plane > - We get the 2D on screen coordinates. > > 1) what exactly does the user give as the input ? 3D space coords of the > desired place of annotation ? > 2) What else does the function consist of, except the transformation matrix > ? > > Cheers, > Shubham Rathore(:gabbar1947) > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > BRL-CAD Developer mailing list > brlcad-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/brlcad-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel