Jump to content

tsShapeInstance::snapshot


stevel

Recommended Posts

I have some very old code from the TGE that was a routine in tsShapeInstance that just returned an image of the object as a bitmap on a white background. I find myself needing the same behavior in T3D, and I had thought I would be able to port the old code to the T3D engine, but I am finding that very difficult. Does anyone know of a resource, or if there is some functionality built into the engine that I am missing, that will provide me with this behavior? What I want to be able to accomplish is to specify an object in the 3D engine, and get a snapshot of it that I can display on a dialog. The old routine had width and height args, and specified a camera rotation, so I could spin the object before taking the snapshot if desired. If someone is curious, I could post the old code here.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...