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 - GSystem

Pages: [1]
1
[Max] I need help! / Re: CoronaMtl>Standard?
« on: Yesterday at 00:49:12 »
I apologize for resuscitating an old topic. A few days ago I needed to convert a lot of files from Corona to Standard and I was looking for any information about what methods there are for this. I tried some free scripts, but I was not satisfied with the result. As a result, I came across this old topic, but the UMC listed here turned out to be very expensive for me, so I began to search further and finally found a tool that completely satisfied me, although it is also paid, but costs much less than UMC. Just want to tell other people who will be looking for such a tool to also consider a tool called V-RayMax Converter Pro, https://maxtools.3dzver.ru/vmcpro or https://www.scriptspot.com/3ds-max/scripts/v-raymax-converter-pro


Thanks for the info about this tool!
I was also looking for a long time for some tool to convert Corona to standard and found your info about V-RayMax Converter Pro.

By the way, this tool not only converts from corona to standard, but can also convert from vray to corona, and it does some things even better than the built-in corona converter.
for example, only with it I was able to convert the VrayUvwRandomizer map to CoronaMappingRandomizer.
I'm glad you found this info useful! This is truly the best converter today, I only use it now :)

2
[Max] I need help! / Re: CoronaMtl>Standard?
« on: 2024-04-11, 18:06:10 »
I apologize for resuscitating an old topic. A few days ago I needed to convert a lot of files from Corona to Standard and I was looking for any information about what methods there are for this. I tried some free scripts, but I was not satisfied with the result. As a result, I came across this old topic, but the UMC listed here turned out to be very expensive for me, so I began to search further and finally found a tool that completely satisfied me, although it is also paid, but costs much less than UMC. Just want to tell other people who will be looking for such a tool to also consider a tool called V-RayMax Converter Pro, https://maxtools.3dzver.ru/vmcpro or https://www.scriptspot.com/3ds-max/scripts/v-raymax-converter-pro

3
Hi,

Each .cgeo file has a readable header. If you simply open it with Notepad, you will see e.g.:

CV 
Corona Renderer Proxy file.
This file contains an animated Mesh object.
This file is BINARY.
Version: 7
Date created: 2019-03-19 14:15:00
Number of faces: 44998
Number of vertices: 38496
Number of mapping channels: 2
Number of normals: 53710
Number of hair: 0
Bounding box size (original units) : 0.166863 0.145909 0.382361
Bounding box size (millimeters) : 166.863 145.909 382.361
Original material name: Material #2126367930
Original object name: GrowFX06
Animation snapshot count: 1
Time per animation snapshot [microseconds]: 40000
Animation time start: 4000000
Scale: 0.001
Compressed: True

and the binary code.

Animation snapshot count: higher than 1 means that the proxy is animated.

Hope this helps.

Hello, Aram.

Thanks for the answer.
Yes, I know that the proxy file has a plain text header, but in order to read it, you need to open each file in a text editor, which is not very convenient. Therefore, I want to write a script that would get data from each proxy file in the specified folder (there are more than 500 of them in this folder) from the "Animation snapshot count" line and, depending on the number of frames, move the file to a specific folder. I don't know how to read plain text (stringstream) from a binary file. Is there some maxscript function to do this?

4
Hello.
I'm looking for a way to read data from a proxy file .cgeo via maxscript without having to load it into 3ds Max. Rather, I need to get information about the number of frames from the file in order to find out whether this proxy is animated or not. I have a large library of proxy files and I want to sort it so that animated proxies are separated from static ones.
Is there some way to get this information from a property "Animation snapshot count" in the proxy file? Maybe using C# or .NET?
I will be grateful for any help.

5
Thanks for the answer, Rowan. I'll wait for this to be fixed.

6
Hmm... None of the Corona developers who read my post know the answer to my question. It is sad...

7
To help troubleshoot this issue, it would be helpful to have more information about your specific use case and material setup.

1. Can you tell me more about what you are trying to achieve with this script?
2. How are you using the CoronaColorCorrect map in your material setup?
3. Are you using Corona 9 or a more recent version which is Corona 9 HF 1?
4. What version of 3ds Max are you using?

I apologize for the delay in reply.

1. I can't tell anything special about the script. This is a simple script that should just clear the "copiedMap" property, but instead I get the error I wrote above. If you just click on the slot with the map and select <NONE> in the Material/Map Browser, then it works and the slot is cleared and "copiedMap" property becomes "undefined", but if you try to do it through maxscript, you get an error. As far as I understand in maxscripts (and I understand enough), then assigning the value "undefined" to a property intended to refer to a texture map should not cause an error.
2. There is nothing supernatural in the map settings. This is a regular CoronaLegacy material and a regular CoronaColorCorrect map (Map #1), with another CoronaColorCorrect map (Map #2) from which the color correction settings are taken (see screenshot below).
3. Corona 9 (hotfix 1)
4. 3ds Max 2023.2.2 Update

8
I'm trying to remove a map from the "copiedMap" property in the "CoronaColorCorrect" map (version 9) via maxscript with this line:
Code: [Select]
sourceMap.copiedMap=undefinedbut I get an error:
Code: [Select]
-- Runtime error: Invalid value for property: undefinedWhat could be the problem and how to solve it?
Thanks.

9
Meanwhile (newest additions missing):

https://web.archive.org/web/20210613082652/https://wiki.corona-renderer.com/maxscript#example_scripts


Good Luck
Thank you!
But it's a pity that without the latest updates((

10
[Max] I need help! / wiki/maxscript = "no healthy upstream"
« on: 2022-09-23, 15:16:44 »
Hi all!
Can anyone tell me why the Maxscript Reference https://corona-renderer.com/wiki/maxscript might not be available?
When I try to open this link, I get the message "no healthy upstream". Any other links to maxscript documentation for Corona?

Pages: [1]