2d to 3d mapping - Graphics

This is a discussion on 2d to 3d mapping - Graphics ; hi, i have a window displaying 3d diagram its infact a cosmo3d file(.csb) and another window displaying 2d diagram using opengl for rendering and now have to map 2d window to 3d window particularly to some part of the window ...

+ Reply to Thread
Results 1 to 5 of 5

2d to 3d mapping

  1. Default 2d to 3d mapping

    hi,

    i have a window displaying 3d diagram its infact a cosmo3d file(.csb)
    and another window displaying 2d diagram using opengl for rendering
    and now have to map 2d window to 3d window particularly to some part
    of the window displaying 3d diagram...can i do this..

    if so please tell me the way to achieve this....

    -tejaswini

  2. Default Re: 2d to 3d mapping

    On Dec 11, 11:31 pm, teju <tejaswini_ra...@yahoo.co.in> wrote:
    > hi,
    >
    > i have a window displaying 3d diagram its infact a cosmo3d file(.csb)
    > and another window displaying 2d diagram using opengl for rendering
    > and now have to map 2d window to 3d window particularly to some part
    > of the window displaying 3d diagram...can i do this..
    >
    > if so please tell me the way to achieve this....
    >


    The exact solution will depend on your platform and how you want to
    display in the 3d window. Some things to consider:
    - are you wanting the 2d image to be in front of the scene in the 3d
    image or part of it?
    - is the 2d image a bitmap or vector drawing?

    Some approaches would be:
    - to convert the 2d view to a bitmap and use it as a texture in the
    3d scene
    - draw the 2d image directly as part of the 3d scene, adjusting the
    matrix accordingly

    Also is all this being done in OpenGL?

    Andre

  3. Default Re: 2d to 3d mapping

    On Dec 14, 2:04 am, Andre-John Mas <andrejohn....@gmail.com> wrote:
    > On Dec 11, 11:31 pm, teju <tejaswini_ra...@yahoo.co.in> wrote:
    >
    > > hi,

    >
    > > i have a window displaying3ddiagram its infact a cosmo3d file(.csb)
    > > and another window displaying2ddiagram using opengl for rendering
    > > and now have to map2dwindow to3dwindow particularly to some part
    > > of the window displaying3ddiagram...can i do this..

    >
    > > if so please tell me the way to achieve this....

    >
    > The exact solution will depend on your platform and how you want to
    > display in the3dwindow. Some things to consider:
    > - are you wanting the2dimage to be in front of the scene in the3d
    > image or part of it?
    > - is the2dimage a bitmap or vector drawing?
    >
    > Some approaches would be:
    > - to convert the2dview to a bitmap and use it as a texture in the3dscene
    > - draw the2dimage directly as part of the3dscene, adjusting the
    > matrix accordingly
    >
    > Also is all this being done in OpenGL?
    >
    > Andre


    2d is not a bitmap image its dynamically reading data and updating
    itself and its drawing in the window and uses opengl functions to
    draw...i want this window on the top of an object in the
    scenegraph...but scenegraph is using cosmo3d library and i cant write
    anything as part of 3d scene using opengl functions it is using its
    own cosmo3d functions to draw...

    one thing is 2d is not static image but dynamically drawing on
    window...

    adjusting matrix i dint get this can u brief me more?

    waiting 4 ur reply,
    thanx


  4. Default Re: 2d to 3d mapping

    On Dec 14, 12:03 am, teju <tejaswini_ra...@yahoo.co.in> wrote:
    > On Dec 14, 2:04 am, Andre-John Mas <andrejohn....@gmail.com> wrote:
    >
    >
    >
    > > On Dec 11, 11:31 pm, teju <tejaswini_ra...@yahoo.co.in> wrote:

    >
    > > > hi,

    >
    > > > i have a window displaying3ddiagram its infact a cosmo3d file(.csb)
    > > > and another window displaying2ddiagram using opengl for rendering
    > > > and now have to map2dwindow to3dwindow particularly to some part
    > > > of the window displaying3ddiagram...can i do this..

    >
    > > > if so please tell me the way to achieve this....

    >
    > > The exact solution will depend on your platform and how you want to
    > > display in the3dwindow. Some things to consider:
    > > - are you wanting the2dimage to be in front of the scene in the3d
    > > image or part of it?
    > > - is the2dimage a bitmap or vector drawing?

    >
    > > Some approaches would be:
    > > - to convert the2dview to a bitmap and use it as a texture in the3dscene
    > > - draw the2dimage directly as part of the3dscene, adjusting the
    > > matrix accordingly

    >
    > > Also is all this being done in OpenGL?

    >
    > > Andre

    >
    > 2d is not a bitmap image its dynamically reading data and updating
    > itself and its drawing in the window and uses opengl functions to
    > draw...i want this window on the top of an object in the
    > scenegraph...but scenegraph is using cosmo3d library and i cant write
    > anything as part of 3d scene using opengl functions it is using its
    > own cosmo3d functions to draw...
    >
    > one thing is 2d is not static image but dynamically drawing on
    > window...
    >
    > adjusting matrix i dint get this can u brief me more?
    >


    I just learnt how to do it a few weeks ago:

    http://www.gamedev.net/community/for...opic_id=473268

    Andre

  5. Default Re: 2d to 3d mapping

    On Dec 15, 1:46 am, Andre-John Mas <andrejohn....@gmail.com> wrote:
    > On Dec 14, 12:03 am, teju <tejaswini_ra...@yahoo.co.in> wrote:
    >
    >
    >
    >
    >
    > > On Dec 14, 2:04 am, Andre-John Mas <andrejohn....@gmail.com> wrote:

    >
    > > > On Dec 11, 11:31 pm, teju <tejaswini_ra...@yahoo.co.in> wrote:

    >
    > > > > hi,

    >
    > > > > i have a window displaying3ddiagram its infact a cosmo3d file(.csb)
    > > > > and another window displaying2ddiagram using opengl for rendering
    > > > > and now have to map2dwindow to3dwindow particularly to some part
    > > > > of the window displaying3ddiagram...can i do this..

    >
    > > > > if so please tell me the way to achieve this....

    >
    > > > The exact solution will depend on your platform and how you want to
    > > > display in the3dwindow. Some things to consider:
    > > > - are you wanting the2dimage to be in front of the scene in the3d
    > > > image or part of it?
    > > > - is the2dimage a bitmap or vector drawing?

    >
    > > > Some approaches would be:
    > > > - to convert the2dview to a bitmap and use it as a texture in the3dscene
    > > > - draw the2dimage directly as part of the3dscene, adjusting the
    > > > matrix accordingly

    >
    > > > Also is all this being done in OpenGL?

    >
    > > > Andre

    >
    > >2dis not a bitmap image its dynamically reading data and updating
    > > itself and its drawing in the window and uses opengl functions to
    > > draw...i want this window on the top of an object in the
    > > scenegraph...but scenegraph is using cosmo3d library and i cant write
    > > anything as part of3dscene using opengl functions it is using its
    > > own cosmo3d functions to draw...

    >
    > > one thing is2dis not static image but dynamically drawing on
    > > window...

    >
    > > adjusting matrix i dint get this can u brief me more?

    >
    > I just learnt how to do it a few weeks ago:
    >
    > http://www.gamedev.net/community/for...opic_id=473268
    >
    > Andre- Hide quoted text -
    >
    > - Show quoted text -


    thanx, will try to do b...but still am a newbie working on opengl and
    scenegraph hope this is not out of my scope...will get back to u

+ Reply to Thread

Similar Threads

  1. Vim: Re-mapping <ESC> to nothing?
    By Application Development in forum Editors
    Replies: 10
    Last Post: 06-11-2007, 02:36 PM
  2. UV Mapping
    By Application Development in forum Graphics
    Replies: 3
    Last Post: 10-12-2006, 05:29 PM
  3. [vim] Mapping <C-1> possible?
    By Application Development in forum Editors
    Replies: 5
    Last Post: 08-17-2006, 05:34 AM
  4. Key Mapping
    By Application Development in forum Editors
    Replies: 6
    Last Post: 04-20-2006, 04:16 AM
  5. Re: Mapping the IMS/ESA SPA?
    By Application Development in forum ASM x86 ASM 370
    Replies: 0
    Last Post: 06-23-2003, 10:30 AM