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 - James Vella

Pages: [1] 2 3 ... 37
1
Thank you.
It's a very accurate function for me.
I wish you all the best. Thank you!!!

Glad to hear it LeeHoYo

2
Here let me thank you again James for this awesome script. I use it all the time, not only for vegetation, but every time I have to batch color correct materials, it's a fantastic time saver, thanks again! 🙏🏻

You're welcome Tom. Ah yeah in hindsight I probably should have just kept it as "Additional Tools' instead of Vegetation tools or something, can be easy to overlook if you dont know what the script is for.

3
Not sure if I understand exactly, but maybe this could help.

In the Vegetation Tools -> Diffuse Color Correct you can color correct multiple materials at once using the one Color Correct node.

Corona Randomizer Script:
https://forum.corona-renderer.com/index.php?topic=41387.75

4
Well I dont know how to access the UI but you can use this instead, select a light and run this script, it will give you a messagebox with the Light Select Elements name:

Code: [Select]
-- Struct to hold LightSelect Element and Lights associated to that Element
struct LightMixData
(
elementName,
lights
)

-- Add the Lights & Elements to the Struct
lightMixTable = #()
for i in getclassinstances CShading_LightSelect do
(
lightMixEntry = LightMixData()
lightMixEntry.elementName = i.name
lightMixEntry.lights = i.includedNodes
append lightMixTable lightMixEntry
)

-- Messagebox to show user the light element for selected light
fn ShowMessageForSelectedLight =
(
    -- Get the currently selected nodes
    selectedNodes = getCurrentSelection()
    if selectedNodes.count == 0 then exit
   
    for node in selectedNodes do
    (
        if isKindOf node Light do
        (
            elementName = for entry in lightMixTable where findItem entry.lights node != 0 collect entry.elementName
           
            if elementName.count > 0 then
                messageBox ("Element Name: " + elementName[1] + "\nLight Name: " + node.name)
            else
                messageBox("Element Name not found for: " + node.name)
        )
    )
)

-- Run Main Function
ShowMessageForSelectedLight()

Edit:
I think access to Lightmix via maxscript is currently in development (by user request). Once this is rolled out we should have access directly to the value/color in the lightmix which would be great because we can extend this script and build a little UI so when you select a light you can directly change properties in the lightmix as needed.

5
You can reference this post about the lightmix, which has valuable information on scripting the lightmix:
https://forum.corona-renderer.com/index.php?topic=32697.0

From that post I put this together for you, you can also use more loops to do other stuff but the basics are here. Its a bit quick so you can clean it up for your use but you should get the point:

Code: [Select]
coronaLights = #()
for i in getclassinstances CShading_LightSelect do
(
    -- Adds array, eg Light_Select 2 might have 3 lights, etc.
    append coronaLights i.includedNodes
)

-- select the light in the first Light_Select - 1 light in this array
select coronaLights[1][1]

Also if you want to select all the lights in say Light_Select 2, remove the last line (select coronaLights[1][1]) and use this instead:

Code: [Select]
--select the lights in the second Light_Select - 2 or more lights in this array
lightSel = for j in coronaLights[2] collect j
select lightSel

Or just have it do multiple for loops, like for i in coronaLights for j in i etc..

6
I thought that main benefit of proxies is exactly to reduce file size and load/save times.

That was my thinking. Doesnt Vray proxies make the scene load/save faster?

7
[C4D] I need help! / Re: Help with refraction please
« on: 2024-05-08, 11:26:27 »
Does the glass have thickness? If its just a 1 sided piece of geometry you need to use thin-shell in the material. Or just 'shell' the geometry, whatever the equivalent is in c4d.

8
[Max] Feature Requests / Re: AI Post processing
« on: 2024-05-03, 19:10:56 »
I was watching a video today about AI in rendering, lots of cool things on the way by the looks of it. (AI at 2:40)

t=154

9
Off-Topic / Re: Any experience with EnvisionVR
« on: 2024-04-30, 10:30:59 »
Looks like Bertrand had one of his 3D scenes done with Enviz (previously EnvisionVR). He has an article about the experience.

https://bertrand-benoit.com/blog/enviz-your-3d/


10
[C4D] I need help! / Re: Corona VFB vs Picture Viewer
« on: 2024-04-25, 12:56:56 »
Ah I see so its the M1 Studio. Then yeah you are right about 2x faster.

Maybe have a read through the threadripper thread, I remember someone saying they turned something off in bios or something. Could be related. Im just guessing until someone else can chime in.

11
[C4D] I need help! / Re: Corona VFB vs Picture Viewer
« on: 2024-04-25, 10:59:34 »
From that benchmark the Mac is almost 3x faster.

I assume you are rendering the same scene, do you get any RAM warnings on your machine?

Regarding the speed from VFB vs PV no idea about that, someone else might have some knowledge to share.

12
[C4D] I need help! / Re: Corona VFB vs Picture Viewer
« on: 2024-04-25, 10:26:47 »
Have you checked the Corona Benchmark scores? There is a few different Mac Studios to compare from but here is the M2 Ultra with 64gb ram.


13
I could be misinterpreting what you want but you can also just render the viewport if that looks exactly how you want to show your client

+ In top left viewport > Create preview > etc


14
Learner’s Corner / Re: Lack realism/photorealism
« on: 2024-03-20, 18:33:26 »
Yep I think you are correct, its far too low when you cant see the table top.

And yes sometimes when you have a high ceiling you have to deviate a little or pull the camera back to capture more. One of the things ive noticed when working closely with photographers is that we often cheat and pull the camera 2-3 meters back through the wall with clipping to show the ceiling, which is a bit unfair for the customer since they get an unrealistic view of the space but it does tend to sell well... Im not in the marketing game but I have some understanding of their requirements lol.

15
Learner’s Corner / Re: Lack realism/photorealism
« on: 2024-03-20, 15:29:50 »
Camera height is a game changer too, you set the camera at the eye level of a gnome, from this height almost no one will see these objects, so looking at these shots it seems as if something is wrong there. Try putting it on human eyes level, like 150-160cm, and if necessary - lower the camera target and apply "vertical tilt" on the camera, it will compensate perspective distortion.

While true, too low can be a problem. 150cm is far too high in most cases. Ive worked on site with photographers doing architectural shoots and typical height is between 110-120cm for a nice interior photograph. Sure you can deviate but just giving my 2c.

Pages: [1] 2 3 ... 37