Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JPeters

Pages: 1 [2] 3 4 ... 6
16
[C4D] I need help! / Re: Python remove render region in VFB
« on: 2022-10-10, 10:10:49 »
Hi Ales,

Just a quick update, I got it to work in my plugin as well now, thanks again for the help!

17
[C4D] I need help! / Re: Python remove render region in VFB
« on: 2022-10-05, 08:51:46 »
Hi Ales,

Thanks a ton for the pointer, it's weird because I had a similar code that didn't seem to work:

Code: [Select]
CORONA = 1030480    #Declaring Corona render for GetVideoPost function

    def getCoronaRenderSettings(rdata):    #Courtesy of mmarcotic, check if Corona is the actual video post
        videopost = rdata.GetFirstVideoPost()
        while videopost:
            if videopost.GetType() == CORONA:
                return videopost
            videopost = videopost.GetNext()

    rdata = doc.GetActiveRenderData()
    rpost = getCoronaRenderSettings(rdata)

    rpost[c4d.CORONA_SETTINGS_RENDER_REGION_ENABLED] = False

    c4d.StopAllThreads()
    doc.InsertRenderDataLast(rdata)
    doc.SetActiveRenderData(rdata)
    c4d.EventAdd()   



But I guess my error was that I applied it to the render post and render data, not the actual video post.
I will try your code instead, let's see!

Cheers,

18
[C4D] I need help! / Python remove render region in VFB
« on: 2022-10-03, 16:08:07 »
Hi guys,

For an in-house tool/plugin I'd like to be able to remove the Corona VFB render region selection if it's enabled.
In the vprendersettings.h I've found the following two calls which seem to be for this purpose:
CORONA_SETTINGS_RENDER_REGION         = 3024,
CORONA_SETTINGS_RENDER_REGION_ENABLED = 3025,


When I try to apply these to the render post however, nothing happens.

What am I missing? Any pointers on how I can achieve a disabling/deletion of the render region in a file via Python?

Cheers,

19
[C4D] I need help! / Re: How to reduce Rendertime
« on: 2022-07-27, 15:54:22 »
Also, check that you are not using a needlessly small displacement setting (World Size), that causes a lot of memory hogging.

20
[C4D] I need help! / Re: One model with multiple UV sets
« on: 2022-07-27, 08:41:27 »
No one?


21
[C4D] I need help! / Re: Weird Shadow artifact
« on: 2022-07-25, 13:15:08 »
CAD models are generally a pain to work with and this kind of artifact is actually quite common.

Some things that might help:
- Messing around with the phong tag (for instance disabling angle limit)
- Messing around with the normals tag (for instance deleting it)
- Importing with a higher resolution (so shorter max length).

That being said, usually it can be fixed with the above but some CAD models are simply broken and beyond repair. If you can, ask the person who exported the original STEP mesh for you to export it again with different settings.

22
[C4D] I need help! / One model with multiple UV sets
« on: 2022-07-22, 15:40:39 »
Hi there,

I've got a question related to multiple UV sets on a model, in this case combined with corona hair.
On the cheetah model I've made, I've got two UV sets:
1) "HD" set with 8 UDIM's for high resolution displacement and texturing on the skin and potentially the color of the fur.
2) "SD" set with 1 one UDIM specifically for grooming purposes, so for the kink, fizz etc. maps.
These tags are both on the model, HD first and SD second.

I want the maps in my corona hair material to look at the 2nd "SD" UV set, not the primary "HD" set. I thought that I needed to go into the Corona Bitmap material, enable "Override UVW" and then set the "UVW channel" to 1 (1 being the second UV tag, 0 being the first).
This does not seem to work as expected. If I set "UVW channel" to 0, it uses the HD UV's but setting it to 1 doesn't use the SD UV's.

My question is, is it possible to use multiple UV sets like this and if so, how? The description under the FAQ for Corona Bitmap is very sparse and does not explain these parameters.

Cheers,

23
[C4D] Resolved Bugs / Re: V8. Volume Grid crashes C4D
« on: 2022-07-22, 08:39:54 »
We have the same issue more or less.

C4D R25
Corona 8 Hotfix 1 (and final as well)

