 ArchAngel Guest |
Quote
|
2025-01-26 23:57:41 |
|
Hey, guys im currently underway working on an extension for vr, and im making some real progress. But i im having an issue because im trying to find a way to render the entire scene as a texture and then send those textures to a file. i currently have two cube nodes that the textures will be rendered on then sent to a file. I have already made an extension that is accomplishing this but its only sending the cube nodes texture. And i tried using the camera's texure but they apparently dont have any. any ideas?
|
 okeoke Registered User |
Quote
|
2025-01-27 08:51:49 |
|
Have you tried ccbSaveTexture something that you're looking for?
https://www.ambiera.com/coppercube/doc/cnt_javascriptref.htmlPUT_HASH_HEREccbSaveTexture
|
 guest_guest Guest |
Quote
|
2025-01-27 09:58:27 |
|
???
https://vazahat.itch.io/screen-shaders
|
 just_in_case Moderator |
Quote
|
2025-01-27 12:07:25 |
|
ccbRenderToTexture() Commands might not work properly with the SaveTexture command. It's probably because the RTT texture gets removed in the same command to prevent memory overflow. You need to edit the source code or use custom binaries that will save the RTT texture and let it stay in the memory, or customize it so that it will save the rendered texture onto the disk, every time it renders it. Be sure to do memory management if you are going to customize the RTT command.
Edit:- you can simply use the command ccbSaveScreenshot() in order to save the screenshot that is equivalent to RTT, if you want. In case of multiple camera views, you need to switch the camera and capture screenshot.
|
 ArchAngel Guest |
Quote
|
2025-01-27 19:18:30 |
|
Hey, thanks all of you! With your help I was able to get it down packed. Will make more posts as it’s developed.
|