Jump to content

renderImage2D bug


photo

Recommended Posts

Posted

hi:

   in the Render::renderImage2D function there is a bug . need change to 

renderViewport(projection,modelview,materials,player->getViewportMask(),player->getReflectionMask(),1);

  otherwise the viewport mask won't work

thanks

Posted

Hi,

 

I'm afraid this is not a bug. There is no player in Render and there is no possibility to pass player parameters inside renderImage2D. Could you please describe more precise what you want to achieve?

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

we need using the renderimage2d with all viewport mask and reflection mask feature.

Posted

Hi does the widgetspriteviewport support customize viewpoer size like the way renderimage2d does?

Posted

Hello!

 

Yup, use setTextureWidth and setTextureHeight for texture resolution. Also, you're able to pass physical width and height of viewport in its constructor.

×
×
  • Create New...