GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
485 stars 57 forks source link

any updates on uv map baking texture :( #570

Closed xalteropsx closed 1 year ago

xalteropsx commented 1 year ago

can u plz provide any tutorial where multiple uv map bakes i really love to see how do we do in amd radeon i wonder i saw some notes in recent changes that it has supporting on UV Lookup nodes

bsavery commented 1 year ago

No sorry

xalteropsx commented 1 year ago

No sorry

i want to develop game in unreal engine 5 i hope u can do something about baking system i really waiting for so long

bnagirniak commented 1 year ago

Thanks for report, we'll investigate what we can do with this issue.

xalteropsx commented 1 year ago

nvidia has this blender omniverse which bake all texture in 1min less https://github.com/NVIDIA-Omniverse/Blender-Addon-OmniPanel image

bsavery commented 1 year ago

Hi @xalteropsx Can you describe what exactly you want here? It's very unclear.

RPR has the ability to bake textures to a node, as that addon you pointed to does about the same thing. It looks like they have some ability to create new UV layers.

For the record that one you're pointing to just bakes through cycles though? If that works why not just use that?

bsavery commented 1 year ago

(Cycles on AMD will use the HIP backend to bake.)

xalteropsx commented 1 year ago

rx 580 amd dont support HIP in blender i plan to buy after 2-4month to new amd gpu but i want to use two gpu to speed up

the problem with RPR has the ability to bake textures to a node, it bake only 1 single object but their are multiple object inside uv layer but when they bake they go in Baking below image @bsavery

xalteropsx commented 1 year ago

image this is how two object go in 1 uv map layer that the problem with rpr it cant do this part

like multiple uv layer are assign to 1 uv bake map

in short blade - uvmap existed> assign after bake go to >baking map handle -uvmap existed>assign after bake go to > baking map

this how separate object bake work like multiple entity go to 1single entity after transform

xalteropsx commented 1 year ago

that why the cycle are been created to make them bake all together in single click which come in form of node image = get_image_from_tag("displacement", obj name) i believe if u made some bake system like nvidia blender omniverse does have why they created it cause they want to get more advantage of their software support just like u can use ur rpr to provide more better support then it

xalteropsx commented 1 year ago

@bnagirniak image plz help if need further view i can reproduce the video plz let me know

xalteropsx commented 1 year ago

image

rpr(gpu load) bake speed 2-5/15sec / cycle bake(cpu load) speed 5/30min @bsavery

bsavery commented 1 year ago

The baking in RPR is just using Cycles under the hood to do the baking, not with RPR itself on the GPU.

xalteropsx commented 1 year ago

is their no hopes :( also if i buy rx 7900 xtx what it baking speed will be ?

bsavery commented 1 year ago

My guess is the bake is happening fast due to the settings that are used for it. If you take a look at this code: https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderBlenderAddon/blob/cd293f9ce5f160e199db51ffa5c824a345f0d5f9/src/rprblender/operators/nodes.py#L72

This is where the baking function happens. We switch to Cycles render to perform the bake, and create an emit node, hook up the output of the node, etc. Then switches back to RPR after.

I think I understand what you want though. Can you upload that scene you showed above so I can work off that? It's not a huge priority on our side but we can help perhaps

xalteropsx commented 1 year ago

@bsavery sorry for late reply got high fever xxe here axe and blade i dont know why rpr only showing on handle not on blade but i think it show difference i set the sampling from 200 to 10 in cycle still it cant beat rpr baking speed

bsavery commented 1 year ago

So can you also give the example of what this should look like AFTER baking? Thanks?

xalteropsx commented 1 year ago

@bsavery https://youtu.be/HoU-CX1ShOk i made a small video 1st bake on cycle and second bake on rpr
this is the file for this video https://drive.google.com/file/d/1qbzM--hRNhMeRPQU9iGBdCqNxo9rFYra/view?usp=sharing

xalteropsx commented 1 year ago

bought rx 7900 xtx ^>^