We can load a VDB file file, make a scene with it, change the material around etc.
Then, when we save the file and close the scene it crashes when we try to re-open the file we just saved.

The weird thing is, if we save it right after importing the VDB it seems to load fine, but once we go about tweaking it a bit (materials, possibly positional keyframes etc.) it crashes on trying to re-open the file.

We are loading the VDB files from the network, I'll try putting it on my desktop to see if that works.

Edit: It would seem that it works when I put the VDB files on the desktop, but it crashes when the VDB files are on the network. Perhaps investigate this tangent further internally?

Edit2: When the VDB file is on the desktop, when we try to render the scene on our internal Web-Based-Interface render farm, *all* render clients crash because they obviously don't have the VDB file on the desktop.

Hi there, where is the VDB being downloaded from? Can you please send us a support ticket using the link in my signature below? Please add as much info as possible and even a scene that we can test out. That would be great! ;)

I've sent a support ticket with the forum title thread as subject, it has a C4D file and also the download link for the VDB.

Cheers!

24
[C4D] Resolved Bugs / Re: V8. Volume Grid crashes C4D
« on: 2022-07-20, 16:26:09 »
We have the same issue more or less.

C4D R25
Corona 8 Hotfix 1 (and final as well)

We can load a VDB file file, make a scene with it, change the material around etc.
Then, when we save the file and close the scene it crashes when we try to re-open the file we just saved.

The weird thing is, if we save it right after importing the VDB it seems to load fine, but once we go about tweaking it a bit (materials, possibly positional keyframes etc.) it crashes on trying to re-open the file.

We are loading the VDB files from the network, I'll try putting it on my desktop to see if that works.

Edit: It would seem that it works when I put the VDB files on the desktop, but it crashes when the VDB files are on the network. Perhaps investigate this tangent further internally?

Edit2: When the VDB file is on the desktop, when we try to render the scene on our internal Web-Based-Interface render farm, *all* render clients crash because they obviously don't have the VDB file on the desktop.

25
Hi Beanzvision,

Thank you very much for confirming, looking forward to a fix in the future!

26
Hi Tom,

Attached is a scene.

Some more info, with RC I meant the final release, but we've tested it on Hotfix 1 now as well. The problem still persists.
If you have just the floor in the scene, it renders a certain way with a certain distribution of textures.
Then if we create a simple cube, the entire distribution on the cloner changes even though the cube is not part of the cloner.

We also tried putting the floor at the top of the hierarchy and the cube below it, no difference, distribution still changes in all cases except when you put the cloner on instance instead of render instance, then the distribution remains the same. (found that one in the link Aler posted).
That being said, this workaround is only useful if your scene has 1 cloner, as soon as you have more cloners this trick doesn't work anymore.

Hope this helps, please keep me posted.

Cheers,

27
Hi there,

A colleague of mine asked me to bring this to you attention.
It appears that the UVW Randomizer Shader [UVW Randomizer] changes the distribution every time you render or open the scene, this gives inconsistencies between the material approved by the client and the final renders afterwards.

Is this a bug or a feature? We'd expect the distribution to remain the same until you change the seed number.

Cinema R25
Corona 8 (tested in RC, not Hotfix 1)

Kind regards,

28
Aaaaah, thanks a million!

Yeah it would be nice if it was clearer how to use some of these. As I said it's quite obvious with lights and materials but stuff like this is a bit more......technical....

29
Hi there,

Got a quick question, in the plugin directory=>corona=>res=>description=> are a lot of .h files that contain useful synstaxes.

Let's say that from the "prefscorona.h" I'd want to use the synstax "PREF_CORONA_CORE_VERSION".

How do I actually write that in code in the script editor to use it?

c4d[PREF_CORONA_CORE_VERSION] doesn't work
c4d.[PREF_CORONA_CORE_VERSION] doesn't work
[PREF_CORONA_CORE_VERSION] doesn't work
etc.

Normally I would use these kinds of syntaxes on an actual object, so on for instance a corona light object to get the intensity.
But for the life of me I don't know on what kind of object to apply this syntax.....

Cheers,

30
It would seem this bug has not been addressed in Hotfix 1?

When can we expect a fix on it as it causes a lot of extra work for our artists to do workarounds.

Pages: 1 [2] 3 4 ... 6