GPUOpen-LibrariesAndSDKs / RadeonProRender-Baikal

MIT License
334 stars 78 forks source link

RPR Tutorials #128

Open SimonDanisch opened 6 years ago

SimonDanisch commented 6 years ago

BAIKAL_ENABLE_RPR generates RadeonProRender API implemenatiton C-library and couple of RPR tutorials

I can't find those tutorials after building with BAIKAL_ENABLE_RPR. The RPR dll is there, though!

SimonDanisch commented 6 years ago

How can i tell rprCreateContext to run on platform 1 as with the Baikal standalone? CREATION_FLAGS_ENABLE_GPU1 is for multi GPUs and unimplemented, and not for the platform (I have both intel onboard and a discrete gpu, and platform 0, the default it seems, selects the intel one. Now when I try rprContextCreateFramebufferFromGLTexture2D things segfault, and I suppose that's because it's tries to interop with the intel context, while I create my opengl window on the discrete gpu?

SimonDanisch commented 6 years ago

bump :)

SimonDanisch commented 6 years ago

bump! This should not be hard to answer, no? Would tremendously help me with making Baikal work for scientific plotting!

yozhijk commented 6 years ago

Hi @SimonDanisch ,

Sorry for the extremely long delay. I believe RPR API wrapper does not support this at the moment. Unfortunately we are currently a bit busy with other projects, so we will get to that post-Siggraph. Feel free to contribute if you want that sooner though (this should be relatively straightforward to implement since Baikal supports all necessary stuff internally, it is just a matter of using it in RPR wrapper.

SimonDanisch commented 6 years ago

Thank you - I will see if I find some time! Good luck with Siggraph!

voidRaptor commented 6 years ago

@SimonDanisch Did you find those tutorials? I'm still struggling to find them myself and those tutorials would be quite a help...

SimonDanisch commented 6 years ago

haven't really looked into it since :(

yozhijk commented 6 years ago

Implemented here: https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal/commit/52fac17f7d021ccd9f4d879d72310698a1aecba0