Offscreen Viewport render
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/11/2010 at 23:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;---------
Hello all,
is there a way or anyone have any experience to create an offscreen viewport render?
i need to create a buffer to store some scene infos but don't display it in viewport.
thanks in advance
Franz -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/11/2010 at 05:30, xxxxxxxx wrote:
Sorry I don't understand. What infos do you need? Or what are you trying to achieve with a offscreen render?
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/11/2010 at 06:27, xxxxxxxx wrote:
Hello matthias,
thanks for reply.
i'll try to explane my problem:
i am in toolPlugin that need to know at each refresh the object under mouse.
viewportselect::pickobject have very bad performance if you perform a serch with radius and i need a very intensive use of this tool.
i know in opengl is possible to render scene objects with different color (one color for each object) in an offscreen (not visible) buffer and by asking the pixel color in this buffer i can know witch object is under mouse.
i'dd like to implement some like this to speedup my plugin, but i don't exactly know if is possible with current sdk.
videopost PLUGINFLAG_VIDEOPOST_GL can help me ?
all the best
Franz -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/11/2010 at 06:47, xxxxxxxx wrote:
Ah ok, unfortunatly this is currently not possible.
cheers,
Matthias